-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from cisagov/maintenance/update_pre-commit_hooks
Update `pre-commit` hooks
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ repos: | |
|
||
# Text file hooks | ||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.41.0 | ||
rev: v0.42.0 | ||
hooks: | ||
- id: markdownlint | ||
args: | ||
|
@@ -50,7 +50,7 @@ repos: | |
# mirror does not pull tags for old major versions once a new major | ||
# version tag is published. | ||
additional_dependencies: | ||
- [email protected].1 | ||
- [email protected].3 | ||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.35.1 | ||
hooks: | ||
|
@@ -60,14 +60,14 @@ repos: | |
|
||
# GitHub Actions hooks | ||
- repo: https://github.com/python-jsonschema/check-jsonschema | ||
rev: 0.28.4 | ||
rev: 0.29.2 | ||
hooks: | ||
- id: check-github-actions | ||
- id: check-github-workflows | ||
|
||
# pre-commit hooks | ||
- repo: https://github.com/pre-commit/pre-commit | ||
rev: v3.7.1 | ||
rev: v3.8.0 | ||
hooks: | ||
- id: validate_manifest | ||
|
||
|
@@ -102,7 +102,7 @@ repos: | |
|
||
# Shell script hooks | ||
- repo: https://github.com/scop/pre-commit-shfmt | ||
rev: v3.8.0-1 | ||
rev: v3.9.0-1 | ||
hooks: | ||
- id: shfmt | ||
args: | ||
|
@@ -126,17 +126,17 @@ repos: | |
|
||
# Python hooks | ||
- repo: https://github.com/PyCQA/bandit | ||
rev: 1.7.8 | ||
rev: 1.7.10 | ||
hooks: | ||
- id: bandit | ||
args: | ||
- --config=.bandit.yml | ||
- repo: https://github.com/psf/black-pre-commit-mirror | ||
rev: 24.4.2 | ||
rev: 24.8.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 7.0.0 | ||
rev: 7.1.1 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
|
@@ -146,7 +146,7 @@ repos: | |
hooks: | ||
- id: isort | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v1.10.0 | ||
rev: v1.11.2 | ||
hooks: | ||
- id: mypy | ||
- repo: https://github.com/pypa/pip-audit | ||
|
@@ -162,13 +162,13 @@ repos: | |
- --requirement | ||
- requirements.txt | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.15.2 | ||
rev: v3.17.0 | ||
hooks: | ||
- id: pyupgrade | ||
|
||
# Ansible hooks | ||
- repo: https://github.com/ansible/ansible-lint | ||
rev: v24.6.0 | ||
rev: v24.9.2 | ||
hooks: | ||
- id: ansible-lint | ||
additional_dependencies: | ||
|
@@ -193,7 +193,7 @@ repos: | |
|
||
# Terraform hooks | ||
- repo: https://github.com/antonbabenko/pre-commit-terraform | ||
rev: v1.90.0 | ||
rev: v1.96.1 | ||
hooks: | ||
- id: terraform_fmt | ||
- id: terraform_validate | ||
|
@@ -206,7 +206,7 @@ repos: | |
|
||
# Packer hooks | ||
- repo: https://github.com/cisagov/pre-commit-packer | ||
rev: v0.0.2 | ||
rev: v0.1.0 | ||
hooks: | ||
- id: packer_validate | ||
- id: packer_fmt |