mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-14 21:02:55 +08:00
Fix invalid noqa comments and poorly formatted type ignores (#11497)
This commit is contained in:
1 parent
5e9589dd75
commit
c75ecf0bca
21 files changed
+43
-43
No files matched your search
@@ -179,13 +179,13 @@ class OleFileIO:
|
||||
raise_defects: int = 40,
|
||||
write_mode: bool = False,
|
||||
debug: bool = False,
|
||||
path_encoding: str | None = DEFAULT_PATH_ENCODING, # noqaY011
|
||||
path_encoding: str | None = DEFAULT_PATH_ENCODING, # noqa: Y011
|
||||
) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
def __enter__(self) -> Self: ...
|
||||
def __exit__(self, *args: object) -> None: ...
|
||||
def _raise_defect(
|
||||
self, defect_level: int, message: str, exception_type: type[Exception] = OleFileError # noqaY011
|
||||
self, defect_level: int, message: str, exception_type: type[Exception] = OleFileError # noqa: Y011
|
||||
) -> None: ...
|
||||
def _decode_utf16_str(self, utf16_str: bytes, errors: str = "replace") -> bytes: ...
|
||||
def open(self, filename: IO[bytes] | bytes | str, write_mode: bool = False) -> None: ...
|
||||
|
||||
Reference in new issue
Block a user