update-build-files
pants update-build-files [args]
Format and fix safe deprecations in BUILD files.
This does not handle the full Pants upgrade. You must still manually change pants_version
in pants.toml
and you may need to manually address some deprecations. See https://www.pantsbuild.org/2.20/docs/releases/upgrade-tips for upgrade tips.
This goal is run without arguments. It will run over all BUILD files in your project.
Backend: pants.core
Config section: [update-build-files]