Skip to content

Commit e67c53f

Browse files
committed
update ruff pre-commit hook
1 parent bedeecc commit e67c53f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.pre-commit-config.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,13 @@ repos:
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
2727
rev: v0.4.8
2828
hooks:
29+
# Run the linter
2930
- id: ruff
30-
args: ["--fix", "--output-format=full"]
31+
types_or: [ python, pyi, jupyter ]
32+
args: [ --fix ]
33+
# Run the formatter
3134
- id: ruff-format
35+
types_or: [ python, pyi, jupyter ]
3236
- repo: https://github.com/econchick/interrogate
3337
rev: 1.7.0
3438
hooks:

0 commit comments

Comments
 (0)