Skip to content

Commit c7c4619

Browse files
Update .pre-commit-config.yaml
1 parent 9ca5efb commit c7c4619

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
repos:
2-
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.2.0
4-
hooks:
5-
- id: ruff
6-
args: [--fix]
7-
- id: ruff-format
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
# Ruff version.
4+
rev: v0.12.3
5+
hooks:
6+
# Run the linter.
7+
- id: ruff-check
8+
types_or: [ python, pyi ]
9+
args: [ --fix ]
10+
# Run the formatter.
11+
- id: ruff-format
12+
types_or: [ python, pyi ]

0 commit comments

Comments
 (0)