summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorOmer Katz <omer.drow@gmail.com>2018-12-20 16:06:57 +0200
committerGitHub <noreply@github.com>2018-12-20 16:06:57 +0200
commitc9a997e0959876393f506a5caf0fc05b5d9edd9e (patch)
tree57f4a78b4301e86570ab875c177431556cba35eb /tox.ini
parent2d9410d17be0a748ae390ea466672157fe373d5a (diff)
parent5d76d02f32b1cdb9af6b9806df907f3802ebb22b (diff)
downloadoauthlib-add-metadata-doc.tar.gz
Merge branch 'master' into add-metadata-docadd-metadata-doc
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 8 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 47237d8..1cac71c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,11 @@
[tox]
-envlist = py27,py34,py35,py36,py37,pypy,pypy3,docs,readme
+envlist = py27,py34,py35,py36,py37,pypy,pypy3,docs,readme,bandit
[testenv]
deps=
-rrequirements-test.txt
commands=
- coverage run --source oauthlib -m unittest discover
- coverage report
+ py.test --cov=oauthlib tests/
# tox -e docs to mimick readthedocs build.
@@ -27,3 +26,9 @@ whitelist_externals=echo
commands=
python setup.py check -r -s
echo setup.py/long description is syntaxly correct
+
+[testenv:bandit]
+skipsdist=True
+deps=bandit
+commands=bandit -b bandit.json -r oauthlib/
+whitelist_externals=bandit