Skip to content

Commit 5e2db71

Browse files
committed
update pre-commit-config
1 parent 5eabfa4 commit 5e2db71

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
rev: v0.14.0
44
hooks:
5-
- id: ruff
6-
args: [--fix, --exit-non-zero-on-fix]
7-
- repo: https://github.com/psf/black
5+
# Run the linter.
6+
- id: ruff-check
7+
args: [ --fix ]
8+
# Run the formatter.
9+
- id: ruff-format
10+
- repo: https://github.com/psf/black-pre-commit-mirror
811
rev: 25.9.0
912
hooks:
1013
- id: black

0 commit comments

Comments
 (0)