Skip to content

Commit 19e18c3

Browse files
committed
added .missing "from __future__ import annotations" statements
1 parent 406be5f commit 19e18c3

File tree

6 files changed

+7
-2
lines changed

6 files changed

+7
-2
lines changed

piccolo/apps/asgi/commands/new.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
import colorama
23
from jinja2 import Environment, FileSystemLoader
34
import os

piccolo/apps/migrations/auto/migration_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
from dataclasses import dataclass, field
23
import inspect
34
import typing as t

piccolo/apps/migrations/auto/schema_differ.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
from __future__ import annotations
12
from copy import deepcopy
23
from dataclasses import dataclass, field
3-
from itertools import chain
44
import typing as t
55

66
from piccolo.apps.migrations.auto.diffable_table import (

piccolo/apps/migrations/auto/serialisation_legacy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
import datetime
23
import typing as t
34

tests/apps/migrations/auto/test_schema_differ.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
import typing as t
23
from unittest import TestCase
34

tests/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
from unittest import TestCase
1+
from __future__ import annotations
22
import typing as t
3+
from unittest import TestCase
34

45
import pytest
56

0 commit comments

Comments
 (0)