added some custom types to be used in other modules
This commit is contained in:
9
custtypes.py
Normal file
9
custtypes.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
"""
|
||||||
|
Library of custom type hints.
|
||||||
|
"""
|
||||||
|
|
||||||
|
from typing import TypeAlias as Neotype
|
||||||
|
from pathlib import PurePosixPath, PureWindowsPath, PosixPath, WindowsPath
|
||||||
|
|
||||||
|
ExecutedPath: Neotype = Union[PosixPath, WindowsPath]
|
||||||
|
IdlePath: Neotype = Union[PurePosixPath, PureWindowsPath]
|
||||||
Reference in New Issue
Block a user