Skip to content

Commit bb05cf2

Browse files
committed
chore(pre-commit): update hooks
1 parent 2ca6e0e commit bb05cf2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
33
exclude: "CHANGELOG.md|.copier-answers.yml|.all-contributorsrc|project"
4-
default_stages: [pre-commit]
4+
default_stages: [commit]
55

66
ci:
77
autofix_commit_msg: "chore(pre-commit.ci): auto fixes"
88
autoupdate_commit_msg: "chore(pre-commit.ci): pre-commit autoupdate"
99

1010
repos:
1111
- repo: https://github.com/commitizen-tools/commitizen
12-
rev: v4.6.0
12+
rev: v4.8.2
1313
hooks:
1414
- id: commitizen
1515
stages: [commit-msg]
@@ -28,30 +28,30 @@ repos:
2828
- id: end-of-file-fixer
2929
- id: trailing-whitespace
3030
- repo: https://github.com/tox-dev/pyproject-fmt
31-
rev: "v2.5.1"
31+
rev: "v2.6.0"
3232
hooks:
3333
- id: pyproject-fmt
34+
files: pyproject\.toml
3435
- repo: https://github.com/astral-sh/uv-pre-commit
35-
rev: 0.6.14
36+
rev: 0.7.10
3637
hooks:
3738
- id: uv-lock
3839
- repo: https://github.com/pre-commit/mirrors-prettier
39-
rev: v3.1.0
40+
rev: v4.0.0-alpha.8
4041
hooks:
4142
- id: prettier
4243
args: ["--tab-width", "2"]
4344
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: v0.11.5
45+
rev: v0.11.12
4546
hooks:
46-
- id: ruff
47-
args: [--fix, --exit-non-zero-on-fix]
4847
- id: ruff-format
48+
args: [--fix, --exit-non-zero-on-fix]
4949
- repo: https://github.com/codespell-project/codespell
5050
rev: v2.4.1
5151
hooks:
5252
- id: codespell
5353
- repo: https://github.com/pre-commit/mirrors-mypy
54-
rev: v1.15.0
54+
rev: v1.16.0
5555
hooks:
5656
- id: mypy
5757
additional_dependencies: []

0 commit comments

Comments
 (0)