Enable some more bandit checks (#30857)
* Enable B108 (hardcoded tmp dir), address findings * Enable B602 (subprocess popen with shell), address findings * Enable B604 (start process with shell), address findings * Enable B306 (mktemp), B307 (eval), and B325 (tempnam), no issues to address
This commit is contained in:
1 parent
6cf20fc7fa
commit
5e2ba2eb77
21 files changed
+110
-91
No files matched your search
@@ -1,6 +1,9 @@
|
||||
# https://bandit.readthedocs.io/en/latest/config.html
|
||||
|
||||
tests:
|
||||
- B108
|
||||
- B306
|
||||
- B307
|
||||
- B313
|
||||
- B314
|
||||
- B315
|
||||
@@ -9,3 +12,6 @@ tests:
|
||||
- B318
|
||||
- B319
|
||||
- B320
|
||||
- B325
|
||||
- B602
|
||||
- B604
|
||||
Reference in new issue
Block a user