Skip to content

Commit c3b4a82

Browse files
more lint fixes
1 parent 9f93401 commit c3b4a82

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

loopy/statistics.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
TYPE_CHECKING,
3636
Any,
3737
Callable,
38-
ClassVar,
3938
Generic,
4039
Iterable,
4140
TypeVar,
@@ -2356,11 +2355,10 @@ def _gather_access_footprints_for_single_kernel(
23562355

23572356
def gather_access_footprints(
23582357
t_unit: TranslationUnit, *, ignore_uncountable: bool = False,
2359-
entrypoint: str | None = None) -> Mapping[MemAccess, "isl.Set"]:
2360-
"""Return a dictionary mapping ``(var_name, direction)`` to
2361-
:class:`islpy.Set` instances capturing which indices of each the array
2362-
*var_name* are read/written (where *direction* is either ``read`` or
2363-
``write``.
2358+
entrypoint: str | None = None) -> Mapping[MemAccess, "isl.Set"]: # noqa: UP037
2359+
"""Return a dictionary mapping :class:`MemAccess` to
2360+
:class:`islpy.Set` instances capturing which indices of each array
2361+
are read/written.
23642362
23652363
:arg ignore_uncountable: If *False*, an error will be raised for accesses
23662364
on which the footprint cannot be determined (e.g. data-dependent or

0 commit comments

Comments
 (0)