Fixed incorrect type hints for Migration.dependencies.
- Legacy-Id: 16776
This commit is contained in:
parent
33e8733b91
commit
902f7769d1
|
@ -5,7 +5,7 @@ from __future__ import absolute_import, print_function, unicode_literals
|
|||
|
||||
import six
|
||||
if six.PY3:
|
||||
from typing import List # pyflakes:ignore
|
||||
from typing import List, Tuple # pyflakes:ignore
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
@ -17,7 +17,7 @@ class Migration(migrations.Migration):
|
|||
initial = True
|
||||
|
||||
dependencies = [
|
||||
] # type: List[str]
|
||||
] # type: List[Tuple[str]]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
|
|
|
@ -7,7 +7,7 @@ from __future__ import absolute_import, print_function, unicode_literals
|
|||
|
||||
import six
|
||||
if six.PY3:
|
||||
from typing import List # pyflakes:ignore
|
||||
from typing import List, Tuple # pyflakes:ignore
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
@ -17,7 +17,7 @@ class Migration(migrations.Migration):
|
|||
initial = True
|
||||
|
||||
dependencies = [
|
||||
] # type: List[str]
|
||||
] # type: List[Tuple[str]]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
|
|
|
@ -7,7 +7,7 @@ from __future__ import absolute_import, print_function, unicode_literals
|
|||
|
||||
import six
|
||||
if six.PY3:
|
||||
from typing import List # pyflakes:ignore
|
||||
from typing import List, Tuple # pyflakes:ignore
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
@ -17,7 +17,7 @@ class Migration(migrations.Migration):
|
|||
initial = True
|
||||
|
||||
dependencies = [
|
||||
] # type: List[str]
|
||||
] # type: List[Tuple[str]]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
|
|
|
@ -7,7 +7,7 @@ from __future__ import absolute_import, print_function, unicode_literals
|
|||
|
||||
import six
|
||||
if six.PY3:
|
||||
from typing import List # pyflakes:ignore
|
||||
from typing import List, Tuple # pyflakes:ignore
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
@ -19,7 +19,7 @@ class Migration(migrations.Migration):
|
|||
initial = True
|
||||
|
||||
dependencies = [
|
||||
] # type: List[str]
|
||||
] # type: List[Tuple[str]]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
|
|
|
@ -17,7 +17,7 @@ class Migration(migrations.Migration):
|
|||
initial = True
|
||||
|
||||
dependencies = [
|
||||
] # type: List[str]
|
||||
] # type: List[Tuple[str]]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
|
|
Loading…
Reference in a new issue