Skip to content

Commit c597a0e

Browse files
committed
fixup! Add CADET meta information to Runner classes
1 parent 26e19e9 commit c597a0e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cadet/cadet_dll.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2115,5 +2115,5 @@ def cadet_commit_hash(self) -> str:
21152115
return self._cadet_commit_hash
21162116

21172117
@property
2118-
def cadet_path(self) -> str | os.PathLike:
2118+
def cadet_path(self) -> os.PathLike:
21192119
return self._cadet_path

cadet/runner.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class CadetRunnerBase(ABC):
3333
3434
Subclasses must implement the `run`, `clear`, and `load_results` methods.
3535
"""
36-
cadet_path: Optional[pathlib.Path] = None
3736

3837
@abstractmethod
3938
def run(
@@ -99,7 +98,7 @@ def cadet_commit_hash(self) -> str:
9998

10099
@property
101100
@abstractmethod
102-
def cadet_path(self) -> str:
101+
def cadet_path(self) -> Optional[os.PathLike]:
103102
pass
104103

105104

@@ -254,5 +253,5 @@ def cadet_commit_hash(self) -> str:
254253
return self._cadet_commit_hash
255254

256255
@property
257-
def cadet_path(self) -> str | os.PathLike:
256+
def cadet_path(self) -> os.PathLike:
258257
return self._cadet_path

0 commit comments

Comments
 (0)