reformat with black

This commit is contained in:
Maxim Kurnikov committed 2018-07-29 23:34:58 +03:00
1 parent 4866354600
commit cf85607969
343 files changed
+6054 -2158

No files matched your search

+3 -14
View File
@@ -1,13 +1,6 @@
from django.db.migrations.migration import Migration
from django.db.migrations.operations.base import Operation
from typing import (
Any,
Set,
Tuple,
Type,
Union,
)
from typing import Any, Set, Tuple, Type, Union
class MigrationWriter:
def __init__(self, migration: Migration) -> None: ...
@@ -21,7 +14,6 @@ class MigrationWriter:
@classmethod
def serialize(cls, value: Any) -> Union[Tuple[str, Set[str]], Tuple[str, Set[Any]]]: ...
class OperationWriter:
def __init__(self, operation: Operation, indentation: int = ...) -> None: ...
def feed(self, line: str) -> None: ...
@@ -30,12 +22,9 @@ class OperationWriter:
def serialize(self) -> Union[Tuple[str, Set[str]], Tuple[str, Set[Any]]]: ...
def unindent(self) -> None: ...
class SettingsReference:
def __init__(self, value: str, setting_name: str) -> None: ...
@staticmethod
def __new__(
self: Type[SettingsReference],
value: str,
setting_name: str
) -> SettingsReference: ...
self: Type[SettingsReference], value: str, setting_name: str
) -> SettingsReference: ...