# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - id: check-merge-conflict - id: pretty-format-json - id: check-symlinks - id: detect-aws-credentials - id: detect-private-key - id: flake8 - id: requirements-txt-fixer - id: sort-simple-yaml - repo: git://github.com/antonbabenko/pre-commit-terraform rev: v1.25.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt - id: terraform_docs - id: terraform_tflint args: ['--deep'] - id: terraform_validate - repo: https://github.com/jumanjihouse/pre-commit-hooks sha: 1.11.2 hooks: - id: shellcheck - id: shfmt - id: script-must-have-extension - id: git-check # - id: git-dirty - id: forbid-binary - id: bundler-audit #- repo: https://github.com/ansible/ansible-lint.git # rev: v4.1.0 # hooks: # - id: ansible-lint # files: \.(yaml|yml)$ #- repo: https://github.com/pre-commit/mirrors-autopep8 # rev: 'v1.5' # Use the sha / tag you want to point at # hooks: # - id: autopep8