Update pre-commit hooks

Update pre-commit hooks using `pre-commit autoupdate`. The `ansible-lint` hook
is intentionally held back due to issues with upgrading to v6.
pull/529/head^2
Nicholas McDonnell 2 years ago
parent 2a98c6abf5
commit fb8d13f5ba
No known key found for this signature in database
GPG Key ID: 7994ADE2A56BE5D1
  1. 22
      .pre-commit-config.yaml

@ -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.1.0 rev: v4.3.0
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.31.1 rev: v0.32.2
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.6.1 rev: v3.0.0-alpha.4
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.26.3 rev: v1.28.0
hooks: hooks:
- id: yamllint - id: yamllint
args: args:
@ -49,14 +49,14 @@ repos:
# GitHub Actions hooks # GitHub Actions hooks
- repo: https://github.com/python-jsonschema/check-jsonschema - repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.14.2 rev: 0.18.4
hooks: hooks:
- id: check-github-actions - id: check-github-actions
- id: check-github-workflows - id: check-github-workflows
# pre-commit hooks # pre-commit hooks
- repo: https://github.com/pre-commit/pre-commit - repo: https://github.com/pre-commit/pre-commit
rev: v2.17.0 rev: v2.20.0
hooks: hooks:
- id: validate_manifest - id: validate_manifest
@ -88,7 +88,7 @@ repos:
args: args:
- --config=.bandit.yml - --config=.bandit.yml
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.3.0 rev: 22.10.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
@ -102,11 +102,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.942 rev: v0.990
hooks: hooks:
- id: mypy - id: mypy
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v2.31.1 rev: v3.2.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
@ -119,14 +119,14 @@ repos:
# Terraform hooks # Terraform hooks
- repo: https://github.com/antonbabenko/pre-commit-terraform - repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.64.0 rev: v1.76.0
hooks: hooks:
- id: terraform_fmt - id: terraform_fmt
- id: terraform_validate - id: terraform_validate
# Docker hooks # Docker hooks
- repo: https://github.com/IamTheFij/docker-pre-commit - repo: https://github.com/IamTheFij/docker-pre-commit
rev: v2.1.0 rev: v2.1.1
hooks: hooks:
- id: docker-compose-check - id: docker-compose-check

Loading…
Cancel
Save