Skip to content

Commit b3d3e5b

Browse files
committed
Replace black and isort with ruff
1 parent d812862 commit b3d3e5b

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
11
repos:
2-
- repo: https://github.com/pycqa/isort
3-
rev: 5.13.2
4-
hooks:
5-
- id: isort
6-
7-
- repo: https://github.com/psf/black-pre-commit-mirror
8-
rev: 24.4.2
9-
hooks:
10-
- id: black
11-
122
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: v4.6.0
3+
rev: v5.0.0
144
hooks:
155
- id: check-case-conflict
166
- id: check-merge-conflict
17-
- id: check-toml
187
- id: check-yaml
198
- id: end-of-file-fixer
209
- id: trailing-whitespace
2110

11+
- repo: https://github.com/astral-sh/ruff-pre-commit
12+
rev: v0.11.12
13+
hooks:
14+
- id: ruff-check
15+
args:
16+
- --select
17+
- I
18+
- --fix
19+
- id: ruff-format
20+
2221
- repo: https://github.com/tox-dev/pyproject-fmt
23-
rev: 2.1.3
22+
rev: v2.6.0
2423
hooks:
2524
- id: pyproject-fmt
2625

2726
- repo: https://github.com/abravalheri/validate-pyproject
28-
rev: v0.18
27+
rev: v0.24.1
2928
hooks:
3029
- id: validate-pyproject

0 commit comments

Comments
 (0)