forked from BubaVV/Pyevolve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
37 lines (32 loc) · 729 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]
envlist = py27, pypy, py35, py36, pep8, cov
[testenv]
commands = nosetests {posargs:-v}
deps = -r{toxinidir}/requirements_test.txt
[tox:travis]
2.7 = py27, pep8
3.6 = py36, pep8
[testenv:cov]
setenv =
COVERAGE_FILE = .coverage
deps = -r{toxinidir}/requirements_test.txt
commands = coverage erase
nosetests --with-coverage --cover-inclusive {posargs}
coverage report -m
[flake8]
ignore = C901, W605 # W605 behaviour is changed since 3.6
import-order-style = google
exclude =
.git,
.tox,
__pycache__,
docs/source/conf.py,
setup.py,
old,
build,
dist
max-complexity = 10
[testenv:pep8]
deps = -r{toxinidir}/requirements_test.txt
commands =
flake8 {posargs}