Skip to content

Commit 278af64

Browse files
committed
Add ruff formatter
1 parent d80b5a6 commit 278af64

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ repos:
9393
- id: isort
9494
name: isort (python)
9595

96+
- repo: https://github.com/astral-sh/ruff-pre-commit
97+
rev: v0.15.1
98+
hooks:
99+
- id: ruff-check
100+
args: [ --fix ]
101+
- id: ruff-format
102+
96103
# Python: Flake8 (checks only, does this support auto-fixes?)
97104
#- repo: https://github.com/PyCQA/flake8
98105
# rev: 4.0.1

0 commit comments

Comments
 (0)