Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Dec 8, 2023
1 parent db988e4 commit ba66555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spinn_utilities/ranged/abstract_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,8 @@ def iter_by_slice(

# Neither list is range based
left_values = self._left.iter_by_slice(slice_start, slice_stop)
right_values = self._right.iter_by_slice(slice_start, slice_stop)
right_values = self._right.iter_by_slice(
slice_start, slice_stop)
while True:
try:
yield self._operation(
Expand Down
2 changes: 1 addition & 1 deletion spinn_utilities/ranged/range_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def iter_ranges(self, key: Optional[_StrSeq]) -> Iterator[Tuple[
@overrides(AbstractDict.iter_ranges)
def iter_ranges(self, key: _Keys = None) -> \
Union[Iterator[Tuple[int, int, T]],
Iterator[Tuple[int, int, Dict[str, T]]]]:
Iterator[Tuple[int, int, Dict[str, T]]]]:
if isinstance(key, str):
return self._value_lists[key].iter_ranges()
if key is None:
Expand Down

0 comments on commit ba66555

Please sign in to comment.