Skip to content

Commit

Permalink
more lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Jan 13, 2025
1 parent 9f93401 commit c3b4a82
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions loopy/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
TYPE_CHECKING,
Any,
Callable,
ClassVar,
Generic,
Iterable,
TypeVar,
Expand Down Expand Up @@ -2356,11 +2355,10 @@ def _gather_access_footprints_for_single_kernel(

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

0 comments on commit c3b4a82

Please sign in to comment.