Skip to content

Commit fb6bae8

Browse files
Fix Go fmt blank comment line and Python import ordering
- Add blank // comment line between doc example and extractTransformCallbacks function doc comment in go/client.go (required by go fmt) - Fix ruff import sorting in python/copilot/__init__.py Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 16f221b commit fb6bae8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

go/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ func (c *Client) ensureConnected(ctx context.Context) error {
482482
// },
483483
// },
484484
// })
485+
//
485486
// extractTransformCallbacks separates transform callbacks from a SystemMessageConfig,
486487
// returning a wire-safe config and a map of callbacks (nil if none).
487488
func extractTransformCallbacks(config *SystemMessageConfig) (*SystemMessageConfig, map[string]SectionTransformFn) {

python/copilot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from .session import CopilotSession
99
from .tools import define_tool
1010
from .types import (
11+
SYSTEM_PROMPT_SECTIONS,
1112
Attachment,
1213
AzureProviderOptions,
1314
BlobAttachment,
@@ -30,7 +31,6 @@
3031
PermissionRequestResult,
3132
PingResponse,
3233
ProviderConfig,
33-
SYSTEM_PROMPT_SECTIONS,
3434
SectionOverride,
3535
SectionOverrideAction,
3636
SectionTransformFn,

0 commit comments

Comments
 (0)