Skip to main content
Version: 2.21 (deprecated)

build-deprecations-fixer


A tool/plugin for fixing BUILD file deprecations (where possible).

This includes deprecations for:

  • Renamed targets
  • Renamed fields

Backend: pants.backend.build_files.fix.deprecations

Config section: [build-deprecations-fixer]

Basic options

skip

--[no-]build-deprecations-fixer-skip
PANTS_BUILD_DEPRECATIONS_FIXER_SKIP
pants.toml
[build-deprecations-fixer]
skip = <bool>
default: False

If true, don't use BUILD Deprecations Fixer when running pants fix.

Advanced options

None

Deprecated options

None

None