--- exclude: '(^.+\.log$)' default_language_version: python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.2.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - id: check-json - id: check-merge-conflict - id: check-case-conflict - id: mixed-line-ending - id: check-added-large-files #- id: check-shebang-scripts-are-executable - id: check-symlinks - id: detect-private-key - id: pretty-format-json args: - --autofix - id: detect-aws-credentials args: - --allow-missing-credentials - repo: https://github.com/antonbabenko/pre-commit-terraform rev: v1.74.2 hooks: - id: terraform_validate - id: terraform_fmt