55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
|
---
|
||
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v4.6.0
|
||
|
hooks:
|
||
|
- id: check-added-large-files
|
||
|
- id: check-case-conflict
|
||
|
- id: check-executables-have-shebangs
|
||
|
- id: check-json
|
||
|
- id: check-merge-conflict
|
||
|
- id: check-shebang-scripts-are-executable
|
||
|
- id: check-symlinks
|
||
|
- id: check-toml
|
||
|
- id: check-xml
|
||
|
- id: check-yaml
|
||
|
- id: debug-statements
|
||
|
- id: forbid-new-submodules
|
||
|
|
||
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||
|
rev: v1.5.5
|
||
|
hooks:
|
||
|
- id: forbid-crlf
|
||
|
- id: forbid-tabs
|
||
|
|
||
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||
|
rev: v0.39.0
|
||
|
hooks:
|
||
|
- id: markdownlint
|
||
|
|
||
|
- repo: https://github.com/adrienverge/yamllint
|
||
|
rev: v1.35.1
|
||
|
hooks:
|
||
|
- id: yamllint
|
||
|
args:
|
||
|
- -s
|
||
|
exclude: ^ejabberd_example.yml$
|
||
|
|
||
|
- repo: https://github.com/codespell-project/codespell
|
||
|
rev: v2.2.6
|
||
|
hooks:
|
||
|
- id: codespell
|
||
|
exclude: ^ejabberd_example.yml$
|
||
|
|
||
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||
|
rev: v0.4.5
|
||
|
hooks:
|
||
|
- id: ruff
|
||
|
args:
|
||
|
- --output-format=full
|
||
|
- id: ruff-format
|
||
|
args:
|
||
|
- --check
|
||
|
- --target-version
|
||
|
- py311
|