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