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-12-18 09:59:25 +00:00
|
|
|
rev: 'v0.8.3'
|
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-10-10 17:19:29 +00:00
|
|
|
rev: v5.0.0
|
2021-12-20 22:57:27 +00:00
|
|
|
hooks:
|
2022-12-24 01:41:26 +00:00
|
|
|
- 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
|
2024-10-25 07:51:01 +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
|
2024-10-23 07:22:24 +00:00
|
|
|
rev: 3.0.7
|
2021-12-20 22:57:27 +00:00
|
|
|
hooks:
|
|
|
|
- id: djhtml
|
2024-09-11 07:33:42 +00:00
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
|
|
rev: v2.3.0
|
|
|
|
hooks:
|
|
|
|
- id: codespell
|
|
|
|
additional_dependencies:
|
|
|
|
- tomli
|
2024-11-23 11:11:16 +00:00
|
|
|
exclude: ".*\\.min\\..*|translations|\\.css$|^tests|fomanticui|doc/locales"
|
2024-09-11 07:33:42 +00:00
|
|
|
args: [--write-changes]
|