browbeat/.pre-commit-config.yaml
Sanjay Chari 865e85a277 Fix ansible-lint issue
There are failures with ansible-lint.
https://zuul.opendev.org/t/openstack/build/b89f36f3bd534733b2337a661bc090e5

This patch fixes the issue

Change-Id: I1249aa48837df422379e3b3daa17d3a67f1ef336
2023-06-23 15:30:52 +05:30

21 lines
549 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: v6.17.2
hooks:
- id: ansible-lint
always_run: true
pass_filenames: false
entry: ansible-lint --force-color -v
additional_dependencies:
- ansible-core
- yamllint