12/26/2021, 6:24 AM
Does pants have caching for black/isort? Running this command twice
./pants fmt --changed-since=origin/master
results in the same runtime
It’s not deterministic 😕


12/26/2021, 7:27 AM
fmt modifies the source files, so are you resetting the state of the files between two runs and seeing different output?
Or are you saying that running fmt twice without resetting in-between gives inconsistent results?
If you have two formatters (black and isort) and they're configured in some way that they don't agree on what a correctly formatted file is then they will change each other's output and that can pingpong