Skip to content

Commit d18f70e

Browse files
committed
bin the type statements
1 parent d743693 commit d18f70e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tools/build/generate_build_details.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
TYPE_CHECKING = False
1818
if TYPE_CHECKING:
19-
from typing import Any, Literal
19+
from typing import Any, Literal, TypeAlias
2020

21-
type StrPath = str | os.PathLike[str]
22-
type ValidSchemaVersion = Literal['1.0']
21+
StrPath: TypeAlias = str | os.PathLike[str]
22+
ValidSchemaVersion: TypeAlias = Literal['1.0']
2323

2424

2525
def write_build_details(

0 commit comments

Comments
 (0)