Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
validate slicelike return hint

Co-authored-by: Jacob Wilkins <[email protected]>
  • Loading branch information
harveydevereux and oerc0122 authored Nov 8, 2024
1 parent 874d849 commit 098a4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion janus_core/helpers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def track_progress(sequence: Sequence | Iterable, description: str) -> Iterable:
yield from progress.track(sequence, description=description)


def validate_slicelike(maybe_slicelike: SliceLike):
def validate_slicelike(maybe_slicelike: SliceLike) -> None:
"""
Raise an exception if slc is not a valid SliceLike.
Expand Down

0 comments on commit 098a4da

Please sign in to comment.