forked from gnarayan/feets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (32 loc) · 966 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
38
39
40
# =============================================================================
# FLAKE 8 & Coverage
# =============================================================================
[flake8]
exclude = __pycache__,feets/libs/*
[report]
omit =
feets/libs/*
# =============================================================================
# TOX
# =============================================================================
[tox]
envlist = style, py27, py34, py35, coverage
[testenv]
deps = ipdb
commands =
python -m feets.tests {posargs}
[testenv:style]
basepython = python
skip_install = True
usedevelop = False
deps = flake8
commands =
flake8 setup.py feets --count --ignore=E121,E123,E126,E226,E24,E704,E402 {posargs}
[testenv:coverage]
basepython = python
usedevelop = True
deps = coverage
commands =
coverage erase
- coverage run --rcfile=tox.ini --source=feets -m feets.tests -v
coverage report --rcfile=tox.ini --fail-under=90 -m