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

Merge pull request #97 from cisagov/maintenance/update_pre-commit_hooks

Update `pre-commit` hooks
This commit is contained in:
Nick 2022-01-11 14:22:06 -05:00 committed by GitHub
commit 115af25726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ default_language_version:
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 rev: v4.1.0
hooks: hooks:
- id: check-case-conflict - id: check-case-conflict
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
@ -31,13 +31,13 @@ repos:
# Text file hooks # Text file hooks
- repo: https://github.com/igorshubovych/markdownlint-cli - repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.29.0 rev: v0.30.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.4.1 rev: v2.5.1
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
@ -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.15.0 rev: v2.16.0
hooks: hooks:
- id: validate_manifest - id: validate_manifest
@ -75,13 +75,13 @@ repos:
# Python hooks # Python hooks
- repo: https://github.com/PyCQA/bandit - repo: https://github.com/PyCQA/bandit
rev: 1.7.0 rev: 1.7.1
hooks: hooks:
- id: bandit - id: bandit
args: args:
- --config=.bandit.yml - --config=.bandit.yml
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.9b0 rev: 21.12b0
hooks: hooks:
- id: black - id: black
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
@ -91,28 +91,28 @@ repos:
additional_dependencies: additional_dependencies:
- flake8-docstrings - flake8-docstrings
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.9.3 rev: 5.10.1
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-1 rev: v0.931
hooks: hooks:
- id: mypy - id: mypy
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.29.0 rev: v2.31.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
# Ansible hooks # Ansible hooks
- repo: https://github.com/ansible-community/ansible-lint - repo: https://github.com/ansible-community/ansible-lint
rev: v5.2.1 rev: v5.3.2
hooks: hooks:
- id: ansible-lint - id: ansible-lint
# files: molecule/default/playbook.yml # files: molecule/default/playbook.yml
# Terraform hooks # Terraform hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform - repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.52.0 rev: v1.62.3
hooks: hooks:
- id: terraform_fmt - id: terraform_fmt
- id: terraform_validate - id: terraform_validate