File: tox.ini

package info (click to toggle)
python-lockfile 1%3A0.12.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292 kB
  • sloc: python: 697; makefile: 76; sh: 19
file content (27 lines) | stat: -rw-r--r-- 519 bytes parent folder | download | duplicates (4)
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
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py27,py32,py33,py34

[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands=nosetests

[testenv:venv]
commands = {posargs}

[testenv:pep8]
deps = flake8
commands = flake8

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

[testenv:cover]
deps = {[testenv]deps}
       coverage
commands =
  nosetests --with-coverage --cover-erase --cover-package=lockfile --cover-inclusive []

[flake8]
exclude=.venv,.git,.tox,dist,doc
show-source = True