Skip to content

fix: Enable unused import ruff check and fix unused imports#5652

Merged
sentrivana merged 4 commits intomasterfrom
ivana/more-unused-imports
Mar 13, 2026
Merged

fix: Enable unused import ruff check and fix unused imports#5652
sentrivana merged 4 commits intomasterfrom
ivana/more-unused-imports

Conversation

@sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Mar 12, 2026

No description provided.

@sentrivana sentrivana changed the title fix: Remove more unused imports fix: Enable unused import ruff check and fix more imports Mar 12, 2026
@sentrivana sentrivana marked this pull request as ready for review March 12, 2026 13:47
@sentrivana sentrivana requested a review from a team as a code owner March 12, 2026 13:47
@github-actions
Copy link
Contributor

github-actions bot commented Mar 13, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Pydantic Ai

  • Support ImageUrl content type in span instrumentation by ericapisani in #5629
  • Add tool description to execute_tool spans by ericapisani in #5596

Other

  • (crons) Add owner field to MonitorConfig by julwhitney13 in #5610
  • (otlp) Add collector_url option to OTLPIntegration by sl0thentr0py in #5603

Bug Fixes 🐛

  • (celery) Propagate user-set headers by sentrivana in #5581
  • (utils) Avoid double serialization of strings in safe_serialize by ericapisani in #5587
  • Enable unused import ruff check and fix unused imports by sentrivana in #5652

Documentation 📚

  • (openai-agents) Remove inapplicable comment by alexander-alderman-webb in #5495
  • Add AGENTS.md by sentrivana in #5579
  • Add set_attribute example to changelog by sentrivana in #5578

Internal Changes 🔧

Docs

  • Switch agentic workflows from Copilot to Claude engine by dingsdax in #5654
  • Add agentic workflows for codebase documentation by dingsdax in #5649

Openai Agents

  • Do not fail on new tool fields by alexander-alderman-webb in #5625
  • Stop expecting a specific function name by alexander-alderman-webb in #5623
  • Set streaming header when library uses with_streaming_response() by alexander-alderman-webb in #5583
  • Replace mocks with httpx for streamed responses by alexander-alderman-webb in #5580
  • Replace mocks with httpx in non-MCP tool tests by alexander-alderman-webb in #5602
  • Replace mocks with httpx in MCP tool tests by alexander-alderman-webb in #5605
  • Replace mocks with httpx in handoff tests by alexander-alderman-webb in #5604
  • Replace mocks with httpx in API error test by alexander-alderman-webb in #5601
  • Replace mocks with httpx in non-error single-response tests by alexander-alderman-webb in #5600
  • Remove test for unreachable state by alexander-alderman-webb in #5584
  • Expect namespace tool field for new openai versions by alexander-alderman-webb in #5599

Other

  • (graphene) Simplify span creation by sentrivana in #5648
  • (httpx) Resolve type checking failures by alexander-alderman-webb in #5626
  • (pyramid) Support alpha suffixes in version parsing by alexander-alderman-webb in #5618
  • (rust) Don't implement separate scope management by sentrivana in #5639
  • (strawberry) Simplify span creation by sentrivana in #5647
  • Add httpx to linting requirements by alexander-alderman-webb in #5644
  • Remove CodeQL action by sentrivana in #5616
  • Normalize dots in package names in populate_tox.py by alexander-alderman-webb in #5574
  • Do not run actions on potel-base by sentrivana in #5614

🤖 This preview updates automatically when you update the PR.

@sentrivana sentrivana changed the title fix: Enable unused import ruff check and fix more imports fix: Enable unused import ruff check and fix unused imports Mar 13, 2026
@sentrivana sentrivana enabled auto-merge (squash) March 13, 2026 07:37
@github-actions
Copy link
Contributor

github-actions bot commented Mar 13, 2026

Codecov Results 📊

134 passed | Total: 134 | Pass Rate: 100% | Execution Time: 20.65s

All tests are passing successfully.

❌ Patch coverage is 66.67%. Project has 13479 uncovered lines.

Files with missing lines (29)
File Patch % Lines
utils.py 52.63% ⚠️ 432 Missing and 80 partials
scope.py 62.03% ⚠️ 322 Missing and 70 partials
client.py 55.49% ⚠️ 223 Missing and 60 partials
tracing.py 69.68% ⚠️ 144 Missing and 49 partials
strawberry.py 8.63% ⚠️ 180 Missing
ai_client.py 0.00% ⚠️ 147 Missing
utils.py 81.42% ⚠️ 89 Missing and 54 partials
openai.py 89.50% ⚠️ 63 Missing and 56 partials
agent_run.py 0.00% ⚠️ 96 Missing
utils.py 74.31% ⚠️ 65 Missing and 29 partials
__init__.py 4.71% ⚠️ 81 Missing
server.py 0.00% ⚠️ 56 Missing
graph_nodes.py 0.00% ⚠️ 51 Missing
_span_batcher.py 30.99% ⚠️ 49 Missing
anthropic.py 90.94% ⚠️ 25 Missing and 23 partials
_batcher.py 41.25% ⚠️ 47 Missing
server.py 0.00% ⚠️ 34 Missing
error_tracing.py 0.00% ⚠️ 27 Missing
tasks.py 0.00% ⚠️ 23 Missing
logger.py 43.59% ⚠️ 22 Missing
_log_batcher.py 0.00% ⚠️ 21 Missing
streaming.py 91.94% ⚠️ 5 Missing and 15 partials
__init__.py 27.78% ⚠️ 13 Missing
_types.py 64.71% ⚠️ 12 Missing
metrics.py 47.06% ⚠️ 9 Missing
_metrics_batcher.py 63.16% ⚠️ 7 Missing
__init__.py 20.00% ⚠️ 4 Missing
__init__.py 40.00% ⚠️ 3 Missing
consts.py 99.43% ⚠️ 2 Missing

Generated by Codecov Action

@sentrivana sentrivana merged commit 58361ce into master Mar 13, 2026
165 checks passed
@sentrivana sentrivana deleted the ivana/more-unused-imports branch March 13, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants