Update pre-commit hooks

This commit is contained in:
Ohad Livne 2025-06-04 22:46:53 +03:00
parent 49001a9185
commit 0bb4287480
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -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