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