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
|
||||
exclude: ^\.config/fcitx5/
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 24.10.0
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.9.4
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.13.2
|
||||
hooks:
|
||||
- id: isort
|
||||
- id: ruff
|
||||
args: [ --fix ]
|
||||
- id: ruff-format
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.13.0
|
||||
rev: v1.14.1
|
||||
hooks:
|
||||
- id: mypy
|
||||
- repo: https://github.com/syntaqx/git-hooks
|
||||
|
|
@ -32,6 +30,6 @@ repos:
|
|||
hooks:
|
||||
- id: detect-secrets
|
||||
- repo: https://github.com/google/keep-sorted
|
||||
rev: v0.5.1
|
||||
rev: v0.6.0
|
||||
hooks:
|
||||
- id: keep-sorted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue