diff --git a/custtypes.py b/custtypes.py new file mode 100644 index 0000000..7409f48 --- /dev/null +++ b/custtypes.py @@ -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] \ No newline at end of file