File: tox.ini

package info (click to toggle)
python-taskflow 1.30.0-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 3,252 kB
  • sloc: python: 26,508; sh: 204; makefile: 48
file content (54 lines) | stat: -rw-r--r-- 1,108 bytes parent folder | download | duplicates (2)
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
54
[tox]
minversion = 1.6
envlist = cover,
    docs,
    pep8,
    py27,
    py34,
    pylint,
    update-states

[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'

[testenv:docs]
commands = python setup.py build_sphinx
    doc8 doc/source

[testenv:update-states]
deps = {[testenv]deps}
    pydot2
commands = {toxinidir}/tools/update_states.sh

[testenv:pep8]
commands = flake8 {posargs}

[testenv:pylint]
setenv = VIRTUAL_ENV={envdir}
deps = {[testenv]deps}
    pylint==0.26.0
commands = pylint --rcfile=pylintrc taskflow

[testenv:cover]
deps = {[testenv]deps}
   coverage>=3.6
commands = python setup.py testr --coverage --testr-args='{posargs}'

[testenv:venv]
commands = {posargs}

[flake8]
builtins = _
exclude = .venv,.tox,dist,doc,*egg,.git,build,tools

[hacking]
import_exceptions = six.moves
    taskflow.test.mock
    unittest.mock

[testenv:py27]
commands =
    python setup.py testr --slowest --testr-args='{posargs}'
    sphinx-build -b doctest doc/source doc/build
    doc8 --ignore-path "doc/source/history.rst" doc/source