blob: b65b5fb99ef17d237fd596c3ab367ea26df86692 [file] [log] [blame]
exclude: '^(roles/kube_prometheus_stack/files/jsonnet|charts)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.0.0
hooks:
- id: conventional-pre-commit
stages:
- commit-msg
- repo: https://github.com/ansible/ansible-lint
rev: v6.13.1
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint
args: ["--ignore=CHANGELOG.md"]