Enable redundant-self mypy error code (#11056)

This commit is contained in:
Nikita Sobolev
2023-11-22 13:13:17 +03:00
committed by GitHub
parent d232def6b2
commit 06d0151b25
3 changed files with 5 additions and 1 deletions

View File

@@ -233,7 +233,7 @@ if sys.version_info >= (3, 8):
def make(cls, source: ZipFile) -> CompleteDirs: ...
@overload
@classmethod
def make(cls: type[Self], source: StrPath | IO[bytes]) -> Self: ...
def make(cls, source: StrPath | IO[bytes]) -> Self: ...
class Path:
root: CompleteDirs