-
Notifications
You must be signed in to change notification settings - Fork 14
/
tox.ini
37 lines (32 loc) · 840 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]
minversion = 1.6
envlist = py2,py3,pep8,docs
skipsdist = True
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
coverage erase
coverage run {envbindir}/nosetests -v
coverage report --fail-under=90 --include=*imap_cli* --omit=*tests*
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
sitepackages = False
usedevelop = True
[testenv:docs]
basepython=python
changedir=docs
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
sphinx
envtmpdir=_build
commands=
sphinx-build -W {toxinidir}/docs {envtmpdir}/html
[testenv:pep8]
commands = flake8 {posargs}
[flake8]
show-source = True
ignore = H803
exclude = .venv,.tox,dist,docs,*.egg,.update-venv
[hacking]
import_exceptions = six.moves.ConfigParser