@@ -5,7 +5,7 @@ default_language_version:
55
66repos :
77 - repo : https://github.com/pre-commit/pre-commit-hooks
8- rev : v4.5 .0
8+ rev : v4.6 .0
99 hooks :
1010 - id : check-case-conflict
1111 - id : check-executables-have-shebangs
3131
3232 # Text file hooks
3333 - repo : https://github.com/igorshubovych/markdownlint-cli
34- rev : v0.39 .0
34+ rev : v0.41 .0
3535 hooks :
3636 - id : markdownlint
3737 args :
4646 # mirror does not pull tags for old major versions once a new major
4747 # version tag is published.
4848 additional_dependencies :
49- - prettier@3.2.5
49+ - prettier@3.3.1
5050 - repo : https://github.com/adrienverge/yamllint
5151 rev : v1.35.1
5252 hooks :
@@ -56,14 +56,14 @@ repos:
5656
5757 # GitHub Actions hooks
5858 - repo : https://github.com/python-jsonschema/check-jsonschema
59- rev : 0.28.0
59+ rev : 0.28.4
6060 hooks :
6161 - id : check-github-actions
6262 - id : check-github-workflows
6363
6464 # pre-commit hooks
6565 - repo : https://github.com/pre-commit/pre-commit
66- rev : v3.6.2
66+ rev : v3.7.1
6767 hooks :
6868 - id : validate_manifest
6969
9898
9999 # Shell script hooks
100100 - repo : https://github.com/scop/pre-commit-shfmt
101- rev : v3.7 .0-4
101+ rev : v3.8 .0-1
102102 hooks :
103103 - id : shfmt
104104 args :
@@ -116,19 +116,19 @@ repos:
116116 # Redirect operators are followed by a space
117117 - --space-redirects
118118 - repo : https://github.com/shellcheck-py/shellcheck-py
119- rev : v0.9 .0.6
119+ rev : v0.10 .0.1
120120 hooks :
121121 - id : shellcheck
122122
123123 # Python hooks
124124 - repo : https://github.com/PyCQA/bandit
125- rev : 1.7.7
125+ rev : 1.7.8
126126 hooks :
127127 - id : bandit
128128 args :
129129 - --config=.bandit.yml
130130 - repo : https://github.com/psf/black-pre-commit-mirror
131- rev : 24.2.0
131+ rev : 24.4.2
132132 hooks :
133133 - id : black
134134 - repo : https://github.com/PyCQA/flake8
@@ -142,24 +142,42 @@ repos:
142142 hooks :
143143 - id : isort
144144 - repo : https://github.com/pre-commit/mirrors-mypy
145- rev : v1.8 .0
145+ rev : v1.10 .0
146146 hooks :
147147 - id : mypy
148148 - repo : https://github.com/asottile/pyupgrade
149- rev : v3.15.1
149+ rev : v3.15.2
150150 hooks :
151151 - id : pyupgrade
152152
153153 # Ansible hooks
154154 - repo : https://github.com/ansible/ansible-lint
155- rev : v24.2 .0
155+ rev : v24.6 .0
156156 hooks :
157157 - id : ansible-lint
158- # files: molecule/default/playbook.yml
158+ additional_dependencies :
159+ # On its own ansible-lint does not pull in ansible, only
160+ # ansible-core. Therefore, if an Ansible module lives in
161+ # ansible instead of ansible-core, the linter will complain
162+ # that the module is unknown. In these cases it is
163+ # necessary to add the ansible package itself as an
164+ # additional dependency, with the same pinning as is done in
165+ # requirements-test.txt of cisagov/skeleton-ansible-role.
166+ # - ansible>=9,<10
167+ # ansible-core 2.16.3 through 2.16.6 suffer from the bug
168+ # discussed in ansible/ansible#82702, which breaks any
169+ # symlinked files in vars, tasks, etc. for any Ansible role
170+ # installed via ansible-galaxy. Hence we never want to
171+ # install those versions.
172+ #
173+ # Note that any changes made to this dependency must also be
174+ # made in requirements.txt in cisagov/skeleton-packer and
175+ # requirements-test.txt in cisagov/skeleton-ansible-role.
176+ - ansible-core>=2.16.7
159177
160178 # Terraform hooks
161179 - repo : https://github.com/antonbabenko/pre-commit-terraform
162- rev : v1.88 .0
180+ rev : v1.90 .0
163181 hooks :
164182 - id : terraform_fmt
165183 - id : terraform_validate
0 commit comments