stanley
stanley copied to clipboard
core.py line 31
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?