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

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

Update pre-commit Hooks
This commit is contained in:
Nick M 2021-06-02 10:45:40 -04:00 committed by GitHub
commit bd12db16be
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: v3.4.0 rev: v4.0.1
hooks: hooks:
- id: check-case-conflict - id: check-case-conflict
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
@ -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.26.0 rev: v0.27.1
hooks: hooks:
- id: markdownlint - id: markdownlint
args: args:
- --config=.mdl_config.json - --config=.mdl_config.json
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1 rev: v2.3.0
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.26.0 rev: v1.26.1
hooks: hooks:
- id: yamllint - id: yamllint
args: args:
@ -49,7 +49,7 @@ repos:
# Shell script hooks # Shell script hooks
- repo: https://github.com/lovesegfault/beautysh - repo: https://github.com/lovesegfault/beautysh
rev: 6.0.1 rev: v6.1.0
hooks: hooks:
- id: beautysh - id: beautysh
args: args:
@ -68,25 +68,25 @@ repos:
args: args:
- --config=.bandit.yml - --config=.bandit.yml
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 20.8b1 rev: 21.5b2
hooks: hooks:
- id: black - id: black
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4 rev: 3.9.2
hooks: hooks:
- id: flake8 - id: flake8
additional_dependencies: additional_dependencies:
- flake8-docstrings - flake8-docstrings
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.7.0 rev: 5.8.0
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.800 rev: v0.812
hooks: hooks:
- id: mypy - id: mypy
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.10.0 rev: v2.19.1
hooks: hooks:
- id: pyupgrade - id: pyupgrade
@ -101,7 +101,7 @@ repos:
# Terraform hooks # Terraform hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform - repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.45.0 rev: v1.50.0
hooks: hooks:
- id: terraform_fmt - id: terraform_fmt
# There are ongoing issues with how this command works. This issue # There are ongoing issues with how this command works. This issue