Skip to content

Commit 6a167e0

Browse files
committed
modify pre-commit rules
1 parent 1e7cc0d commit 6a167e0

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ repos:
77
- id: check-yaml
88
- id: check-added-large-files
99

10-
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.5.5
12-
hooks:
13-
- id: ruff
14-
args: [--fix]
15-
- id: ruff-format
16-
1710
- repo: https://github.com/psf/black-pre-commit-mirror
1811
rev: 24.8.0
1912
hooks:
2013
- id: black
14+
15+
- repo: https://github.com/astral-sh/ruff-pre-commit
16+
rev: v0.5.5
17+
hooks:
18+
- id: ruff
19+
args: ["--fix", "--show-source"]

0 commit comments

Comments
 (0)