Skip to content

Commit d633940

Browse files
committed
proper Literal import
1 parent 117893e commit d633940

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

core/SCsub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
from misc.utility.scons_hints import *
33

44
import os
5+
from typing import TYPE_CHECKING
56

67
import core_builders
78

89
import methods
9-
from typing import TYPE_CHECKING
1010

1111
if TYPE_CHECKING:
1212
from godot_typing import GodotSConsEnvironment

platform_methods.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
from misc.utility.scons_hints import Literal
2-
31
import os
42
import platform
53
import subprocess
64
import sys
7-
from typing import Dict, List
5+
from typing import Dict, List, Literal
86

97
import methods
108

0 commit comments

Comments
 (0)