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.23/docs/releases/upgrade-tips for upgrade tips.
Backend: pants.core
Config section: [update-build-files]