view lockfile-0.10.2/tox.ini @ 46:cdba6c63dce5

add help
author jingchunzhu
date Wed, 29 Jul 2015 10:26:18 -0700
parents 7ceb967147c3
children
line wrap: on
line source

# 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