Skip to content

Commit 3747b30

Browse files
authored
Merge pull request #48 from ensan-hcl/fix/add_future_type_annotation_imports
[Fix] make code work in Python3.8
2 parents d060c59 + 2168908 commit 3747b30

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

python/source/actions.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
from enum import Enum, unique
23
from typing import Literal
34

python/source/custard.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
from pathlib import Path
23
from .layout import *
34
from .keys import *

python/source/design.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
import json
23
from enum import Enum, unique
34

python/source/json.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
from enum import Enum
23
import collections
34

python/source/keys.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
import json
23
from .variations import *
34
from .design import *

python/source/layout.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
import json
23
from enum import Enum, unique
34

python/source/variations.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import annotations
12
import json
23
from .design import *
34
from .actions import *

0 commit comments

Comments
 (0)