diff --git a/pyproject.toml b/pyproject.toml index dc245dd..48a7273 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -439,6 +439,9 @@ force_single_line = true cache_dir = ".cache/mypy" +# Check against the oldest supported Python version, not the one running `mypy` +python_version = "3.13" + # Check the interior of functions without type annotations check_untyped_defs = true @@ -528,6 +531,9 @@ ignore_missing_imports = true [tool.pyright] # Source: https://microsoft.github.io/pyright/#/configuration +# Check against the oldest supported Python version, not the one running `pyright` +pythonVersion = "3.13" + # Treat libraries without type annotations as `Any`, like `mypy` does useLibraryCodeForTypes = false