From 528bd0897ab94bf776f767ab2c249e927fa5275d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=AFo=D0=BD=D0=B8=D0=B8=CE=B3=20=C4=AFo=D0=BD=D0=B8?= =?UTF-8?q?=D0=B8=CE=B3?= Date: Sun, 15 Mar 2020 21:01:22 -0700 Subject: [PATCH] Simplify tox environments (#93) Fixes: #69 --- tox.ini | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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}