Skip to content

Commit 902f776

Browse files
committed
Fixed incorrect type hints for Migration.dependencies.
- Legacy-Id: 16776
1 parent 33e8733 commit 902f776

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

ietf/community/migrations/0001_initial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import six
77
if six.PY3:
8-
from typing import List # pyflakes:ignore
8+
from typing import List, Tuple # pyflakes:ignore
99

1010
from django.db import migrations, models
1111
import django.db.models.deletion
@@ -17,7 +17,7 @@ class Migration(migrations.Migration):
1717
initial = True
1818

1919
dependencies = [
20-
] # type: List[str]
20+
] # type: List[Tuple[str]]
2121

2222
operations = [
2323
migrations.CreateModel(

ietf/dbtemplate/migrations/0001_initial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import six
99
if six.PY3:
10-
from typing import List # pyflakes:ignore
10+
from typing import List, Tuple # pyflakes:ignore
1111

1212
from django.db import migrations, models
1313

@@ -17,7 +17,7 @@ class Migration(migrations.Migration):
1717
initial = True
1818

1919
dependencies = [
20-
] # type: List[str]
20+
] # type: List[Tuple[str]]
2121

2222
operations = [
2323
migrations.CreateModel(

ietf/mailtrigger/migrations/0001_initial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import six
99
if six.PY3:
10-
from typing import List # pyflakes:ignore
10+
from typing import List, Tuple # pyflakes:ignore
1111

1212
from django.db import migrations, models
1313

@@ -17,7 +17,7 @@ class Migration(migrations.Migration):
1717
initial = True
1818

1919
dependencies = [
20-
] # type: List[str]
20+
] # type: List[Tuple[str]]
2121

2222
operations = [
2323
migrations.CreateModel(

ietf/name/migrations/0001_initial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import six
99
if six.PY3:
10-
from typing import List # pyflakes:ignore
10+
from typing import List, Tuple # pyflakes:ignore
1111

1212
from django.db import migrations, models
1313
import django.db.models.deletion
@@ -19,7 +19,7 @@ class Migration(migrations.Migration):
1919
initial = True
2020

2121
dependencies = [
22-
] # type: List[str]
22+
] # type: List[Tuple[str]]
2323

2424
operations = [
2525
migrations.CreateModel(

ietf/utils/migrations/0001_initial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Migration(migrations.Migration):
1717
initial = True
1818

1919
dependencies = [
20-
] # type: List[str]
20+
] # type: List[Tuple[str]]
2121

2222
operations = [
2323
migrations.CreateModel(

0 commit comments

Comments
 (0)