diff --git a/tox.ini b/tox.ini index a4d197d..d69edbf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] requires = tox>=4 -envlist = lint, py3{8,9,10,11,12} +envlist = lint, type, py3{8,9,10,11,12} [testenv] usedevelop=true @@ -19,10 +19,20 @@ skip_install = true deps = flake8 commands = flake8 +[testenv:type] +description = run type checks +skip_install = true +deps = + mypy >= 1.0 + types-python-dateutil + types-vobject +commands = + mypy {posargs:gcalcli} + [gh] python = - 3.12 = py312, lint + 3.12 = py312, lint, type 3.11 = py311 3.10 = py310 3.9 = py39 - 3.8 = py38 + 3.8 = py38, type