Skip to content

Commit 1ec60bf

Browse files
alexfiklinducer
authored andcommitted
mypy: ignore pytato errors
1 parent 6e7ea69 commit 1ec60bf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

arraycontext/impl/pytato/utils.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,10 @@ def map_data_wrapper(self, expr: DataWrapper) -> Array:
160160

161161
# https://github.com/pylint-dev/pylint/issues/3893
162162
# pylint: disable=unexpected-keyword-arg
163-
return DataWrapper(
163+
# type-ignore: discussed at
164+
# https://github.com/inducer/arraycontext/pull/289#discussion_r1855523967
165+
# possibly related: https://github.com/python/mypy/issues/17375
166+
return DataWrapper( # type: ignore[call-arg]
164167
data=new_dw.data,
165168
shape=expr.shape,
166169
axes=expr.axes,
@@ -190,7 +193,10 @@ def map_data_wrapper(self, expr: DataWrapper) -> Array:
190193

191194
# https://github.com/pylint-dev/pylint/issues/3893
192195
# pylint: disable=unexpected-keyword-arg
193-
return DataWrapper(
196+
# type-ignore: discussed at
197+
# https://github.com/inducer/arraycontext/pull/289#discussion_r1855523967
198+
# possibly related: https://github.com/python/mypy/issues/17375
199+
return DataWrapper( # type: ignore[call-arg]
194200
data=np_data,
195201
shape=expr.shape,
196202
axes=expr.axes,

0 commit comments

Comments
 (0)