reviewday/tox.ini
Dan Prince eac379040f Fix pep8 test
Change-Id: I570517386e4642cd5f47e32c18ffa5dff062f69e
2017-12-08 15:11:33 -05:00

34 lines
753 B
INI

[tox]
envlist = pyflakes, pep8, py27
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes setup.py reviewday bin
[flake8]
ignore = E722
[testenv:pep8]
whitelist_externals = bash
commands = flake8
[testenv:run]
commands = reviewday {posargs}
[testenv:bindep]
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files.
deps = bindep
commands = bindep test