Skip to content

Commit 8ef179d

Browse files
committed
Refresh pre-commit
1 parent 15f61cc commit 8ef179d

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.pre-commit-config.yaml

+9-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
1-
repos:
1+
ci:
2+
autoupdate_schedule: quarterly
23

3-
# Automatic source code formatting
4-
- repo: https://github.com/psf/black
5-
rev: 23.9.1
4+
repos:
5+
- repo: https://github.com/astral-sh/ruff-pre-commit
6+
rev: v0.9.2
67
hooks:
7-
- id: black
8-
args: [--safe, --quiet]
8+
- id: ruff
9+
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
10+
- id: ruff-format
911

10-
# Syntax check and some basic
1112
- repo: https://github.com/pre-commit/pre-commit-hooks
12-
rev: v4.4.0
13+
rev: v5.0.0
1314
hooks:
1415
- id: check-ast
1516

16-
- repo: https://github.com/charliermarsh/ruff-pre-commit
17-
rev: v0.0.291
18-
hooks:
19-
- id: ruff
20-
args: ["--fix", "--show-fixes"]
21-

0 commit comments

Comments
 (0)