Skip to content

Commit 0fab691

Browse files
committed
chore: Add ruff pre-commit
1 parent b64e097 commit 0fab691

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: fix-byte-order-marker
1414
- id: trailing-whitespace
15-
# Enable when no significant PRs are in progress
16-
# - repo: https://github.com/psf/black
17-
# rev: 23.1.0
18-
# hooks:
19-
# - id: black
20-
# - repo: https://github.com/pycqa/isort
21-
# rev: 5.12.0
22-
# hooks:
23-
# - id: isort
15+
- repo: https://github.com/astral-sh/ruff-pre-commit
16+
rev: v0.12.5
17+
hooks:
18+
- id: ruff
19+
args: [ --fix ]
20+
- id: ruff-format

0 commit comments

Comments
 (0)