summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 42d4d59..b55483b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,11 +2,14 @@
# Licensed under the LGPLv3, see LICENCE file for details.
[tox]
-envlist = py27, py35, style, docs
+envlist = lint, py27, py35, docs
+# envlist = py27
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/macaroonbakery
+# drop into debugger with: nosetests --pdb
+# coverage with --with-coverage --cover-inclusive --cover-html
commands =
nosetests
deps =
@@ -19,7 +22,7 @@ commands =
[testenv:lint]
usedevelop = True
-commands = flake8 --show-source macaroonbakery --exclude macaroonbakery/internal/id_pb2.py
+commands = flake8 --ignore E501 --show-source macaroonbakery --exclude macaroonbakery/internal/id_pb2.py
[testenv:docs]
changedir = docs