From 333858d4301eed1f23c6d7fea96f606da90ed714 Mon Sep 17 00:00:00 2001 From: Kevin Tindall Date: Sun, 2 Jan 2022 21:12:37 -0600 Subject: [PATCH] Cleanup tox.ini a bit --- tox.ini | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tox.ini b/tox.ini index d1fe8d6..5ee5b91 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] isolated_build = True envlist = - check,py{37,38,39},coverage + format-check,lint,py{37,38,39},coverage [testenv] setenv = @@ -10,10 +10,17 @@ setenv = commands = pytest {posargs} -[testenv:check] -platform = linux2|darwin +[testenv:format] +commands = + black -l 127 ./mcstatus + +[testenv:format-check] commands = black --check -l 127 ./mcstatus + +[testenv:lint] +platform = linux|darwin +commands = pytype ./mcstatus [testenv:coverage] @@ -25,7 +32,3 @@ commands = coverage combine coverage report --show-missing --fail-under=80 -[testenv:format] -depends = py39 -commands = - black -l 127 ./mcstatus