Skip to content

Commit 1cad1c1

Browse files
committed
ignore override
1 parent f6751d9 commit 1cad1c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stubs/bleach/bleach/html5lib_shim.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class InputStreamWithMemory:
5050

5151
class BleachHTMLTokenizer(HTMLTokenizer):
5252
consume_entities: bool
53-
stream: InputStreamWithMemory
53+
stream: InputStreamWithMemory # type: ignore[assignment]
5454
emitted_last_token: dict[str, Any] | None
5555
def __init__(self, consume_entities: bool = False, **kwargs: Any) -> None: ...
5656

stubs/bleach/bleach/sanitizer.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class BleachSanitizerFilter(SanitizerFilter):
8686
def sanitize_stream(self, token_iterator: Iterable[_Token]) -> Iterator[_Token]: ...
8787
def merge_characters(self, token_iterator: Iterable[_Token]) -> Iterator[_Token]: ...
8888
def __iter__(self) -> Iterator[_Token]: ...
89-
def sanitize_token(self, token: _Token) -> _Token | list[_Token] | None: ...
89+
def sanitize_token(self, token: _Token) -> _Token | list[_Token] | None: ... # type: ignore[override]
9090
def sanitize_characters(self, token: _Token) -> _Token | list[_Token]: ...
9191
def sanitize_uri_value(self, value: str, allowed_protocols: Container[str]) -> str | None: ...
9292
def allow_token(self, token: _Token) -> _Token: ...

0 commit comments

Comments
 (0)