I suppose I should have filed an issue for it...
# general
f
I suppose I should have filed an issue for it...
h
I recommend also pulling down Pants locally and running it with
./v2 --changed-since=HEAD fmt
to confirm thinks work before pushing to CI. See https://pants.readme.io/docs/contributor-setup for how to get set up
f
Alright...
h
Looks like part of it is a bug. Try
./v2 fmt src/python/pants/util/strutil.py
, then try
./v2 --no-v2-ui fmt src/python/pants/util/strutil.py
also relevant, I think, is line 266-267 of
fmt.py
. It explains why isort doesn’t get the newline, as all the isort results are == to
sorted_results[-1]
f
it'd be nice if the contributor setup offered advice on using
pyenv