Skip to content

ci: Enable Ruff import ordering#6270

Merged
alexander-alderman-webb merged 7 commits into
masterfrom
webb/enable-import-ordering
May 15, 2026
Merged

ci: Enable Ruff import ordering#6270
alexander-alderman-webb merged 7 commits into
masterfrom
webb/enable-import-ordering

merge master

504b649
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: find-bugs completed May 15, 2026 in 10m 43s

2 issues

find-bugs: Found 2 issues (2 low)

Low

Duplicate `StreamedSpan` import: once at runtime and once inside `TYPE_CHECKING` - `sentry_sdk/api.py:41`

StreamedSpan is already imported at the module level on line 11, so the re-import inside if TYPE_CHECKING: on line 41 is redundant and should be removed.

Missing pydantic raises misleading 'Starlite is not installed' error - `sentry_sdk/integrations/starlite.py:15-27`

Moving from pydantic import BaseModel to the top of the try block means a missing pydantic package now raises DidNotEnable("Starlite is not installed") before any Starlite import is even attempted, producing a misleading error message.


⏱ 10m 29s · 1.8M in / 46.4k out · $3.75