Skip to content

Commit 813d71b

Browse files
committed
Linting.
1 parent 5593fec commit 813d71b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

domdf_python_tools/bases.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -614,12 +614,12 @@ def replace(self: _LU, what: _T, with_: _T) -> _LU:
614614

615615
return self
616616

617-
def sort(
617+
def sort( # type: ignore
618618
self: _LU,
619619
*,
620620
key=None,
621621
reverse: bool = False,
622-
) -> _LU: # type: ignore
622+
) -> _LU:
623623
"""
624624
Sort the list in ascending order and return the self.
625625
@@ -635,39 +635,39 @@ def sort(
635635
super().sort(key=key, reverse=reverse)
636636
return self
637637

638-
def reverse(self: _LU, ) -> _LU: # type: ignore
638+
def reverse(self: _LU) -> _LU: # type: ignore # noqa: D102
639639
super().reverse()
640640
return self
641641

642-
def append(
642+
def append( # type: ignore # noqa: D102
643643
self: _LU,
644644
item: _T,
645-
) -> _LU: # type: ignore
645+
) -> _LU:
646646
super().append(item)
647647
return self
648648

649-
def extend(
649+
def extend( # type: ignore# noqa: D102
650650
self: _LU,
651651
other: Iterable[_T],
652-
) -> _LU: # type: ignore
652+
) -> _LU:
653653
super().extend(other)
654654
return self
655655

656-
def insert(
656+
def insert( # type: ignore # noqa: D102
657657
self: _LU,
658658
i: int,
659659
item: _T,
660-
) -> _LU: # type: ignore
660+
) -> _LU:
661661
super().insert(i, item)
662662
return self
663663

664-
def remove(
664+
def remove( # type: ignore # noqa: D102
665665
self: _LU,
666666
item: _T,
667-
) -> _LU: # type: ignore
667+
) -> _LU:
668668
super().remove(item)
669669
return self
670670

671-
def clear(self: _LU, ) -> _LU: # type: ignore
671+
def clear(self: _LU) -> _LU: # type: ignore # noqa: D102
672672
super().clear()
673673
return self

0 commit comments

Comments
 (0)