File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class InputStreamWithMemory:
5050
5151class 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
Original file line number Diff line number Diff 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 : ...
You can’t perform that action at this time.
0 commit comments