Skip to content

Commit 57bef4a

Browse files
authored
Merge pull request #161 from cisagov/maintenance/update_pre-commit_hooks
Update `pre-commit` hooks
2 parents 59b2ad1 + 4c93395 commit 57bef4a

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

.pre-commit-config.yaml

+21-14
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ default_language_version:
55

66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.4.0
8+
rev: v4.5.0
99
hooks:
1010
- id: check-case-conflict
1111
- id: check-executables-have-shebangs
@@ -31,32 +31,39 @@ repos:
3131

3232
# Text file hooks
3333
- repo: https://github.com/igorshubovych/markdownlint-cli
34-
rev: v0.36.0
34+
rev: v0.39.0
3535
hooks:
3636
- id: markdownlint
3737
args:
3838
- --config=.mdl_config.yaml
3939
- repo: https://github.com/pre-commit/mirrors-prettier
40-
rev: v3.0.3
40+
# This is the last version of v3 available from the mirror. We should hold
41+
# here until v4, which is currently in alpha, is more stable.
42+
rev: v3.1.0
4143
hooks:
4244
- id: prettier
45+
# This is the latest version of v3 available from NPM. The pre-commit
46+
# mirror does not pull tags for old major versions once a new major
47+
# version tag is published.
48+
additional_dependencies:
49+
4350
- repo: https://github.com/adrienverge/yamllint
44-
rev: v1.32.0
51+
rev: v1.35.1
4552
hooks:
4653
- id: yamllint
4754
args:
4855
- --strict
4956

5057
# GitHub Actions hooks
5158
- repo: https://github.com/python-jsonschema/check-jsonschema
52-
rev: 0.26.3
59+
rev: 0.28.0
5360
hooks:
5461
- id: check-github-actions
5562
- id: check-github-workflows
5663

5764
# pre-commit hooks
5865
- repo: https://github.com/pre-commit/pre-commit
59-
rev: v3.4.0
66+
rev: v3.6.2
6067
hooks:
6168
- id: validate_manifest
6269

@@ -107,44 +114,44 @@ repos:
107114

108115
# Python hooks
109116
- repo: https://github.com/PyCQA/bandit
110-
rev: 1.7.5
117+
rev: 1.7.7
111118
hooks:
112119
- id: bandit
113120
args:
114121
- --config=.bandit.yml
115122
- repo: https://github.com/psf/black-pre-commit-mirror
116-
rev: 23.9.1
123+
rev: 24.2.0
117124
hooks:
118125
- id: black
119126
- repo: https://github.com/PyCQA/flake8
120-
rev: 6.1.0
127+
rev: 7.0.0
121128
hooks:
122129
- id: flake8
123130
additional_dependencies:
124131
- flake8-docstrings
125132
- repo: https://github.com/PyCQA/isort
126-
rev: 5.12.0
133+
rev: 5.13.2
127134
hooks:
128135
- id: isort
129136
- repo: https://github.com/pre-commit/mirrors-mypy
130-
rev: v1.5.1
137+
rev: v1.8.0
131138
hooks:
132139
- id: mypy
133140
- repo: https://github.com/asottile/pyupgrade
134-
rev: v3.10.1
141+
rev: v3.15.1
135142
hooks:
136143
- id: pyupgrade
137144

138145
# Ansible hooks
139146
- repo: https://github.com/ansible/ansible-lint
140-
rev: v6.19.0
147+
rev: v24.2.0
141148
hooks:
142149
- id: ansible-lint
143150
# files: molecule/default/playbook.yml
144151

145152
# Terraform hooks
146153
- repo: https://github.com/antonbabenko/pre-commit-terraform
147-
rev: v1.83.2
154+
rev: v1.88.0
148155
hooks:
149156
- id: terraform_fmt
150157
- id: terraform_validate

0 commit comments

Comments
 (0)