Skip to content

Commit 929baa4

Browse files
patnikoCopilot
andcommitted
fix: resolve ruff line-length lint errors in Python SDK
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9480208 commit 929baa4

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

python/copilot/client.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,16 +1135,18 @@ async def _verify_protocol_version(self) -> None:
11351135

11361136
if server_version is None:
11371137
raise RuntimeError(
1138-
f"SDK protocol version mismatch: SDK supports versions {min_version}-{max_version}, "
1139-
f"but server does not report a protocol version. "
1140-
f"Please update your server to ensure compatibility."
1138+
"SDK protocol version mismatch: "
1139+
f"SDK supports versions {min_version}-{max_version}, "
1140+
"but server does not report a protocol version. "
1141+
"Please update your server to ensure compatibility."
11411142
)
11421143

11431144
if server_version < min_version or server_version > max_version:
11441145
raise RuntimeError(
1145-
f"SDK protocol version mismatch: SDK supports versions {min_version}-{max_version}, "
1146+
"SDK protocol version mismatch: "
1147+
f"SDK supports versions {min_version}-{max_version}, "
11461148
f"but server reports version {server_version}. "
1147-
f"Please update your SDK or server to ensure compatibility."
1149+
"Please update your SDK or server to ensure compatibility."
11481150
)
11491151

11501152
self._negotiated_protocol_version = server_version

0 commit comments

Comments
 (0)