Skip to content
Snippets Groups Projects
Commit 6cfc2f9b authored by Alexandru Fikl's avatar Alexandru Fikl Committed by Andreas Klöckner
Browse files

placate flake8-comprehensions

parent 600c659d
No related branches found
No related tags found
No related merge requests found
Pipeline #382271 passed
......@@ -35,17 +35,19 @@ def _construct_untagged_axes(ndim: int) -> Tuple[Axis, ...]:
def _unwrap_cl_array(ary: cla.Array) -> Dict[str, Any]:
return dict(shape=ary.shape, dtype=ary.dtype,
allocator=ary.allocator,
strides=ary.strides,
data=ary.base_data,
offset=ary.offset,
events=ary.events,
_context=ary.context,
_queue=ary.queue,
_size=ary.size,
_fast=True,
)
return {
"shape": ary.shape,
"dtype": ary.dtype,
"allocator": ary.allocator,
"strides": ary.strides,
"data": ary.base_data,
"offset": ary.offset,
"events": ary.events,
"_context": ary.context,
"_queue": ary.queue,
"_size": ary.size,
"_fast": True,
}
# }}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment