Skip to content

Commit 800c992

Browse files
authored
Format Python code with ruff-format instead of black
Faster yet highly compatible
1 parent 13deb10 commit 800c992

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,9 @@ repos:
3838
- repo: https://github.com/astral-sh/ruff-pre-commit
3939
rev: v0.14.3
4040
hooks:
41-
# Run the linter.
4241
- id: ruff-check
4342
args: [ --fix ]
44-
45-
- repo: https://github.com/psf/black-pre-commit-mirror
46-
rev: 25.9.0
47-
hooks:
48-
- id: black
43+
- id: ruff-format
4944

5045
- repo: https://github.com/tox-dev/pyproject-fmt
5146
rev: v2.11.0

0 commit comments

Comments
 (0)