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

Update pre-commit Hooks
pull/113/head
Nick M 3 years ago committed by GitHub
commit bd12db16be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      .pre-commit-config.yaml

@ -5,7 +5,7 @@ default_language_version:
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.0.1
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
@ -31,17 +31,17 @@ repos:
# Text file hooks
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.26.0
rev: v0.27.1
hooks:
- id: markdownlint
args:
- --config=.mdl_config.json
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.2.1
rev: v2.3.0
hooks:
- id: prettier
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.0
rev: v1.26.1
hooks:
- id: yamllint
args:
@ -49,7 +49,7 @@ repos:
# Shell script hooks
- repo: https://github.com/lovesegfault/beautysh
rev: 6.0.1
rev: v6.1.0
hooks:
- id: beautysh
args:
@ -68,25 +68,25 @@ repos:
args:
- --config=.bandit.yml
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.5b2
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
rev: 5.8.0
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.800
rev: v0.812
hooks:
- id: mypy
- repo: https://github.com/asottile/pyupgrade
rev: v2.10.0
rev: v2.19.1
hooks:
- id: pyupgrade
@ -101,7 +101,7 @@ repos:
# Terraform hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.45.0
rev: v1.50.0
hooks:
- id: terraform_fmt
# There are ongoing issues with how this command works. This issue

Loading…
Cancel
Save