pants seems to be passing different arguments to `...
# general
e
pants seems to be passing different arguments to
isort
depending on if I use
lint
or
fmt
goal. I have a number of files that are failing isort when I run
pants lint ::
(No specific errors are printed, just a list of files) Then when I run
pants fmt ::
it tells me that isort passes successfully. Any idea how to debug this?
b
Heya, sorry for the trouble. I’m guessing this may be https://github.com/pantsbuild/pants/issues/15069 A good debugging technique with pants is to use https://www.pantsbuild.org/2.21/docs/using-pants/troubleshooting-common-issues#debug-tip-inspect-the-sandbox-with---keep-sandboxes to look at the sandboxes and thus strip away the pants layer entirely.