diff --git a/tox.ini b/tox.ini index 6489c01..aa8a2da 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,11 @@ [tox] minversion = 1.8 envlist = - py{36,37}-unit - py{36,37}-lint format-check + lint + py{36,37} doc +skip_missing_interpreters = true [gh-actions] python = @@ -14,13 +15,16 @@ python = [testenv] passenv = * commands = - unit: py.test --runslow -vv {posargs} - lint: flake8 + py.test --runslow -vv {posargs} setenv = COVERAGE_FILE={toxworkdir}/.coverage extras = test +[testenv:lint] +commands = + python -m flake8 + [testenv:format] commands = python -m black {toxinidir}