hundreds-father-404
04/28/2020, 4:54 PMpants.ini
, then run ./pants
, ./pants list :: > /dev/null
, and ./pants filedeps :: > /dev/null
to see if there are any deprecations.
You don’t need to have a separate pull request for each version bump, of course; you can combine them all into one pull request. But, changing it incrementally will make for a much smoother upgrade../pants
script by running curl -L -O <https://pantsbuild.github.io/setup/pants>
. In 1.15.x, we added support for running Pants with Python 3 (which results in a 15% speedup). You need to update the script so that it knows how to use Python 3../pants fmt example.py
, instead of needing to use address arguments like :example
. Pants will figure out the right thing to do. If using the V2 Python implementation, Pants will only run on that specified file, rather than the entire owning target.
* Added support for Flake8, Pylint, Bandit, Black, and Docformatter.
* Better output for ./pants goals
, ./pants help
, and ./pants target-types
.
* Simpler sources
field in BUILD files. There’s no more globs()
and rglobs()
. Now, it’s just ['*.py', '!ignore.py']
, where the !
means to exclude the glob.
* Support for pants.toml
instead of pants.ini
, which removes a lot of gotchas and makes it easier to edit the config file.big-baker-75091
05/14/2020, 10:42 AM