canaille-globuzma/.pre-commit-config.yaml

28 lines
700 B
YAML
Raw Normal View History

2021-12-20 22:57:27 +00:00
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-01-23 18:35:18 +00:00
rev: v4.1.0
2021-12-20 22:57:27 +00:00
hooks:
- id: check-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/asottile/reorder_python_imports
2022-04-04 15:51:33 +00:00
rev: v3.0.1
2021-12-20 22:57:27 +00:00
hooks:
- id: reorder-python-imports
args: ["--application-directories", "canaille"]
- repo: https://github.com/asottile/pyupgrade
2022-04-04 15:51:33 +00:00
rev: v2.31.1
2021-12-20 22:57:27 +00:00
hooks:
- id: pyupgrade
2021-12-31 17:53:52 +00:00
args: ["--py37-plus"]
2021-12-20 22:57:27 +00:00
- repo: https://github.com/psf/black
2022-04-04 15:51:33 +00:00
rev: 22.3.0
2021-12-20 22:57:27 +00:00
hooks:
- id: black
- repo: https://github.com/rtts/djhtml
2022-04-04 15:51:33 +00:00
rev: v1.5.0
2021-12-20 22:57:27 +00:00
hooks:
- id: djhtml
args: ["--in-place"]