ci: Enable Ruff import ordering#6270
Merged
Merged
@sentry/warden / warden
completed
May 15, 2026 in 10m 44s
2 issues
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.
4 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| security-review | 0 | 3m 7s | $2.70 |
| code-review | 0 | 6m 4s | $2.94 |
| find-bugs | 2 | 10m 29s | $3.75 |
| skill-scanner | 0 | 1m 25s | $2.32 |
⏱ 21m 5s · 6.6M in / 67.8k out · $11.71
Loading