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

@@ -5,15 +5,8 @@ from django.db.models.base import Model
from .base import CommandError
def popen_wrapper(
args: List[str], stdout_encoding: str = ...
) -> Tuple[str, str, int]: ...
def popen_wrapper(args: List[str], stdout_encoding: str = ...) -> Tuple[str, str, int]: ...
def handle_extensions(extensions: List[str]) -> Set[str]: ...
def find_command(
cmd: str, path: None = ..., pathext: None = ...
) -> Optional[str]: ...
def find_command(cmd: str, path: None = ..., pathext: None = ...) -> Optional[str]: ...
def get_random_secret_key(): ...
def parse_apps_and_model_labels(
labels: List[str]
) -> Tuple[Set[Type[Model]], Set[AppConfig]]: ...
def parse_apps_and_model_labels(labels: List[str]) -> Tuple[Set[Type[Model]], Set[AppConfig]]: ...