Skip to content

Commit 48a6729

Browse files
committed
Update pre-commit hook
1 parent bc825ef commit 48a6729

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
@@ -2,16 +2,13 @@ ci:
22
autofix_prs: false
33

44
repos:
5-
- repo: https://github.com/pycqa/isort
6-
rev: 5.11.5
5+
- repo: https://github.com/astral-sh/ruff
6+
rev: 0.6.9
77
hooks:
8-
- id: isort
9-
10-
- repo: https://github.com/psf/black
11-
rev: 23.1.0
12-
hooks:
13-
- id: black
14-
args: ["--target-version", "py310"]
8+
- id: ruff
9+
args: ["format", "--diff", "src", "tests"]
10+
- id: ruff
11+
args: ["check", "--select", "I", "src", "tests"]
1512

1613
- repo: https://github.com/PyCQA/doc8
1714
rev: 0.10.1

0 commit comments

Comments
 (0)