Skip to content

Commit 348cc1c

Browse files
committed
feat: run ruff on pre-commit
1 parent f4f8579 commit 348cc1c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.pre-commit-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ repos:
55
hooks:
66
# Run the linter.
77
- id: ruff
8+
types_or: [ python, pyi ]
9+
args: [ --fix ]
810
# Run the formatter.
911
- id: ruff-format
1012

0 commit comments

Comments
 (0)