https://pantsbuild.org/ logo
p

proud-dentist-22844

05/12/2021, 8:15 AM
🎉 I got pylint running reasonably well under pants for https://github.com/st2sandbox/st2/tree/pants So,
./pants lint ::
runs black, flake8, and pylint on the appropriate files now and it completes in a reasonable amount of time (pylint takes a couple minutes) Next step "Set up tests": https://www.pantsbuild.org/v2.5/docs/existing-repositories#3-set-up-tests
h

hundreds-father-404

05/12/2021, 8:28 AM
Yay!! Btw, you can save a bunch of time when iterating locally by using
./pants --changed-since=HEAD fmt
and that same command with
lint
. Then in CI, do the full
./pants lint ::
👍 1
7 Views