8000 Improve typing of `Subsystem` to throw error when missing `help` (and other required ClassVars) · Issue #22085 · pantsbuild/pants · GitHub
[go: up one dir, main page]

Skip to content
Improve typing of Subsystem to throw error when missing help (and other required ClassVars) #22085
@sureshjoshi

Description

@sureshjoshi

Stems from this Slack convo: https://pantsbuild.slack.com/archives/C046T6T9U/p1741350745698019

But essentially, if someone adds a new subsystem, we require that they add a help (as we use it during pants help) - but it doesn't throw a pyright or mypy error if missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0