Skip to content

Commit 8996ad0

Browse files
committed
chore: remove a bunch of pylint comments
1 parent 5186178 commit 8996ad0

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

arraycontext/impl/pytato/compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def _dag_to_transformed_pytato_prg(self, dict_of_named_arrays, *, prg_id=None):
440440
options=opts,
441441
function_name=_prg_id_to_kernel_name(prg_id),
442442
target=self.actx.get_target(),
443-
).bind_to_context(self.actx.context) # pylint: disable=no-member
443+
).bind_to_context(self.actx.context)
444444
assert isinstance(pytato_program, BoundPyOpenCLExecutable)
445445

446446
self.actx._compile_trace_callback(

arraycontext/impl/pytato/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ def map_data_wrapper(self, expr: DataWrapper) -> Array:
222222
actx_ary = self.actx.from_numpy(expr.data)
223223
assert isinstance(actx_ary, DataWrapper)
224224

225-
# https://github.com/pylint-dev/pylint/issues/3893
226-
# pylint: disable=unexpected-keyword-arg
227225
return DataWrapper(
228226
data=actx_ary.data,
229227
shape=expr.shape,

test/test_arraycontext.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,12 @@ def _get_test_containers(actx, ambient_dim=2, shapes=50_000):
134134
x = DOFArray(actx, tuple(actx.from_numpy(randn(shape, np.float64))
135135
for shape in shapes))
136136

137-
# pylint: disable=unexpected-keyword-arg, no-value-for-parameter
138137
dataclass_of_dofs = MyContainer(
139138
name="container",
140139
mass=x,
141140
momentum=obj_array.new_1d([x] * ambient_dim),
142141
enthalpy=x)
143142

144-
# pylint: disable=unexpected-keyword-arg, no-value-for-parameter
145143
bcast_dataclass_of_dofs = MyContainerDOFBcast(
146144
name="container",
147145
mass=x,

0 commit comments

Comments
 (0)