From e07509c30cff1c1883dde4048ceeec011dd1c66a Mon Sep 17 00:00:00 2001 From: Florian Rupprecht Date: Wed, 11 Sep 2024 14:42:08 -0400 Subject: [PATCH] Fix tests failing --- src/styxdefs/types.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/styxdefs/types.py b/src/styxdefs/types.py index 38b3a9a..e4f849c 100644 --- a/src/styxdefs/types.py +++ b/src/styxdefs/types.py @@ -4,13 +4,10 @@ import shlex import typing -if typing.TYPE_CHECKING: - InputPathType = pathlib.Path | str - """Input host file type.""" - OutputPathType = pathlib.Path - """Output host file type.""" -else: - InputPathType = OutputPathType = None +InputPathType = pathlib.Path | str +"""Input host file type.""" +OutputPathType = pathlib.Path +"""Output host file type.""" class Execution(typing.Protocol):