Skip to content

Commit 768eed6

Browse files
authored
Pin importlib to make bandit work (aws-cloudformation#202)
1 parent 5255e9d commit 768eed6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ repos:
4848
hooks:
4949
- id: bandit
5050
files: ^(src|python)/
51+
additional_dependencies:
52+
- "importlib-metadata<5" # https://github.com/PyCQA/bandit/issues/956
5153
- repo: https://github.com/pre-commit/mirrors-mypy
5254
rev: v0.790
5355
hooks:

0 commit comments

Comments
 (0)