Skip to content

Commit af7b49e

Browse files
committed
Allow Ruff to auto-fix issues
1 parent 96609da commit af7b49e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ repos:
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
1616
rev: v0.6.8
1717
hooks:
18-
- id: ruff-format
1918
- id: ruff
19+
args: [--fix, --exit-non-zero-on-fix]
20+
- id: ruff-format

0 commit comments

Comments
 (0)