Update pre-commit hooks
This commit is contained in:
parent
49001a9185
commit
0bb4287480
1 changed files with 7 additions and 9 deletions
|
|
@ -9,16 +9,14 @@ repos:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
exclude: ^\.config/fcitx5/
|
exclude: ^\.config/fcitx5/
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: 24.10.0
|
rev: v0.9.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: ruff
|
||||||
- repo: https://github.com/pycqa/isort
|
args: [ --fix ]
|
||||||
rev: 5.13.2
|
- id: ruff-format
|
||||||
hooks:
|
|
||||||
- id: isort
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.13.0
|
rev: v1.14.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
- repo: https://github.com/syntaqx/git-hooks
|
- repo: https://github.com/syntaqx/git-hooks
|
||||||
|
|
@ -32,6 +30,6 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: detect-secrets
|
- id: detect-secrets
|
||||||
- repo: https://github.com/google/keep-sorted
|
- repo: https://github.com/google/keep-sorted
|
||||||
rev: v0.5.1
|
rev: v0.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: keep-sorted
|
- id: keep-sorted
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue