Fix formatting - #241
Open
Radhika Gupta (rads-1996) wants to merge 1 commit into
Open
Conversation
Radhika Gupta (rads-1996)
requested review from
Jackson Weber (JacksonWeber),
Nev (MSNev),
ajmfehr,
Pujarini Mohapatra (biswapm),
Grant Harris (gwharris7),
Hector Hernandez (hectorhdzg),
Jeremy Voss (jeremydvoss),
Julio Carlos Menendez (juliomenendez),
Leighton Chen (lzchen) and
Nikhil Navakiran (nikhilNava)
as code owners
August 7, 2026 20:53
Performance comparisonThreshold: regressions >15.0% on gating scenarios fail the build. Higher ops/s is better; positive Δ means the PR is slower.
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR applies formatting-only updates across several test modules and a few runtime modules, aligning code style with the repo’s configured formatter settings (e.g., Black with line-length = 120).
Changes:
- Rewrapped/condensed multiline expressions (list comprehensions, function calls, and assertions) for consistent formatting.
- Removed stray blank/whitespace-only lines in a couple of modules.
- Minor slice-spacing adjustment in token parsing logic.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/a365/test_exporter.py | Reformats assertLogs context manager usage. |
| tests/a365/integration/openai/test_openai_trace_processor.py | Condenses model construction and some list comprehensions/conditionals for style consistency. |
| tests/a365/integration/openai/test_message_format.py | Reformats dict appends, list comprehensions, and assertion message formatting. |
| tests/a365/integration/langchain/test_observability_pipeline.py | Reformats assertions and list comprehensions. |
| tests/a365/integration/langchain/test_message_format.py | Condenses list comprehension and assertion formatting. |
| tests/a365/integration/agentframework/test_observability_pipeline.py | Reformats assertions and related formatting blocks. |
| tests/a365/integration/agentframework/test_message_format.py | Condenses helper/list comprehensions and assertion formatting. |
| tests/a365/integration/agentframework/test_agentframework_trace_processor.py | Condenses test function signature and conditional formatting. |
| src/microsoft/opentelemetry/a365/core/message_utils.py | Condenses list comprehension in message serialization. |
| src/microsoft/opentelemetry/a365/core/exporters/agent365_exporter.py | Adjusts slice formatting in Bearer token parsing. |
| src/microsoft/opentelemetry/_utils.py | Condenses a multi-line guard condition into a single line. |
| src/microsoft/opentelemetry/_sdkstats/_constants.py | Removes a stray whitespace-only line. |
| src/microsoft/opentelemetry/_otlp/handler.py | Removes a stray whitespace-only line. |
| src/microsoft/opentelemetry/_genai/_langchain/_tracer.py | Condenses a conditional assignment to a single line. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jackson Weber (JacksonWeber)
approved these changes
Aug 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.