File: tox.ini

package info (click to toggle)
python-daiquiri 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 204 kB
  • sloc: python: 593; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
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
[tox]
envlist = py36,py35,py27,pep8,docs

[testenv]
whitelist_externals = sh
deps = -e.[test,json]
commands =
  pytest daiquiri
  sh -c "for example in examples/*.py; do python $example; done"
  sh -c "rm errors.log everything.log"

[testenv:pep8]
deps =
    flake8
    flake8-import-order
commands = flake8

[flake8]
show-source = True
exclude=.git,.tox,dist,build,.eggs
application-import-names=daiquiri

[testenv:docs]
deps = sphinx
commands = python setup.py build_sphinx