From d60ae296ac5728e2a5e40615beb956d7357ae4f4 Mon Sep 17 00:00:00 2001 From: David Barnett Date: Fri, 23 Aug 2024 17:43:19 -0600 Subject: [PATCH] Tooling: Split out separate lint testenv in tox.ini --- tox.ini | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 34afb90..44c5144 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,20 @@ [tox] -envlist = py38,py39,py310,py311,py312 +requires = + tox>=4 +envlist = lint, py3{8,9,10,11,12} [testenv] usedevelop=true deps = pytest pytest-cov coverage - flake8 vobject commands=py.test -vv --cov=./gcalcli --pyargs tests {posargs} coverage html - flake8 + +[testenv:lint] +description = run linters +skip_install = true +deps = flake8 +commands = flake8