Skip to content

Commit 727bb9e

Browse files
committed
chore(pre-commit): Use ruff for formatting instead of black
1 parent e04c659 commit 727bb9e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ repos:
77
- id: end-of-file-fixer
88
name: Ensure end of file newline
99

10-
- repo: https://github.com/psf/black
11-
rev: 23.1.0
12-
hooks:
13-
- id: black
14-
name: Python code formatting
15-
types_or: [python, pyi]
16-
1710
- repo: https://github.com/pre-commit/mirrors-mypy
1811
rev: v1.1.1
1912
hooks:
@@ -30,5 +23,7 @@ repos:
3023
- repo: https://github.com/charliermarsh/ruff-pre-commit
3124
rev: 'v0.11.7'
3225
hooks:
26+
- id: ruff-format
27+
name: Formatting with ruff
3328
- id: ruff
3429
name: Linting with ruff

0 commit comments

Comments
 (0)