We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8dc294 commit a2e2897Copy full SHA for a2e2897
src/python/pants/backend/experimental/python/lint/ruff/BUILD
@@ -0,0 +1,4 @@
1
+# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md).
2
+# Licensed under the Apache License, Version 2.0 (see LICENSE).
3
+
4
+python_sources()
src/python/pants/backend/experimental/python/lint/ruff/__init__.py
src/python/pants/backend/experimental/python/lint/ruff/register.py
@@ -0,0 +1,13 @@
+# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md).
+"""Linter & formatter for Python.
5
6
+See https://www.pantsbuild.org/docs/python-linters-and-formatters and https://docs.astral.sh/ruff/
7
+"""
8
9
+from pants.backend.experimental.python.lint.ruff.check import register as ruff_check_rules
10
11
12
+def rules():
13
+ return ruff_check_rules.rules()
0 commit comments