From 9c4042a41e17aaefc268334a3f0d63002884993f Mon Sep 17 00:00:00 2001 From: Ghost Ops <72981180+GhostOps77@users.noreply.github.com> Date: Sun, 23 Jun 2024 13:37:29 +0530 Subject: [PATCH] Added test env for mypy in tox --- tox.ini | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 92b95cc..affc7e8 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ isolated_build = true [gh-actions] python = 3.7: py37, click7, flake8 - 3.8: py38 + 3.8: py38, mypy 3.9: py39 3.10: py310 3.11: py311 @@ -29,10 +29,15 @@ commands = pytest --basetemp={envtmpdir} [testenv:flake8] -basepython = python3.7 +basepython = python3.8 deps = flake8 commands = flake8 click_repl tests +[testenv:mypy] +basepython = python3.7 +deps = mypy +commands = mypy click_repl + [testenv:click7] basepython = python3.10 deps =