black reformat, some fixes

This commit is contained in:
Maxim Kurnikov
2018-12-06 19:13:06 +03:00
parent 25a71a7ef5
commit 5ec2830ba6
108 changed files with 673 additions and 187 deletions

View File

@@ -18,7 +18,9 @@ def escapejs(value: str) -> SafeText: ...
def json_script(value: Union[Dict[str, str], str], element_id: str) -> SafeText: ...
def conditional_escape(text: Any) -> str: ...
def format_html(format_string: str, *args: Any, **kwargs: Any) -> SafeText: ...
def format_html_join(sep: str, format_string: str, args_generator: Union[Iterator[Any], List[Tuple[str]]]) -> SafeText: ...
def format_html_join(
sep: str, format_string: str, args_generator: Union[Iterator[Any], List[Tuple[str]]]
) -> SafeText: ...
def linebreaks(value: str, autoescape: bool = ...) -> str: ...
class MLStripper(HTMLParser):