mirror of
https://github.com/univention/ansible-modules.git
synced 2025-10-26 11:19:34 +00:00
* make pre-commit happy again * updated pre-commit-config with the new hook versions * fix ansible-lint
34 lines
794 B
YAML
34 lines
794 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.30.0"
|
|
hooks:
|
|
- id: "yamllint"
|
|
args:
|
|
- "-c=.yamllint"
|
|
|
|
- repo: "https://github.com/ansible/ansible-lint"
|
|
rev: "v6.14.3"
|
|
hooks:
|
|
- id: "ansible-lint"
|
|
|
|
- repo: "https://github.com/pycqa/flake8"
|
|
rev: "6.0.0"
|
|
hooks:
|
|
- id: "flake8"
|