mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +08:00
Fix invalid noqa comments and poorly formatted type ignores (#11497)
This commit is contained in:
@@ -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