Skip to content

Commit 6f9eb48

Browse files
committed
Type-check with mypy on Python 3.10
mypy took the interpreter's version, so CI on Python 3.12 checked a branch of the runtime that pyright, set to 3.10, never sees. Signed-off-by: Shrijayan <81805145+shrijayan@users.noreply.github.com>
1 parent 8e89ef4 commit 6f9eb48

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ reportUnknownParameterType = false
150150
reportUnusedFunction = false
151151

152152
[tool.mypy]
153+
# Checked on the lowest supported Python, as pyright is (pythonVersion).
154+
python_version = "3.10"
153155
pretty = true
154156
show_error_codes = true
155157

0 commit comments

Comments
 (0)