forked from Marx314/python-ubersmithclient
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
executable file
·33 lines (27 loc) · 833 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
[tox]
envlist = py34,py35,py36,py37,py38,py27,pep8
[testenv]
deps = -r{toxinidir}/test-requirements.txt
install_command = python -m pip install -c constraints.txt {opts} {packages}
commands =
nosetests {posargs}
[testenv:latest]
deps = -r{toxinidir}/test-requirements.txt
basepython = python3
install_command = python -m pip install {opts} {packages}
commands =
nosetests {posargs}
[testenv:pep8]
deps = -r{toxinidir}/test-requirements.txt
commands = flake8 {posargs}
[testenv:bump-dependencies]
basepython = python3.4
skip_install = true
deps =
pip-tools
commands =
pip-compile --upgrade --no-index --no-emit-trusted-host --output-file constraints.txt setup.py test-requirements.txt
[flake8]
show-source = True
max-line-length = 120
exclude = .venv,.git,.tox,dist,doc,*egg,build,ubersmith_client/__init__.py