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

@@ -4,7 +4,6 @@ from django.core.management.base import BaseCommand, CommandParser
from django.db.backends.sqlite3.base import DatabaseWrapper
from django.db.migrations.migration import Migration
class Command(BaseCommand):
stderr: django.core.management.base.OutputWrapper
stdout: django.core.management.base.OutputWrapper
@@ -15,12 +14,5 @@ class Command(BaseCommand):
interactive: Any = ...
def handle(self, *args: Any, **options: Any) -> None: ...
start: Any = ...
def migration_progress_callback(
self,
action: str,
migration: Optional[Migration] = ...,
fake: bool = ...,
) -> None: ...
def sync_apps(
self, connection: DatabaseWrapper, app_labels: Set[str]
) -> None: ...
def migration_progress_callback(self, action: str, migration: Optional[Migration] = ..., fake: bool = ...) -> None: ...
def sync_apps(self, connection: DatabaseWrapper, app_labels: Set[str]) -> None: ...