From 4269eb83acdc15e65e65dc0ed2b844d8444f12ab Mon Sep 17 00:00:00 2001 From: Paul Zehner Date: Fri, 23 Feb 2024 10:41:06 +0100 Subject: [PATCH] Fix typing error --- src/dependencmake/filesystem.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dependencmake/filesystem.py b/src/dependencmake/filesystem.py index 84a8548..1605e5a 100644 --- a/src/dependencmake/filesystem.py +++ b/src/dependencmake/filesystem.py @@ -1,3 +1,5 @@ +from typing import Optional + from path import Path CACHE = Path("dependencmake") @@ -10,7 +12,7 @@ def clean( fetch: bool = False, build: bool = False, install: bool = False, - install_path: Path | None = None, + install_path: Optional[Path] = None, ): """Clean cache directories.""" if fetch: