diff --git a/pyproject.toml b/pyproject.toml index bc1938999..2c39facf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -171,21 +171,23 @@ exclude_also = [ [tool.pyright] strict = ["rockcraft"] -pythonVersion = "3.10" +pythonVersion = "3.8" pythonPlatform = "Linux" exclude = [ "**/.*", "**/__pycache__", + "docs/sphinx-starter-pack", # pyright might not like the annotations generated by setuptools_scm "**/_version.py", ] [tool.mypy] -python_version = "3.8" +python_version = "3.10" exclude = [ "build", "tests", "results", + "docs/sphinx-starter-pack", ] warn_unused_configs = true warn_redundant_casts = true