pipreqs/tox.ini
Jon Banafato d1a7eda5e8 Enable flake8 linting in tox.ini and .travis.yml
Currently, flake8 is accessible via `make lint`, but it does not run
along side the rest of the test suite. This change adds flake8 checks to
the tox.ini file to enable linting as a routine part of running tests.

Additionally, drop the changes made in #100.
2017-10-24 15:14:52 -04:00

17 lines
316 B
INI

[tox]
envlist = py27, py34, py35, py36, pypy, flake8
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pipreqs
commands = python setup.py test
deps =
-r{toxinidir}/requirements.txt
[testenv:flake8]
basepython = python3.6
commands = flake8 pipreqs
deps =
-r{toxinidir}/requirements.txt
flake8