From f4f389a2cbeeb99cb0fad8001d28c2828d009905 Mon Sep 17 00:00:00 2001 From: Eric Berquist Date: Tue, 12 Nov 2024 11:41:17 -0700 Subject: [PATCH] pyproject.toml: update mypy configuration --- pyproject.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4aa14ac12..0cfcd0ea7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,9 @@ [tool.mypy] +cache_dir = "build/.mypy_cache" explicit_package_bases = true mypy_path = "$MYPY_CONFIG_FILE_DIR/src/sst/core/testingframework" +# This should be 3.6 but is not supported with the newest versions of mypy. +python_version = "3.8" warn_unused_ignores = true @@ -15,5 +18,10 @@ exclude = [ ] [[tool.mypy.overrides]] -module = "sst" +module = [ + "blessings", + "sst", + "testtools", + "testtools.testsuite", +] ignore_missing_imports = true