mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from typing import List, Optional, Tuple
|
||||
from _markupbase import ParserBase
|
||||
from typing import List, Optional, Tuple
|
||||
|
||||
class HTMLParser(ParserBase):
|
||||
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
|
||||
@@ -8,12 +8,9 @@ class HTMLParser(ParserBase):
|
||||
def reset(self) -> None: ...
|
||||
def getpos(self) -> Tuple[int, int]: ...
|
||||
def get_starttag_text(self) -> Optional[str]: ...
|
||||
|
||||
def handle_starttag(self, tag: str,
|
||||
attrs: List[Tuple[str, Optional[str]]]) -> None: ...
|
||||
def handle_starttag(self, tag: str, attrs: List[Tuple[str, Optional[str]]]) -> None: ...
|
||||
def handle_endtag(self, tag: str) -> None: ...
|
||||
def handle_startendtag(self, tag: str,
|
||||
attrs: List[Tuple[str, Optional[str]]]) -> None: ...
|
||||
def handle_startendtag(self, tag: str, attrs: List[Tuple[str, Optional[str]]]) -> None: ...
|
||||
def handle_data(self, data: str) -> None: ...
|
||||
def handle_entityref(self, name: str) -> None: ...
|
||||
def handle_charref(self, name: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user