ansible-generator/files/pre-commit-config.yaml

27 lines
624 B
YAML

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.0
hooks:
- id: yamllint
args: [-c=.yamllint]
- repo: https://github.com/ansible/ansible-lint
rev: v5.0.1
hooks:
- id: ansible-lint
pass_filenames: false
- repo: https://github.com/robertdebock/pre-commit
rev: v1.1.2
hooks:
- id: ansible_role_find_unused_variable
- id: ansible_role_find_empty_files