Skip to content

Allow for defining profiles without sections #5015

@kontur

Description

@kontur

I may want to define a custom profile that is only a mix and match of other profiles and excluded checks, however a PROFILE definition requires a section. One can fake not defining sections like so, but this seems moot:

PROFILE = {
    "sections": {
        "": []
    },
…

If internally there is a need to have an (empty) section then the default for a PROFILE without defined sections should just be this mock empty value and allow the user to define profiles without explicit sections.

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