Skip to content

Commit a2e2897

Browse files
Re-register check rules at root
1 parent b8dc294 commit a2e2897

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -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

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md).
2+
# Licensed under the Apache License, Version 2.0 (see LICENSE).
3+
4+
"""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

Comments
 (0)