We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2e2897 commit 51c3354Copy full SHA for 51c3354
src/python/pants/backend/experimental/python/lint/ruff/register.py
@@ -6,8 +6,14 @@
6
See https://www.pantsbuild.org/docs/python-linters-and-formatters and https://docs.astral.sh/ruff/
7
"""
8
9
+from pants.base.deprecated import warn_or_error
10
from pants.backend.experimental.python.lint.ruff.check import register as ruff_check_rules
11
12
13
def rules():
14
+ warn_or_error(
15
+ "2.22.0",
16
+ "using the `pants.backend.experimental.python.lint.ruff` backend",
17
+ hint="Use `pants.backend.experimental.python.lint.ruff.check` instead.",
18
+ )
19
return ruff_check_rules.rules()
0 commit comments