Skip to content

core.py line 31 #4

@AyushMaria

Description

@AyushMaria

E TypeError: 'type' object is not subscriptable

The line that causes the error above:

rules: list[BaseRule] = []

BaseRule is a class and cannot be used as a subscriptable. What were you trying here? I am a little clueless as to what the aim was here. I could probably patch it for you.

Is it a list of rules by any chance?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions