From 761b7315c0e2ae8907a0dc463fea5451195006b1 Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Sun, 13 Oct 2024 11:05:51 +0300 Subject: [PATCH] Fix formatting --- src/pyswip/utils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pyswip/utils.py b/src/pyswip/utils.py index 943ae7a..006cda3 100644 --- a/src/pyswip/utils.py +++ b/src/pyswip/utils.py @@ -27,9 +27,7 @@ def resolve_path(filename: str, relative_to: Union[str, Path] = "") -> Path: return Path(filename) relative_to = Path(relative_to) if not relative_to.exists(): - raise FileNotFoundError( - None, "Relative path does not exist", str(relative_to) - ) + raise FileNotFoundError(None, "Relative path does not exist", str(relative_to)) if relative_to.is_symlink(): raise ValueError("Symbolic links are not supported") if relative_to.is_dir():