Doug Hellmann 007c563671 Switch to flake8
Use flake8, which lets us ignore some types of warnings.

Change-Id: I0f4e3b1f0f5b2ebf77d1a7424c82a3ce7b0a597d
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-05-01 15:11:10 -04:00

30 lines
512 B
INI

[tox]
envlist = py27,pep8,style
[testenv]
deps = -r{toxinidir}/test_requirements.txt
commands = nosetests {posargs}
sitepackages = False
[tox:jenkins]
[testenv:pep8]
deps = pep8
commands = pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,doc,*egg .
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
[testenv:venv]
commands = {posargs}
[testenv:style]
deps = flake8
commands = flake8 setup.py akanda
[flake8]
show-source = True
exclude = .tox,dist,doc,*.egg,build
ignore = E125
builtins = _