refactor: rules with nodes (#94) #67
Annotations
10 errors
build:
examples/kaktovik.py#L15
No overloads for "__call__" match the provided arguments (reportCallIssue)
|
build:
examples/kaktovik.py#L15
Argument of type "IsInteger" cannot be assigned to parameter "rules" of type "ABCRule[MessageCute]" in function "__call__"
"IsInteger" is incompatible with "ABCRule[MessageCute]"
Type parameter "AdaptTo@ABCRule" is invariant, but "tuple[Node, ...]" is not the same as "MessageCute" (reportArgumentType)
|
build:
telegrinder/bot/rules/command.py#L98
Expression of type "str | None" is incompatible with declared type "Text"
Type "str | None" is incompatible with type "Text"
"str" is incompatible with "Text" (reportAssignmentType)
|
build:
telegrinder/bot/rules/enum_text.py#L29
Expression of type "str" is incompatible with declared type "Text"
"str" is incompatible with "Text" (reportAssignmentType)
|
build:
typegen/generator.py#L155
Variable not allowed in type expression (reportInvalidTypeForm)
|
build:
typegen/generator.py#L156
Variable not allowed in type expression (reportInvalidTypeForm)
|
build:
typegen/generator.py#L165
Variable not allowed in type expression (reportInvalidTypeForm)
|
build:
typegen/generator.py#L168
Variable not allowed in type expression (reportInvalidTypeForm)
|
build:
typegen/generator.py#L178
Variable not allowed in type expression (reportInvalidTypeForm)
|
build:
typegen/generator.py#L181
Variable not allowed in type expression (reportInvalidTypeForm)
|