By default, does running `./pants fix` run formatt...
# general
c
By default, does running
./pants fix
run formatters that would’ve been invoked via
./pants fmt
? Another way to ask the question: if I first run
./pants fix
, will running
./pants fmt
afterwards be a no-op?
1
b
Yup!
fix
is a superset of
fmt
And it does the right ordering (all fixers before formatters)
As far as the no-op question: Not a no-op per se. If one tool does make change, as does a second one later, the cache entry for the first tool run is no longer "hot". So it would re-run on a subsequent run.
c
This answers my question 🙂 thanks!