mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Merge pull request #4 from cisagov/improvement/add_precommit_hook_for_docker_compose
Add pre-commit hook for docker-compose linting
This commit is contained in:
commit
b004df2cff
2 changed files with 6 additions and 4 deletions
|
@ -23,7 +23,7 @@ repos:
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.14.0
|
rev: v0.14.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
# The LICENSE.md must match the license text exactly for
|
# The LICENSE.md must match the license text exactly for
|
||||||
|
@ -47,7 +47,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
- repo: https://github.com/ambv/black
|
- repo: https://github.com/ambv/black
|
||||||
rev: 18.9b0
|
rev: 19.3b0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/ansible/ansible-lint.git
|
- repo: https://github.com/ansible/ansible-lint.git
|
||||||
|
@ -61,6 +61,10 @@ repos:
|
||||||
- id: terraform_fmt
|
- id: terraform_fmt
|
||||||
- id: terraform_validate_no_variables
|
- id: terraform_validate_no_variables
|
||||||
- id: terraform_docs
|
- 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
|
- repo: https://github.com/prettier/prettier
|
||||||
rev: 1.16.2
|
rev: 1.16.2
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
black
|
|
||||||
pre-commit
|
pre-commit
|
||||||
pyupgrade
|
|
||||||
|
|
Loading…
Reference in a new issue