The Pants Python source code lint tool.
Project description
Pants is an Apache2 licensed build tool written in Python.
The latest documentation can be found at pantsbuild.
1.24.x Stable Releases
This document describes releases leading up to the 1.24.x stable series.
1.24.0rc1 (01/08/2020)
Bugfixes
Refactoring, Improvements, and Tooling
[IntelliJ] Export only modulizable targets when in export-dep-as-jar (#8812) PR #8812
1.24.0rc0 (12/19/2019)
API Changes
Upgrade fasteners (#8826) PR #8826
Separate v1/v2 backend and plugin registration (#8817) PR #8817
Deprecate old style of passthrough args for isort, Pytest, and MyPy (#8842) PR #8842
Deprecate passthrough args for ./pants login (#8843) PR #8843
Upgrade ansicolors to 1.1.8 (#8839) PR #8839
Add new MyPy subsystem and deprecate –lint-mypy-config-file and –lint-mypy-version (#8829) PR #8829
Deprecate unused global –timeout option (#8805) PR #8805
New Features
Bugfixes
Fix V2 formatters failing when formatting the same file (#8823) Issue #8722 PR #8823
V2 console UI: fix bug with InteractiveProcessRequest (#8833) PR #8833
Fix terminal display with v2 UI (#8821) PR #8821
move the subdirectory for exception logs to .pids/ (#8511) PR #8511
Refactoring, Improvements, and Tooling
Use rule-author-supplied description for UI (#8846) PR #8846
Change signature of store_dict extern (#8844) PR #8844
Use f-strings on src/python/pants/option (#8837) PR #8837
Convert src/python/pants/backend/jvm to use f-strings (#8703) PR #8703
Update itertools to 0.8.2 (#8840) PR #8840
Port ./pants generate-pants-ini to V2 (#8830) PR #8830
Improve output of ./pants help (#8820) PR #8820
A rule to produce a Distdir product. (#8831) PR #8831
Typecheck rules/core, testutil/engine/util.py, and 30 more files (#8824) PR #8824
Refactor help (#8816) PR #8816
1.24.0.dev3 (12/13/2019)
API Changes
New Features
Bugfixes
Fix V2 binary to work with multiple targets (#8781) PR #8781
Fix graph ambiguity of using multiple linters/formatters in V2 (#8801) Issue #8722 PR #8801
Fix registration of unions that are split across multiple backends (#8810) PR #8810
Fix enginedisplay printing (#8799) PR #8799
Add cherry-picked commit to 1.23.0 (#8804) PR #8804
Version changes should invalidate pytest runs. (#8790) PR #8790
Fix pantsbuild wheel publishing. (#8782) PR #8782
Revert “Upgrade to Pex 2.0.3. (#8704)” (#8787) PR #8704 PR #8787
Add parent-build-id option to know what runs are inner runs and not to run them with pantsd (#8724) PR #8724
Refactoring, Improvements, and Tooling
A rule to create a pex from a target closure. (#8811) PR #8811
V2 console UI: Logging improvements (#8806) PR #8806
Rework Goal.Options so that V2 goals work with MyPy (#8742) PR #8742
Fix V2 linters needing to implement a formatter no-op (#8795) PR #8795
[IntelliJ] Refactor some code in export-dep-as-jar goal (#8792) PR #8792
Load the bootstrapped zinc compiler from the zinc server’s classpath. (#8753) PR #8753
Curl in release script fails much more verbosely (#8780) PR #8780
This test has been flaky far too long. (#8788) PR #8788
[V2 UI] Pipe Python-side Console to the engine when –v2-ui is set (#8771) PR #8771
Prep for 1.23.0 (#8785) PR #8785
Cleanup type ignore. (#8777) PR #8777
Remove deprecated ./pants mypy in favor of ./pants lint.mypy (#8773) PR #8773
1.24.0.dev2 (12/08/2019)
API Changes
New Features
Add fast-depedencies V2 rule (#8759) PR #8759
Bugfixes
Refactoring, Improvements, and Tooling
Bump test_pytest_run.py timeout. (#8778) PR #8778
Upgrade to Pex 2.0.3. (#8704) PR #8704
Deprecate –dependencies-external-only and the default including external dependencies (#8763) PR #8763
Update reqwests dependency to 0.9.22 PR #8755
Simplify .travis.yml setup now that more shards can use remote execution (#8754) PR #8754
Fix internal unmatched globs warnings (#8735) PR #8735
Partially type check 300 more files (#8741) PR #8741
Documentation
Update “powered by” page. (#8761) PR #8761
1.24.0.dev1 (12/02/2019)
API Changes
Remove deprecated option mypy_version (#8751) PR #8751
Refactoring, Improvements, and Tooling
Add missing source file (#8737) PR #8737
1.24.0.dev0 (11/29/2019)
Note: This was not published due to infrastructure issues. dev1 is effectively identical.
API Changes
New Features
[IntelliJ] Export source jars of dependencies in export-dep-as-jar (#8723) PR #8723
Add available targets to the exported json in order to support proper highlighting in the BUILD files (#8688) PR #8688
Add –dep-as-jar option for idea-plugin (#8632) PR #8632
Add SchedulerSession.materialize_directory() for less boilerplate in V2 rules (#8709) PR #8709
[experimental] Add export-dep-as-jar task (#8628) PR #8628
Support publishing plugins that expose rules. (#8693) PR #8693
Allow @rule-authors to give rules names (#8592) PR #8592
Bugfixes
Fix unused variable breaking master branch (#8734) PR #8734
Don’t check that plugins are exact requirements. (#8721) PR #8721
Don’t choke on plugin requirements that are URLs. (#8708) PR #8708
Fix bug in create_html_page - undefined variable (#8700) PR #8700
No-op when V2 fmt, lint, and test have a target with empty sources (#8730) PR #8730
Refactoring, Improvements, and Tooling
Allow V2 isort to use multiple config files (#8731) PR #8731
Refactor V2 Black and isort for better de-duplication (#8732) PR #8732
Refactor fmt-v2 to use Workspace (#8691) PR #8691
add types to await Get[X](…)!! (#8697) PR #8697
Add V2 implementation of isort (#8689) PR #8689
Assign some names to rules (#8695) PR #8695
Convert contrib/confluence, contrib/thrifty, contrib/cpp, contrib/scrooge, contrib/scalajs to use f-strings (#8702) PR #8702
Add TestBase.request_single_product() for less boilerplate when writing V2 tests (#8698) PR #8698
Convert contrib/node and contrib/go to use f-strings. (#8699) PR #8699
Remove yielding @rules (#8652) PR #8652
Version updates
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pantsbuild.pants.contrib.python.checks.checker-1.24.0rc1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f75afe3e2ddcb99ef43ba3d59a60e7381cf0ed1226d57dfc86f07c073301c2 |
|
MD5 | e2c085b89672c5b76c00836cacf950e8 |
|
BLAKE2b-256 | ae728e86fe195771d7fe49144ac76a0ceb4b97938ea334c7198dba9ed6e183e8 |