From ebf4e65180072670644b59e47a87261a390c52c5 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Thu, 1 Aug 2024 19:02:53 -0500 Subject: [PATCH] Fix mypy/isort errors --- python/lib/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/lib/utils.py b/python/lib/utils.py index 328bf729..e3cf2661 100644 --- a/python/lib/utils.py +++ b/python/lib/utils.py @@ -1,9 +1,10 @@ from pathlib import Path from typing import Any, overload + try: from typing import Literal except ImportError: - from typing_extensions import Literal + from typing_extensions import Literal # type: ignore @overload