Skip to content

Commit f4b1e28

Browse files
Migrate to 'ruff' from 'black' (#443)
1 parent 12f309f commit f4b1e28

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.pre-commit-config.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,9 @@ repos:
1616
- id: ruff
1717
args: ["--fix"]
1818
exclude: "tests/input/"
19-
- repo: https://github.com/psf/black
20-
rev: 24.10.0
21-
hooks:
22-
- id: black
23-
# see https://stackoverflow.com/a/61046953
19+
- id: ruff-format
2420
exclude: ^pylint_django/tests/input.*$
25-
args: [--safe, --line-length=120]
21+
args: [--line-length=120]
2622
- repo: https://github.com/tox-dev/pyproject-fmt
2723
rev: "2.2.4"
2824
hooks:

0 commit comments

Comments
 (0)