@@ -44,9 +44,7 @@ def resolve_provider_executable(root: Path | None = None) -> Path:
4444 candidate = root / candidate
4545 if candidate .exists ():
4646 return candidate .resolve ()
47- raise FileNotFoundError (
48- f"ANOLIS_PROVIDER_SIM_EXE points to missing file: { candidate } "
49- )
47+ raise FileNotFoundError (f"ANOLIS_PROVIDER_SIM_EXE points to missing file: { candidate } " )
5048
5149 candidates = [
5250 root / "build" / "Release" / "anolis-provider-sim.exe" ,
@@ -60,11 +58,7 @@ def resolve_provider_executable(root: Path | None = None) -> Path:
6058 root / "build" / "ci-linux-release" / "anolis-provider-sim" ,
6159 root / "build" / "ci-linux-release-strict" / "anolis-provider-sim" ,
6260 root / "build" / "ci-windows-release" / "Release" / "anolis-provider-sim.exe" ,
63- root
64- / "build"
65- / "ci-windows-release-strict"
66- / "Release"
67- / "anolis-provider-sim.exe" ,
61+ root / "build" / "ci-windows-release-strict" / "Release" / "anolis-provider-sim.exe" ,
6862 root / "build" / "ci-linux-release-fluxgraph" / "anolis-provider-sim" ,
6963 root / "build" / "ci-linux-release-fluxgraph-strict" / "anolis-provider-sim" ,
7064 ]
@@ -73,9 +67,7 @@ def resolve_provider_executable(root: Path | None = None) -> Path:
7367 return candidate .resolve ()
7468
7569 candidate_text = "\n " .join (f" - { path } " for path in candidates )
76- raise FileNotFoundError (
77- "Could not find anolis-provider-sim executable. Checked:\n " + candidate_text
78- )
70+ raise FileNotFoundError ("Could not find anolis-provider-sim executable. Checked:\n " + candidate_text )
7971
8072
8173def resolve_fluxgraph_server (root : Path | None = None ) -> Path :
@@ -89,17 +81,11 @@ def resolve_fluxgraph_server(root: Path | None = None) -> Path:
8981 candidate = root / candidate
9082 if candidate .exists ():
9183 return candidate .resolve ()
92- raise FileNotFoundError (
93- f"FLUXGRAPH_SERVER_EXE points to missing file: { candidate } "
94- )
84+ raise FileNotFoundError (f"FLUXGRAPH_SERVER_EXE points to missing file: { candidate } " )
9585
9686 fluxgraph_root = root .parent / "fluxgraph"
9787 candidates = [
98- fluxgraph_root
99- / "build-release-server"
100- / "server"
101- / "Release"
102- / "fluxgraph-server.exe" ,
88+ fluxgraph_root / "build-release-server" / "server" / "Release" / "fluxgraph-server.exe" ,
10389 fluxgraph_root / "build-server" / "server" / "Release" / "fluxgraph-server.exe" ,
10490 fluxgraph_root / "build" / "server" / "Release" / "fluxgraph-server.exe" ,
10591 fluxgraph_root / "build-release-server" / "server" / "fluxgraph-server" ,
@@ -111,9 +97,7 @@ def resolve_fluxgraph_server(root: Path | None = None) -> Path:
11197 return candidate .resolve ()
11298
11399 candidate_text = "\n " .join (f" - { path } " for path in candidates )
114- raise FileNotFoundError (
115- "Could not find fluxgraph-server executable. Checked:\n " + candidate_text
116- )
100+ raise FileNotFoundError ("Could not find fluxgraph-server executable. Checked:\n " + candidate_text )
117101
118102
119103def resolve_config_path (path : str | Path , root : Path | None = None ) -> Path :
0 commit comments