summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/python_lib/lockfile-0.10.2/tox.ini
blob: b0a868a310c7301091d1ea6a1737687f0b5f3852 (plain)
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
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py26,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]
ignore = E121,E123,E128,E221,E226,E261,E265,E301,E302,E713,F401,F841,W291,W293,W391
exclude=.venv,.git,.tox,dist,doc
show-source = True