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.migrations.loader import MigrationLoader
from django.db.migrations.migration import Migration
class Command(BaseCommand):
stderr: django.core.management.base.OutputWrapper
stdout: django.core.management.base.OutputWrapper
@@ -18,9 +17,5 @@ class Command(BaseCommand):
empty: bool = ...
migration_name: None = ...
def handle(self, *app_labels: Any, **options: Any): ...
def write_migration_files(
self, changes: Dict[str, List[Migration]]
) -> None: ...
def handle_merge(
self, loader: MigrationLoader, conflicts: Dict[str, Set[str]]
) -> None: ...
def write_migration_files(self, changes: Dict[str, List[Migration]]) -> None: ...
def handle_merge(self, loader: MigrationLoader, conflicts: Dict[str, Set[str]]) -> None: ...