Skip to content

Commit 502c407

Browse files
Switch to ruff for python
1 parent 37d8e5f commit 502c407

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ repos:
1111

1212
# C++
1313
- repo: https://github.com/pre-commit/mirrors-clang-format
14-
rev: v21.1.8
14+
rev: v22.1.1
1515
hooks:
1616
- id: clang-format
1717

1818
# python
19-
- repo: https://github.com/pycqa/isort
20-
rev: 7.0.0
19+
- repo: https://github.com/astral-sh/ruff-pre-commit
20+
rev: v0.15.6
2121
hooks:
22-
- id: isort
23-
- repo: https://github.com/psf/black-pre-commit-mirror
24-
rev: 26.1.0
25-
hooks:
26-
- id: black
22+
- id: ruff-check
23+
args: [ --fix ]
24+
- id: ruff-format

0 commit comments

Comments
 (0)