Skip to content

Commit c3925e3

Browse files
committed
chore: update the pre-commit hooks to use ruff
1 parent c7efd79 commit c3925e3

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,15 @@ repos:
2929
- --warnings=all
3030
- id: buildifier-lint
3131
args: *args
32-
- repo: https://github.com/pycqa/isort
33-
rev: 5.12.0
32+
- repo: https://github.com/astral-sh/ruff-pre-commit
33+
rev: v0.15.14
3434
hooks:
35-
- id: isort
36-
name: isort (python)
37-
args:
38-
- --profile
39-
- black
40-
- repo: https://github.com/psf/black
41-
rev: 25.1.0
42-
hooks:
43-
- id: black
35+
- id: ruff-check
36+
args: [ --fix ]
37+
exclude: testdata
38+
- id: ruff-format
39+
exclude: testdata
40+
4441
- repo: local
4542
hooks:
4643
- id: update-deleted-packages

0 commit comments

Comments
 (0)