Update typecheck_tests to django 2.2 branch, remove unused ignores (#98)

* update typecheck_tests to django 2.2 branch, remove unused ignores

* lint fixes
This commit is contained in:
Maxim Kurnikov
2019-07-01 18:44:34 +03:00
committed by GitHub
parent 4e1c32f6a3
commit a77d5b27d8
14 changed files with 124 additions and 215 deletions

View File

@@ -21,7 +21,7 @@ class OperationWriter:
class MigrationWriter:
migration: Migration = ...
needs_manual_porting: bool = ...
def __init__(self, migration: Union[type, Migration]) -> None: ...
def __init__(self, migration: Union[type, Migration], include_header: bool = ...) -> None: ...
def as_string(self) -> str: ...
@property
def basedir(self) -> str: ...