Skip to content

Commit ec85cc0

Browse files
committed
COMP: Workaround lack of numcodecs typing
1 parent bec6e89 commit ec85cc0

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

mcp/pixi.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mcp/pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,23 @@ exclude_lines = [
137137
"if TYPE_CHECKING:",
138138
]
139139

140+
[tool.mypy]
141+
python_version = "3.13"
142+
# Basic type checking without being too strict
143+
warn_return_any = false
144+
warn_unused_configs = false
145+
disallow_untyped_defs = false
146+
check_untyped_defs = false
147+
# Still check for some basic issues
148+
show_error_codes = true
149+
pretty = true
150+
151+
[[tool.mypy.overrides]]
152+
module = [
153+
"numcodecs.*",
154+
]
155+
ignore_missing_imports = true
156+
140157
[tool.pixi.project]
141158
channels = ["conda-forge", "pyconda"]
142159
platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"]

0 commit comments

Comments
 (0)