From f5af9a7639f5644382be5e8b26ea30ca01e7b20e Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Thu, 25 Dec 2025 09:40:04 -0500 Subject: [PATCH] added some custom types to be used in other modules --- custtypes.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 custtypes.py 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