29 lines
676 B
YAML
29 lines
676 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.3.0
|
|
hooks:
|
|
- id: check-ast
|
|
- id: check-executables-have-shebangs
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
exclude: ^\.config/fcitx5/
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.10.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.7.1
|
|
hooks:
|
|
- id: mypy
|
|
- repo: https://github.com/syntaqx/git-hooks
|
|
rev: v0.0.18
|
|
hooks:
|
|
- id: forbid-binary
|
|
exclude: ^\.local/share/jupyter/kernels/python3\.12/logo-
|
|
- id: shellcheck
|