Skip to content

refactor(skore): Change ReportType from Literal to enum.StrEnum #2356

@auguste-probabl

Description

@auguste-probabl

What would you like to say?

The report type is used in many places, but because we use literal strings there is no auto-completion and the type-checking might not work properly. Using StrEnum is the right tool for this.

The report type is also used in the ComparisonReport to identify which type of report is being compared: the refactor should also touch that part of the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions