mirror of
https://github.com/univention/ansible-roles.git
synced 2025-10-26 11:17:24 +00:00
37 lines
800 B
YAML
37 lines
800 B
YAML
---
|
|
|
|
# reference: https://pre-commit.com
|
|
|
|
repos:
|
|
- repo: "https://github.com/pre-commit/pre-commit-hooks"
|
|
rev: "v4.4.0"
|
|
hooks:
|
|
- id: "check-added-large-files"
|
|
- id: "check-case-conflict"
|
|
- id: "check-docstring-first"
|
|
- id: "check-executables-have-shebangs"
|
|
- id: "check-json"
|
|
- id: "check-symlinks"
|
|
- id: "detect-private-key"
|
|
- id: "end-of-file-fixer"
|
|
- id: "trailing-whitespace"
|
|
|
|
- repo: "https://github.com/adrienverge/yamllint"
|
|
rev: "v1.31.0"
|
|
hooks:
|
|
- id: "yamllint"
|
|
args:
|
|
- "-c=.yamllint"
|
|
|
|
- repo: "https://github.com/ansible/ansible-lint"
|
|
rev: "v6.15.0"
|
|
hooks:
|
|
- id: "ansible-lint"
|
|
|
|
- repo: "https://github.com/PyCQA/flake8"
|
|
rev: "6.0.0"
|
|
hooks:
|
|
- id: "flake8"
|
|
|
|
...
|