Move flake8 to a separate tox env

This commit is contained in:
Joe Moore 2020-05-30 09:33:35 -04:00
parent 6abcedddda
commit 50ce010212
1 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py36,py37,py38 envlist = style,py36,py37,py38
skipsdist = True skipsdist = True
skip_missing_interpreters = True skip_missing_interpreters = True
@ -10,12 +10,15 @@ setenv =
PYTHON="{envpython}" PYTHON="{envpython}"
commands = commands =
make modules make modules
flake8
py.test core hscommon py.test core hscommon
deps = deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-extra.txt -r{toxinidir}/requirements-extra.txt
[testenv:style]
commands =
flake8
[testenv:WINDOWS] [testenv:WINDOWS]
deps = deps =
{[testenv]deps} {[testenv]deps}