1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-23 00:50:48 +00:00

Merge pull request #40 from cisagov/improvements/update_pre-commit

Update pre-commit Hooks and Fix Broken Hook ID
This commit is contained in:
Nick M 2020-03-31 15:28:37 -04:00 committed by GitHub
commit 757a861864
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ repos:
args: args:
- --config=.mdl_config.json - --config=.mdl_config.json
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.20.0 rev: v1.21.0
hooks: hooks:
- id: yamllint - id: yamllint
- repo: https://github.com/detailyang/pre-commit-shell - repo: https://github.com/detailyang/pre-commit-shell
@ -47,7 +47,7 @@ repos:
additional_dependencies: additional_dependencies:
- flake8-docstrings - flake8-docstrings
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.0.0 rev: v2.1.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
- repo: https://github.com/PyCQA/bandit - repo: https://github.com/PyCQA/bandit
@ -61,7 +61,7 @@ repos:
hooks: hooks:
- id: black - id: black
- repo: https://github.com/asottile/seed-isort-config - repo: https://github.com/asottile/seed-isort-config
rev: v1.9.4 rev: v2.1.0
hooks: hooks:
- id: seed-isort-config - id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort - repo: https://github.com/pre-commit/mirrors-isort
@ -76,19 +76,19 @@ repos:
- id: ansible-lint - id: ansible-lint
# files: molecule/default/playbook.yml # files: molecule/default/playbook.yml
- repo: https://github.com/antonbabenko/pre-commit-terraform.git - repo: https://github.com/antonbabenko/pre-commit-terraform.git
rev: v1.12.0 rev: v1.27.0
hooks: hooks:
- id: terraform_fmt - id: terraform_fmt
- id: terraform_validate_no_variables - id: terraform_validate
- repo: https://github.com/IamTheFij/docker-pre-commit - repo: https://github.com/IamTheFij/docker-pre-commit
rev: v1.0.1 rev: v1.0.1
hooks: hooks:
- id: docker-compose-check - id: docker-compose-check
- repo: https://github.com/prettier/prettier - repo: https://github.com/prettier/prettier
rev: 1.19.1 rev: 2.0.2
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.761 rev: v0.770
hooks: hooks:
- id: mypy - id: mypy