Browse Source

Skip unit tests in bandit scan

no need to enforce security for unit tests, they are not being run in
production installations.

Change-Id: Ib03d5b4b9c14cbfd9dca9a97db883d989b93e654
Pavlo Shchelokovskyy 1 year ago
parent
commit
ec396082c9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tox.ini

+ 1
- 1
tox.ini View File

@@ -18,7 +18,7 @@ deps =
18 18
 commands =
19 19
   flake8
20 20
   # Run security linter
21
-  bandit -r oslo_privsep tests -n5 --skip B404,B603
21
+  bandit -r oslo_privsep -x tests -n5 --skip B404,B603
22 22
 
23 23
 [testenv:venv]
24 24
 commands = {posargs}

Loading…
Cancel
Save