Skip to content

Commit ce16c77

Browse files
committed
Ruff -> pre-commit
1 parent 0087b5a commit ce16c77

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ repos:
1313
- id: mixed-line-ending
1414
args: [--fix, lf]
1515
- id: trailing-whitespace
16+
- repo: https://github.com/astral-sh/ruff-pre-commit
17+
rev: "v0.2.0"
18+
hooks:
19+
- id: ruff
20+
args: [--fix, --exit-non-zero-on-fix]
1621
- repo: https://github.com/PyCQA/isort
1722
rev: 5.13.2
1823
hooks:

0 commit comments

Comments
 (0)