canaille-globuzma/.pre-commit-config.yaml
2023-05-25 13:37:58 +02:00

31 lines
793 B
YAML

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: fix-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-toml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.0.269'
hooks:
- id: ruff
- repo: https://github.com/asottile/reorder_python_imports
rev: v3.9.0
hooks:
- id: reorder-python-imports
args: ["--application-directories", "canaille"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/rtts/djhtml
rev: 3.0.6
hooks:
- id: djhtml