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

@@ -19,7 +19,9 @@ class ErrorList(UserList, list):
data: List[Union[django.core.exceptions.ValidationError, str]]
error_class: str = ...
def __init__(
self, initlist: Optional[Union[List[ValidationError], List[str], ErrorList]] = ..., error_class: Optional[str] = ...
self,
initlist: Optional[Union[List[ValidationError], List[str], ErrorList]] = ...,
error_class: Optional[str] = ...,
) -> None: ...
def as_data(self) -> List[ValidationError]: ...
def get_json_data(self, escape_html: bool = ...) -> List[Dict[str, str]]: ...