-
Notifications
You must be signed in to change notification settings - Fork 72
/
tox.ini
46 lines (40 loc) · 923 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
[tox]
envlist = py37-flake, py35, py36, py27, py37
[testenv]
setenv = PIPENV_VERBOSITY=-1
whitelist_externals =
python
pip
deps =
check-manifest
cmarkgfm
twine
readme_renderer
flake8
nose
coverage
pipenv
mock; python_version < '3.4'
commands=
pipenv run python -V
pipenv run check-manifest --ignore tox.ini,tests*
pipenv run python setup.py install
pipenv run coverage run --rcfile .coveragerc setup.py test
pipenv run coverage report --rcfile .coveragerc -i -m
pipenv run coverage xml
pipenv run coverage html
pipenv run twine check dist/*
[flake8]
exclude = .tox,*.egg,build,data
select = E,W,F
ignore = E501
[testenv:py37-flake]
whitelist_externals =
python
pip
exclude = .tox,*.egg,build,data
commands=
pipenv run python --version
pipenv run flake8 --version
pipenv run python setup.py install
pipenv run flake8 setup.py docs armory tests