Skip to content

Commit 5c68d13

Browse files
committed
reorder hooks
1 parent 07eba7a commit 5c68d13

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
---
22
repos:
3+
- repo: https://github.com/astral-sh/ruff-pre-commit
4+
rev: v0.2.2
5+
hooks:
6+
- id: ruff-format
7+
args: ["--preview"]
8+
- id: ruff
9+
args: ["--exit-non-zero-on-fix"]
310
- repo: https://github.com/pre-commit/pre-commit-hooks
411
rev: v4.5.0
512
hooks:
@@ -10,15 +17,8 @@ repos:
1017
- id: check-yaml
1118
- id: debug-statements
1219
language_version: python3
13-
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: v0.2.2
15-
hooks:
16-
- id: ruff-format
17-
args: ["--preview"]
18-
- id: ruff
19-
args: ["--exit-non-zero-on-fix"]
2020
- repo: https://github.com/sphinx-contrib/sphinx-lint
2121
rev: v0.9.1
2222
hooks:
2323
- id: sphinx-lint
24-
args: [--enable=default-role]
24+
args: [--enable=default-role]

0 commit comments

Comments
 (0)