diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-11-28 13:30:35 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-11-28 13:30:35 -0500 |
commit | 43d054403eb697ff96c52ee382365aac1e8d798f (patch) | |
tree | 926bd962692c96ce909ef9bac82b3d963d306c17 | |
parent | a191d2e629f55c999b37a7a795ad6fbee2807b98 (diff) | |
download | oslo-db-43d054403eb697ff96c52ee382365aac1e8d798f.tar.gz |
skip bandit on oslo_db/tests
the bandit command excludes the folder named "tests" but does not
seem to exclude where the tests actually are here, which is
oslo_db/tests. add this folder, as we have "assert" statements
as well as pickle use in our test suite, which bandit disapproves of.
Change-Id: I63ad4fbbd7fa72e7a4d8ebd458d323516f997424
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ commands = commands = pre-commit run -a # Run security linter - bandit -r oslo_db -x tests -n5 --skip B105,B311 + bandit -r oslo_db -x tests -x oslo_db/tests -n5 --skip B105,B311 [testenv:venv] commands = {posargs} |