-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
50 lines (41 loc) · 832 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
41
42
43
44
45
46
47
48
49
50
[tox]
envlist = py27
skipsdist = True
[testenv]
usedevelop = True
deps=
coverage>=3.6,<3.999
coveralls
jieba
setenv =
COVERAGE_PROCESS_START={toxinidir}/.coveragerc
FULL_COVERAGE=true
commands =
python --version
pip install nose
nosetests --with-coverage --cover-inclusive --cover-package=region_unit_recognizer
coverage combine
coveralls
[testenv:pep8]
deps = pep8
commands = pep8 --ignore E501,E402,E731 region_unit_recognizer tests
[testenv:autopep8]
deps = autopep8
commands = autopep8 --ignore E309,E501 -a -i -r region_unit_recognizer tests
[testenv:clean]
commands=
coverage erase
[testenv:stats]
commands=
coverage report
covarage html
[testenv:docs]
# Build documentation using sphinx.
# Call this using `tox -e docs`.
deps =
commands =
whitelist_externals =
cp
mv
sed
rm