Skip to content

Commit 0b1ff44

Browse files
committed
fix(mypy): bump python_version to 3.12 to parse numpy 2.5+ stubs
numpy 2.5+ stubs use PEP 695 type-alias syntax which requires python_version >= 3.12 to parse. Drop the now-unnecessary numpy override.
1 parent 0c83dba commit 0b1ff44

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ files = [
8787
"src/**/*.py",
8888
"tests/**/*.py"
8989
]
90-
python_version = "3.10"
90+
python_version = "3.12"
9191

9292
[[tool.mypy.overrides]]
9393
ignore_errors = true
@@ -129,10 +129,6 @@ module = "botocore.*"
129129
ignore_missing_imports = true
130130
module = "ruamel.*"
131131

132-
[[tool.mypy.overrides]]
133-
ignore_errors = true
134-
module = "numpy.*"
135-
136132
[tool.pytest.ini_options]
137133
addopts = [
138134
"--cov=anaconda_ai",

0 commit comments

Comments
 (0)