From 6206cff8ac84fb3085c67d9dfd378c7f16ef91f2 Mon Sep 17 00:00:00 2001 From: tazlin Date: Fri, 6 Dec 2024 09:13:29 -0500 Subject: [PATCH] style: fix --- tests/conftest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index ff81a1cf..9651bb0d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -35,8 +35,10 @@ def tracked_dependencies() -> list[str]: return TRACKED_DEPENDENCIES -def get_dependency_versions(requirements_file_path: str) -> dict[str, str]: +def get_dependency_versions(requirements_file_path: str | Path) -> dict[str, str]: """Get the versions of horde dependencies from the given requirements file.""" + requirements_file_path = Path(requirements_file_path) + with open(requirements_file_path) as f: requirements = f.readlines()