Skip to content

Commit 18ca7eb

Browse files
committed
pre-commit hooks update
1 parent 37e17dc commit 18ca7eb

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,24 @@ repos:
44
hooks:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
7-
- repo: https://github.com/charliermarsh/ruff-pre-commit
8-
rev: 'v0.13.3'
7+
- repo: https://github.com/astral-sh/ruff-pre-commit
8+
rev: v0.13.3
99
hooks:
10-
- id: ruff
11-
args: [--fix, --exit-non-zero-on-fix]
10+
- id: ruff-check
11+
types_or: [ python, pyi ]
12+
args: [--fix-only, --exit-non-zero-on-fix]
13+
# - id: ruff-format
14+
# types_or: [ python, pyi ]
1215
- repo: https://github.com/codespell-project/codespell
1316
# Configuration for codespell is in pyproject.toml
1417
rev: v2.4.1
1518
hooks:
1619
- id: codespell
1720
additional_dependencies:
1821
- tomli
22+
- repo: https://github.com/astral-sh/uv-pre-commit
23+
# uv version.
24+
rev: 0.8.23
25+
hooks:
26+
# Update the uv lockfile
27+
- id: uv-lock

0 commit comments

Comments
 (0)