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 #91 from cisagov/improvement/pre-commit_update

Update `pre-commit` Hooks
This commit is contained in:
Nick M 2021-10-19 17:41:00 -04:00 committed by GitHub
commit f3000e5ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,17 +31,17 @@ repos:
# Text file hooks # Text file hooks
- repo: https://github.com/igorshubovych/markdownlint-cli - repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.28.1 rev: v0.29.0
hooks: hooks:
- id: markdownlint - id: markdownlint
args: args:
- --config=.mdl_config.yaml - --config=.mdl_config.yaml
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.2 rev: v2.4.1
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.26.2 rev: v1.26.3
hooks: hooks:
- id: yamllint - id: yamllint
args: args:
@ -49,7 +49,7 @@ repos:
# pre-commit hooks # pre-commit hooks
- repo: https://github.com/pre-commit/pre-commit - repo: https://github.com/pre-commit/pre-commit
rev: v2.14.0 rev: v2.15.0
hooks: hooks:
- id: validate_manifest - id: validate_manifest
@ -81,7 +81,7 @@ repos:
args: args:
- --config=.bandit.yml - --config=.bandit.yml
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.7b0 rev: 21.9b0
hooks: hooks:
- id: black - id: black
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
@ -95,11 +95,11 @@ repos:
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910 rev: v0.910-1
hooks: hooks:
- id: mypy - id: mypy
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.23.3 rev: v2.29.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
@ -114,7 +114,7 @@ repos:
# Terraform hooks # Terraform hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform - repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.50.0 rev: v1.52.0
hooks: hooks:
- id: terraform_fmt - id: terraform_fmt
- id: terraform_validate - id: terraform_validate