Skip to content

Commit b1e265e

Browse files
committed
Pin importlib to make bandit work
1 parent 5255e9d commit b1e265e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
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"
5153
- repo: https://github.com/pre-commit/mirrors-mypy
5254
rev: v0.790
5355
hooks:

0 commit comments

Comments
 (0)