Skip to content

Commit d864f04

Browse files
deps: Update dependency mypy to >=1.20.0 (#693)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lucas Colley <lucas.colley8@gmail.com>
1 parent 1e1f1ab commit d864f04

3 files changed

Lines changed: 44 additions & 44 deletions

File tree

pixi.lock

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ array-api-extra.path = "."
9292
[tool.pixi.feature.lint.dependencies]
9393
typing-extensions = ">=4.15.0"
9494
pylint = ">=4.0.5"
95-
mypy = ">=1.19.1"
95+
mypy = ">=1.20.0"
9696
basedpyright = ">=1.39.0"
9797
numpydoc = ">=1.10.0,<2"
9898
# import dependencies for mypy:

src/array_api_extra/_lib/_utils/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def persistent_id(
407407
self, obj: object
408408
) -> Literal[0, 1, None]: # numpydoc ignore=GL08
409409
if isinstance(obj, cls):
410-
instances.append(obj) # type: ignore[arg-type]
410+
instances.append(obj)
411411
return 0
412412

413413
typ_ = type(obj)

0 commit comments

Comments
 (0)