Skip to content

Commit 14bac07

Browse files
committed
add --fix to ruff check in pre-commit hook
1 parent 1bcb2a9 commit 14bac07

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
@@ -4,6 +4,7 @@ repos:
44
rev: v0.12.0
55
hooks:
66
# Run the linter.
7-
- id: ruff
7+
- id: ruff-check
8+
args: [ --fix ]
89
# Run the formatter.
910
- id: ruff-format

0 commit comments

Comments
 (0)