2023-02-17 19:07:59 +01:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 23.1.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
|
2023-11-21 20:27:12 +01:00
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.12.0
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
name: isort (python)
|
|
|
|
|
2023-02-17 19:07:59 +01:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-02-17 21:29:12 +01:00
|
|
|
rev: v4.4.0
|
2023-02-17 19:07:59 +01:00
|
|
|
hooks:
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
# Exclude elisp files to not clear page breaks
|
|
|
|
exclude: \.el$
|
|
|
|
- id: check-json
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-yaml
|
2023-02-17 21:29:12 +01:00
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
|
|
rev: v1.0.0
|
|
|
|
hooks:
|
|
|
|
- id: mypy
|
|
|
|
stages: [push, manual]
|
|
|
|
pass_filenames: false
|
|
|
|
args:
|
|
|
|
- --config-file=pyproject.toml
|