Skip to content

Commit 4e410a5

Browse files
committed
Linting in stringlist.py
1 parent ba3910e commit 4e410a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

domdf_python_tools/stringlist.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# stdlib
2727
from contextlib import contextmanager
28-
from typing import cast, Iterable, List, Tuple, Union, overload
28+
from typing import Iterable, List, Tuple, Union, cast, overload
2929

3030
# 3rd party
3131
from typing_extensions import Protocol
@@ -191,9 +191,9 @@ def __setitem__(self, index: Union[int, slice], line: Union[String, Iterable[Str
191191

192192
elif isinstance(index, slice):
193193
for line, index in zip(
194-
reversed(line), # type: ignore
195-
reversed(range(index.start, index.stop + 1, index.step or 1)),
196-
):
194+
reversed(line), # type: ignore
195+
reversed(range(index.start, index.stop + 1, index.step or 1)),
196+
):
197197
self[index] = line
198198

199199
@overload

0 commit comments

Comments
 (0)