Skip to content

Commit

Permalink
Merge pull request #401 from appsembler/bandit
Browse files Browse the repository at this point in the history
add bandit security tests
  • Loading branch information
OmarIthawi authored Jan 18, 2022
2 parents 3975f5a + ef4d34f commit 525f45e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bandit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
exclude_dirs:
- '/tests/'
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,10 @@ basepython=python2
deps =
-r{toxinidir}/devsite/requirements/hawthorn.txt
commands =
edx_lint write pylintrc
edx_lint write pylintrc

[testenv:bandit]
deps =
bandit==1.7.1
commands =
bandit -c bandit.yaml -r figures

0 comments on commit 525f45e

Please sign in to comment.