mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00

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.
17 lines
316 B
INI
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
|