aboutsummaryrefslogtreecommitdiffstats
path: root/tox-local.ini
blob: be6fb907612c279cc84371e356957d879c5811ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py36,flake8
setupdir=app/app

[testenv]
deps=
    pytest
    coverage
    pytest-cov
setenv =
    CONSUL_HOST = 8.8.8.8
    HOSTNAME = config_binding_service
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