Update pre-commit hooks

This commit is contained in:
Ohad Livne 2025-06-04 22:46:42 +03:00
parent 77bb3f3a0f
commit 025d532633
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: v4.6.0 rev: v5.0.0
hooks: hooks:
- id: check-ast - id: check-ast
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
@ -10,7 +10,7 @@ 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: 24.8.0 rev: 24.10.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
@ -18,7 +18,7 @@ repos:
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2 rev: v1.12.0
hooks: hooks:
- id: mypy - id: mypy
- repo: https://github.com/syntaqx/git-hooks - repo: https://github.com/syntaqx/git-hooks