@@ -63,20 +63,20 @@ repos:
6363
6464 # GitHub Actions hooks
6565 - repo : https://github.com/python-jsonschema/check-jsonschema
66- rev : 0.33.3
66+ rev : 0.35.0
6767 hooks :
6868 - id : check-github-actions
6969 - id : check-github-workflows
7070
7171 # pre-commit hooks
7272 - repo : https://github.com/pre-commit/pre-commit
73- rev : v4.3 .0
73+ rev : v4.4 .0
7474 hooks :
7575 - id : validate_manifest
7676
7777 # Go hooks
7878 - repo : https://github.com/TekWizely/pre-commit-golang
79- rev : v1.0.0-rc.2
79+ rev : v1.0.0-rc.4
8080 hooks :
8181 # Go Build
8282 - id : go-build-repo-mod
@@ -129,13 +129,13 @@ repos:
129129
130130 # Python hooks
131131 - repo : https://github.com/PyCQA/bandit
132- rev : 1.8.6
132+ rev : 1.9.1
133133 hooks :
134134 - id : bandit
135135 args :
136136 - --config=.bandit.yml
137137 - repo : https://github.com/psf/black-pre-commit-mirror
138- rev : 25.1 .0
138+ rev : 25.11 .0
139139 hooks :
140140 - id : black
141141 - repo : https://github.com/PyCQA/flake8
@@ -145,11 +145,11 @@ repos:
145145 additional_dependencies :
146146 - flake8-docstrings==1.7.0
147147 - repo : https://github.com/PyCQA/isort
148- rev : 6 .0.1
148+ rev : 7 .0.0
149149 hooks :
150150 - id : isort
151151 - repo : https://github.com/pre-commit/mirrors-mypy
152- rev : v1.18.1
152+ rev : v1.18.2
153153 hooks :
154154 - id : mypy
155155 - repo : https://github.com/pypa/pip-audit
@@ -165,13 +165,19 @@ repos:
165165 - --requirement
166166 - requirements.txt
167167 - repo : https://github.com/asottile/pyupgrade
168- rev : v3.20.0
168+ rev : v3.21.1
169169 hooks :
170170 - id : pyupgrade
171+ args :
172+ # Python 3.10 is currently the oldest non-EOL version of
173+ # Python, so we want to apply all rules that apply to this
174+ # version or later. See here for more details:
175+ # https://www.gyford.com/phil/writing/2025/08/26/how-to-use-pyupgrade/
176+ - --py310-plus
171177
172178 # Ansible hooks
173179 - repo : https://github.com/ansible/ansible-lint
174- rev : v25.9.0
180+ rev : v25.11.1
175181 hooks :
176182 - id : ansible-lint
177183 additional_dependencies :
@@ -187,35 +193,17 @@ repos:
187193 # hook identifies a vulnerability in ansible-core 2.16.13,
188194 # but all versions of ansible 9 have a dependency on
189195 # ~=2.16.X.
190- #
191- # It is also a good idea to go ahead and upgrade to version
192- # 10 since version 9 is going EOL at the end of November:
193- # https://endoflife.date/ansible
194196 # - ansible>=10,<11
195- # ansible-core 2.16.3 through 2.16.6 suffer from the bug
196- # discussed in ansible/ansible#82702, which breaks any
197- # symlinked files in vars, tasks, etc. for any Ansible role
198- # installed via ansible-galaxy. Hence we never want to
199- # install those versions.
200- #
201- # Note that the pip-audit pre-commit hook identifies a
202- # vulnerability in ansible-core 2.16.13. The pin of
203- # ansible-core to >=2.17 effectively also pins ansible to
204- # >=10.
205- #
206- # It is also a good idea to go ahead and upgrade to
207- # ansible-core 2.17 since security support for ansible-core
208- # 2.16 ends this month:
209- # https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
197+ # ansible-core<2.17.7 suffers from GHSA-99w6-3xph-cx78.
210198 #
211199 # Note that any changes made to this dependency must also be
212200 # made in requirements.txt in cisagov/skeleton-packer and
213201 # requirements-test.txt in cisagov/skeleton-ansible-role.
214- - ansible-core>=2.17
202+ - ansible-core>=2.17.7
215203
216204 # Terraform hooks
217205 - repo : https://github.com/antonbabenko/pre-commit-terraform
218- rev : v1.100 .0
206+ rev : v1.103 .0
219207 hooks :
220208 - id : terraform_fmt
221209 - id : terraform_validate
0 commit comments