Skip to content

Commit 6b8f15a

Browse files
committed
Add annotations for migration to silence type error
1 parent a916910 commit 6b8f15a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

polls/migrations/0001_initial.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: utf-8 -*-
22
# Generated by Django 1.10.1a1 on 2016-08-26 14:38
33
from __future__ import unicode_literals
4+
from typing import Tuple, List
45

56
from django.db import migrations, models
67
import django.db.models.deletion
@@ -11,7 +12,7 @@ class Migration(migrations.Migration):
1112
initial = True
1213

1314
dependencies = [
14-
]
15+
] # type: List[Tuple[str, str]]
1516

1617
operations = [
1718
migrations.CreateModel(

0 commit comments

Comments
 (0)