cool-easter-32542
02/27/2024, 1:14 AMskip_ruff field, e.g. python_sources(skip_ruff=True), on a target seems to skip both linting and formatting, but a user might want to only skip one. This is the skip-field version of #20545.
Describe the solution you'd like
Two separate skip fields, for the separate pants.backend.experimental.python.lint.ruff.check and pants.backend.experimental.python.lint.ruff.format backends/functionality:
python_sources(
skip_ruff_format=True,
skip_ruff_check=True,
)
Describe alternatives you've considered
N/A
Additional context
It might be nice to ship this in 2.20 if we can get to it soon, but probably not critical.
pantsbuild/pantscool-easter-32542
02/29/2024, 8:57 PM