From 461fa27857e4d8c702cb1d125b0900e958c082ac Mon Sep 17 00:00:00 2001 From: Martin Wendt Date: Sun, 20 Oct 2024 17:16:35 +0200 Subject: [PATCH] Test mypy (allow failure) --- tox.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tox.ini b/tox.ini index 3fc68be..ceb7473 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ basepython = python3.12 envlist = lint + mypy py313 # EoL: 2029-10 py312 # EoL: 2028-10 py311 # EoL: 2027-10 @@ -84,6 +85,15 @@ commands = {[testenv:lint]commands} +[testenv:mypy] +skip_install = true +deps = + mypy +changedir = {toxinidir} +commands = + mypy nutree tests +ignore_outcome = true + [testenv:docs] description = Build Sphinx documentation (output directory: docs/sphinx-build) changedir = docs