forked from nuagenetworks/topology-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (31 loc) · 981 Bytes
/
tox.ini
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
26
27
28
29
30
31
32
33
34
35
36
37
[tox]
minversion = 1.6
envlist = py36,py27,pep8
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
PYTHONWARNINGS=default::DeprecationWarning
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
usedevelop = True
deps= -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8
[testenv:py27]
install_command = pip install -U {opts} {packages}
commands = nosetests -v {posargs}
[testenv:py36]
install_command = pip3 install -U {opts} {packages}
commands = nosetests -v {posargs}
[testenv:venv]
install_command = pip install -U {opts} {packages}
commands = {posargs}
[flake8]
# "E123 closing bracket does not match indentation of opening bracket's line"
# "W504 Line break occurred after a binary operator"
ignore = E123,W504
show-source = True
exclude = .git,.venv,.tox,dist,doc,*egg,*.yml,*.pyc
include=*.py
# enable-extensions is ignored in this OpenStack flavor