browbeat/.pre-commit-config.yaml
Charles Short c335d6439b Fix tox.ini
- Fix ansible-lint tox environment to run on python3.
- Ignore '306' lint check
- Remove python36, python35, only test on python37 (standard)

Change-Id: I75000b21dc4562d443e41ac93473a152acb53fe4
Signed-off-by: Charles Short <chucks@redhat.com>
2019-10-29 10:29:32 -04:00

18 lines
517 B
YAML

---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: mixed-line-ending
- id: check-byte-order-marker
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/ansible/ansible-lint
rev: 49372c5c3822567f36a809b20e0273020f024ed7
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
exclude: ^(rally/|\.zuul\.yaml)
entry: ansible-lint --force-color -v