-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtox.ini
53 lines (43 loc) · 902 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
51
52
53
[tox]
envlist = py{27}, docs, pep8
skipsdist = True
[testenv]
usedevelop = True
deps=
coverage>=3.6,<3.999
coveralls
setenv =
COVERAGE_PROCESS_START={toxinidir}/.coveragerc
FULL_COVERAGE=true
commands =
python --version
pip install -r requirements.txt
nosetests --with-coverage --cover-inclusive --cover-package=etl_utils
coverage combine
coveralls
[testenv:pep8]
deps = pep8
commands = pep8 --ignore E501,E402,E731,E203,E231,E241,E302 etl_utils
[testenv:autopep8]
deps = autopep8
commands = autopep8 --ignore E309,E501 -a -i -r etl_utils tests
[testenv:isort]
deps = isort
commands = isort -w 120 -rc etl_utils 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