Merge pull request #4 from cisagov/improvement/add_precommit_hook_for_docker_compose

Add pre-commit hook for docker-compose linting
pull/113/head
Shane Frasier 5 years ago committed by GitHub
commit b004df2cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .pre-commit-config.yaml
  2. 2
      requirements-test.txt

@ -23,7 +23,7 @@ repos:
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.14.0
rev: v0.14.1
hooks:
- id: markdownlint
# The LICENSE.md must match the license text exactly for
@ -47,7 +47,7 @@ repos:
hooks:
- id: pyupgrade
- repo: https://github.com/ambv/black
rev: 18.9b0
rev: 19.3b0
hooks:
- id: black
- repo: https://github.com/ansible/ansible-lint.git
@ -61,6 +61,10 @@ repos:
- id: terraform_fmt
- id: terraform_validate_no_variables
- id: terraform_docs
- repo: https://github.com/IamTheFij/docker-pre-commit
rev: v1.0.0
hooks:
- id: docker-compose-check
- repo: https://github.com/prettier/prettier
rev: 1.16.2
hooks:

@ -1,3 +1 @@
black
pre-commit
pyupgrade

Loading…
Cancel
Save