Update pre-commit hooks

This commit is contained in:
Ohad Livne 2025-06-04 22:46:31 +03:00
parent fcda41787a
commit 70d6fb446a
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-executables-have-shebangs
@ -10,15 +10,15 @@ repos:
exclude: ^\.config/fcitx5/
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.11.2
hooks:
- id: mypy
- repo: https://github.com/syntaqx/git-hooks
@ -28,6 +28,6 @@ repos:
exclude: ^\.local/share/jupyter/kernels/python3\.12/logo-
- id: shellcheck
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
rev: v1.5.0
hooks:
- id: detect-secrets