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

@@ -25,7 +25,12 @@ class TemporaryUploadedFile(UploadedFile):
file: tempfile._TemporaryFileWrapper
mode: str
def __init__(
self, name: str, content_type: str, size: int, charset: Optional[str], content_type_extra: Optional[Dict[Any, Any]] = ...
self,
name: str,
content_type: str,
size: int,
charset: Optional[str],
content_type_extra: Optional[Dict[Any, Any]] = ...,
) -> None: ...
def temporary_file_path(self) -> str: ...
def close(self) -> None: ...