[tor-commits] [sbws/maint-1.1] fix: tests: Additional security tests
juga at torproject.org
juga at torproject.org
Thu Mar 18 08:10:18 UTC 2021
commit 41fa1480da0466ec859871ba8a7710f4950cd8f0
Author: juga0 <juga at riseup.net>
Date: Wed Mar 17 09:51:04 2021 +0000
fix: tests: Additional security tests
---
tox.ini | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tox.ini b/tox.ini
index 5c6e2a2..3a4fb27 100644
--- a/tox.ini
+++ b/tox.ini
@@ -94,3 +94,14 @@ whitelist_externals = make
changedir = docs
commands =
make linkcheck
+
+; Not included in the envlist, useful to run sometimes.
+[testenv:bandit]
+deps = bandit
+; --skip B101 ; B101: assert_used
+commands = bandit -r --exclude sbws/_version.py sbws/ test
+
+; Requires Internet
+[testenv:safety]
+deps = safety
+commands = safety check
More information about the tor-commits
mailing list