Skip to content

Commit 6f01ad8

Browse files
committed
Move import to TYPE_CHECKING
1 parent 3568c54 commit 6f01ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release_management/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import annotations
22

33
import sys
4-
import datetime as dt
54
from dataclasses import dataclass
65
from pathlib import Path
76

@@ -12,6 +11,7 @@
1211

1312
TYPE_CHECKING = False
1413
if TYPE_CHECKING:
14+
import datetime as dt
1515
from typing import Literal, TypeAlias
1616

1717
ReleaseState: TypeAlias = Literal['actual', 'expected']

0 commit comments

Comments
 (0)