aboutsummaryrefslogtreecommitdiffstats
path: root/tox-local.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox-local.ini')
-rw-r--r--tox-local.ini18
1 files changed, 14 insertions, 4 deletions
diff --git a/tox-local.ini b/tox-local.ini
index 978634d..be6fb90 100644
--- a/tox-local.ini
+++ b/tox-local.ini
@@ -1,15 +1,25 @@
+# content of: tox.ini , put in same dir as setup.py
[tox]
-envlist = py27,py36
+envlist = py36,flake8
+setupdir=app/app
[testenv]
deps=
- -rrequirements.txt
pytest
coverage
pytest-cov
-setenv =
+setenv =
CONSUL_HOST = 8.8.8.8
HOSTNAME = config_binding_service
-commands=pytest --cov {envsitepackagesdir}/config_binding_service --cov-report html
+commands=
+ pytest --verbose --cov config_binding_service --cov-report=html
+[testenv:flake8]
+basepython = python3.7
+skip_install = true
+deps = flake8
+commands = flake8 setup.py config_binding_service tests
+
+[flake8]
+ignore = E501,E265,E262,E261