-
Notifications
You must be signed in to change notification settings - Fork 148
chore: audit F401 noqa suppressions -- genuine re-exports vs dead code #1003
Copy link
Copy link
Open
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).priority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).tech-debttype/refactorInternal restructure, no behavior change.Internal restructure, no behavior change.
Milestone
Metadata
Metadata
Assignees
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).priority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).tech-debttype/refactorInternal restructure, no behavior change.Internal restructure, no behavior change.
Type
Projects
Status
Todo
Context
PR #999 added
# noqa: F401directives to preserve existing import patterns when enabling Ruff's F401 (unused import) rule. Many of these are intentional re-exports (e.g.,__init__.pybarrels), but some may be genuinely dead code.Scope
Task
# noqa: F401insrc/to classify as:# noqa: F401or convert to__all__declaration[tool.ruff.lint.isort] known-first-partyor__all__patterns to make intent explicittests/) can be audited separately -- most F401 there are fixture imports or mock targetsReferences