forked from tchellomello/python-amcrest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
35 lines (31 loc) · 803 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
[tox]
envlist = py27, py35, py36, lint
skip_missing_interpreters = True
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
whitelist_externals = /usr/bin/env
autogen.sh
make
install_command = /usr/bin/env LANG=C.UTF-8 pip install {opts} {packages}
commands =
py.test --verbose --color=auto --duration=0
coverage run --source=src/amcrest setup.py test
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_tests.txt
[testenv:lint]
ignore_errors = True
commands =
flake8
flake8 src/amcrest
flake8 tui/amcrest-tui
flake8 cli/amcrest-cli
pylint src/amcrest
pylint tui/amcrest-tui
pylint cli/amcrest-cli
[flake8]
ignore =
D102,
E121,
exclude = docs,.tox,*.egg,*.pyc,.git,__pycache