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,17 +3,8 @@ from typing import Any, List, Optional
from django.core.management.color import Style
from django.db.backends.sqlite3.base import DatabaseWrapper
def sql_flush(
style: Style,
connection: DatabaseWrapper,
only_django: bool = ...,
reset_sequences: bool = ...,
allow_cascade: bool = ...,
style: Style, connection: DatabaseWrapper, only_django: bool = ..., reset_sequences: bool = ..., allow_cascade: bool = ...
) -> List[str]: ...
def emit_pre_migrate_signal(
verbosity: int, interactive: bool, db: str, **kwargs: Any
) -> None: ...
def emit_post_migrate_signal(
verbosity: int, interactive: bool, db: str, **kwargs: Any
) -> None: ...
def emit_pre_migrate_signal(verbosity: int, interactive: bool, db: str, **kwargs: Any) -> None: ...
def emit_post_migrate_signal(verbosity: int, interactive: bool, db: str, **kwargs: Any) -> None: ...