diff --git a/flepimop/gempyor_pkg/src/gempyor/info.py b/flepimop/gempyor_pkg/src/gempyor/info.py index 09475e96c..1048f3f8a 100644 --- a/flepimop/gempyor_pkg/src/gempyor/info.py +++ b/flepimop/gempyor_pkg/src/gempyor/info.py @@ -13,11 +13,13 @@ class Module(BaseModel): name: str version: str | None = None + class PathExport(BaseModel): path: Path prepend: bool = True error_if_missing: bool = False + class Cluster(BaseModel): name: str modules: list[Module] = [] diff --git a/flepimop/gempyor_pkg/tests/utils/test__git_head.py b/flepimop/gempyor_pkg/tests/utils/test__git_head.py index 0f789bea6..5005bf86e 100644 --- a/flepimop/gempyor_pkg/tests/utils/test__git_head.py +++ b/flepimop/gempyor_pkg/tests/utils/test__git_head.py @@ -27,9 +27,7 @@ def shutil_which_wraps( check: bool = True, ) -> str | None: return ( - "git" - if cmd == "git" - else _shutil_which(cmd, mode=mode, path=path, check=check) + "git" if cmd == "git" else _shutil_which(cmd, mode=mode, path=path, check=check) ) def subprocess_run_wraps(args, **kwargs):