blob: ac3d06c0d96813dc429d2e37079d8414c42fd159 [file] [log] [blame]
exclude: '^atmosphere/jsonnet/vendor'
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.8.6
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.10.1
hooks:
- id: isort
- repo: https://github.com/google/go-jsonnet
rev: v0.18.0
hooks:
- id: jsonnet-format
files: atmosphere/jsonnet/\w\.(jsonnet|libsonnet)$
- id: jsonnet-lint
files: atmosphere/jsonnet/\w\.(jsonnet|libsonnet)$
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint
args: ["--ignore=CHANGELOG.md"]