run black over stubs, add checking to travis

This commit is contained in:
Maxim Kurnikov
2018-12-03 18:52:44 +03:00
parent d5bc7d4ab2
commit cf6119bf9b
420 changed files with 2295 additions and 8384 deletions

View File

@@ -3,7 +3,6 @@ from typing import Any, Union
from django.core.files import File
class ImageFile(File):
file: BufferedReader
mode: str
@@ -13,7 +12,4 @@ class ImageFile(File):
@property
def height(self) -> int: ...
def get_image_dimensions(
file_or_path: Union[BufferedReader, BytesIO, ImageFile, str],
close: bool = ...,
) -> Any: ...
def get_image_dimensions(file_or_path: Union[BufferedReader, BytesIO, ImageFile, str], close: bool = ...) -> Any: ...