Skip to content

Commit

Permalink
added .missing "from __future__ import annotations" statements
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Jul 21, 2020
1 parent 406be5f commit 19e18c3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions piccolo/apps/asgi/commands/new.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import colorama
from jinja2 import Environment, FileSystemLoader
import os
Expand Down
1 change: 1 addition & 0 deletions piccolo/apps/migrations/auto/migration_manager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from dataclasses import dataclass, field
import inspect
import typing as t
Expand Down
2 changes: 1 addition & 1 deletion piccolo/apps/migrations/auto/schema_differ.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations
from copy import deepcopy
from dataclasses import dataclass, field
from itertools import chain
import typing as t

from piccolo.apps.migrations.auto.diffable_table import (
Expand Down
1 change: 1 addition & 0 deletions piccolo/apps/migrations/auto/serialisation_legacy.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import datetime
import typing as t

Expand Down
1 change: 1 addition & 0 deletions tests/apps/migrations/auto/test_schema_differ.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import typing as t
from unittest import TestCase

Expand Down
3 changes: 2 additions & 1 deletion tests/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from unittest import TestCase
from __future__ import annotations
import typing as t
from unittest import TestCase

import pytest

Expand Down

0 comments on commit 19e18c3

Please sign in to comment.