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,18 +3,10 @@ from typing import Any, Optional
from django.core.handlers.wsgi import WSGIRequest
from django.http.response import FileResponse
def serve(
request: WSGIRequest,
path: str,
document_root: str = ...,
show_indexes: bool = ...,
) -> FileResponse: ...
def serve(request: WSGIRequest, path: str, document_root: str = ..., show_indexes: bool = ...) -> FileResponse: ...
DEFAULT_DIRECTORY_INDEX_TEMPLATE: str
template_translatable: Any
def directory_index(path: Any, fullpath: Any): ...
def was_modified_since(
header: None = ..., mtime: float = ..., size: int = ...
) -> bool: ...
def was_modified_since(header: None = ..., mtime: float = ..., size: int = ...) -> bool: ...