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

26 lines
725 B
YAML
Raw Normal View History

2021-12-20 22:57:27 +00:00
---
repos:
2023-12-26 00:13:11 +00:00
- repo: https://github.com/astral-sh/ruff-pre-commit
2024-04-23 20:12:04 +00:00
rev: 'v0.4.1'
2023-12-26 00:13:11 +00:00
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
2021-12-20 22:57:27 +00:00
- repo: https://github.com/pre-commit/pre-commit-hooks
2024-04-08 08:33:43 +00:00
rev: v4.6.0
2021-12-20 22:57:27 +00:00
hooks:
- id: fix-byte-order-marker
2021-12-20 22:57:27 +00:00
- id: trailing-whitespace
2023-08-17 08:03:10 +00:00
exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$|\\.pot$"
2021-12-20 22:57:27 +00:00
- id: end-of-file-fixer
2023-08-17 08:03:10 +00:00
exclude: "\\.svg$|\\.map$|\\.min\\.css$|\\.min\\.js$|\\.po$|\\.pot$"
2023-04-15 11:15:54 +00:00
- id: check-toml
2023-12-28 17:31:57 +00:00
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
2021-12-20 22:57:27 +00:00
- repo: https://github.com/rtts/djhtml
2023-04-09 00:13:34 +00:00
rev: 3.0.6
2021-12-20 22:57:27 +00:00
hooks:
- id: djhtml