ruff: process remaining existing checks and suppress the annoying ones

This commit is contained in:
Dima Gerasimov 2024-08-28 03:58:28 +01:00 committed by karlicoss
parent 1c5efc46aa
commit d58453410c
6 changed files with 38 additions and 8 deletions

View file

@ -123,7 +123,7 @@ class always_supports_sequence(Iterator[V]):
self.it = it
self._list: Optional[List] = None
def __iter__(self) -> Iterator[V]:
def __iter__(self) -> Iterator[V]: # noqa: PYI034
return self.it.__iter__()
def __next__(self) -> V: