File: tox.ini

package info (click to toggle)
python-pydotplus 2.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,840 kB
  • ctags: 258
  • sloc: python: 1,755; makefile: 169
file content (41 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (3)
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
[tox]
envlist = py27, py34, coverage, docs

[testenv]
deps=
    -rrequirements.txt
    flake8
    pytest
setenv=
    PYTHONPATH=lib/
commands=
    flake8
    py.test

[testenv:coverage]
deps=
    -rrequirements.txt
    pytest-cov
setenv=
    PYTHONPATH=lib/
commands=
    py.test --cov pydotplus

[testenv:docs]
basepython=python
changedir=doc
whitelist_externals=
    make
    dot
deps=
    -rrequirements.txt
    sphinx
    sphinx_rtd_theme
commands=
    make html

[flake8]
exclude = ./doc/*,.tox/*,.git/*

[pytest]
addopts = --doctest-modules --ignore=setup.py --ignore=doc/conf.py