Update pre-commit hooks

This commit is contained in:
Ohad Livne 2025-09-24 17:20:34 +03:00
parent 3709ebbf83
commit bacb1424d0
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: v5.0.0 rev: v6.0.0
hooks: hooks:
- id: check-ast - id: check-ast
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
@ -10,13 +10,13 @@ repos:
exclude: ^\.config/fcitx5/ exclude: ^\.config/fcitx5/
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.4 rev: v0.13.1
hooks: hooks:
- id: ruff - id: ruff
args: [ --fix ] args: [ --fix ]
- id: ruff-format - id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1 rev: v1.18.2
hooks: hooks:
- id: mypy - id: mypy
- repo: https://github.com/syntaqx/git-hooks - repo: https://github.com/syntaqx/git-hooks