Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix: bandit pre-commit hook exclude regex
[releng/builder.git]
/
.pre-commit-config.yaml
diff --git
a/.pre-commit-config.yaml
b/.pre-commit-config.yaml
index ca5cf7fbb4f65c9a3e61a06eb35a823f8fa143c3..e15b6fde97d51b5a9b24e9fd50208ff21b4de46a 100644
(file)
--- a/
.pre-commit-config.yaml
+++ b/
.pre-commit-config.yaml
@@
-46,7
+46,7
@@
repos:
hooks:
- id: bandit
# Bandit does not need to run on test code
- exclude:
tests/*
+ exclude:
^tests/
- repo: https://github.com/pycqa/pydocstyle
rev: 5.0.2