https://pantsbuild.org/ logo
m

melodic-thailand-99227

11/01/2021, 10:27 AM
Is there a build formatting tool, like gofmt / black for pants?
c

curved-television-6568

11/01/2021, 10:38 AM
There is a formatting step in the new
update-build-files
goal, that applies black to your BUILD files: https://www.pantsbuild.org/v2.8/docs/reference-update-build-files#section-fmt
New in the 2.8 series..