2024-04-18 11:16:47 +02:00
|
|
|
# Pre-commit hooks to run tests and ensure code is cleaned.
|
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/codespell-project/codespell
|
|
|
|
rev: v2.2.2
|
|
|
|
hooks:
|
|
|
|
- id: codespell
|
|
|
|
args:
|
|
|
|
- --ignore-words-list=exten
|
|
|
|
- --skip="./.*,*.csv,*.json,*.ini,*.subject,*.txt,*.html,*.log,*.conf"
|
|
|
|
- --quiet-level=2
|
|
|
|
- --ignore-regex=.*codespell-ignore$
|
|
|
|
#- --write-changes # Uncomment to write changes
|
|
|
|
exclude_types: [csv, json]
|
2024-07-11 01:30:04 +02:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
|
|
rev: v2.7.1
|
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
args: ["--print-width", "100"]
|
2024-04-18 11:16:47 +02:00
|
|
|
- repo: https://github.com/adrienverge/yamllint
|
|
|
|
rev: v1.32.0
|
|
|
|
hooks:
|
|
|
|
- id: yamllint
|
|
|
|
ignore: .github/
|
2024-07-11 01:30:04 +02:00
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
|
|
rev: v0.10.0.1
|
2024-04-18 11:16:47 +02:00
|
|
|
hooks:
|
2024-07-11 01:30:04 +02:00
|
|
|
- id: shellcheck
|