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

@@ -40,7 +40,9 @@ class OutputWrapper(TextIOBase):
def style_func(self, style_func: Any): ...
style_func: Any = ...
ending: str = ...
def __init__(self, out: Union[StringIO, TextIOWrapper], style_func: Optional[Callable] = ..., ending: str = ...) -> None: ...
def __init__(
self, out: Union[StringIO, TextIOWrapper], style_func: Optional[Callable] = ..., ending: str = ...
) -> None: ...
def __getattr__(self, name: str) -> Callable: ...
def isatty(self) -> bool: ...
def write(self, msg: str, style_func: Optional[Callable] = ..., ending: Optional[str] = ...) -> None: ...
@@ -55,7 +57,9 @@ class BaseCommand:
stdout: django.core.management.base.OutputWrapper = ...
stderr: django.core.management.base.OutputWrapper = ...
style: django.core.management.color.Style = ...
def __init__(self, stdout: Optional[StringIO] = ..., stderr: Optional[StringIO] = ..., no_color: bool = ...) -> None: ...
def __init__(
self, stdout: Optional[StringIO] = ..., stderr: Optional[StringIO] = ..., no_color: bool = ...
) -> None: ...
def get_version(self) -> str: ...
def create_parser(self, prog_name: str, subcommand: str) -> CommandParser: ...
def add_arguments(self, parser: CommandParser) -> None: ...