Encountered a TypeError
while assignment. Please see the message occurrence.
__all__
TYP-056Type of __all__
must be sequence string. See the issue message for more details
Literal[...]
type hint TYP-041Arbitrary arguments are given to Literal[...]
, which makes it an invalid type. It is recommended to remove the arbitrary arguments.
The type alias provided is not valid. Read more about type aliases
here.
A return statement has been encountered in the callable which is not expected to return anything.
You can not use a bound type variabe to define generic alias. Please see occurrence message for more details.
type hint
for generator function TYP-009The return type of a generator function should be Generator
or one of its supertypes.
The type application is not supported in this context. See the occurrence message for more details.
Type annotation or type comment was not found. Please see the occurrence message for more details.
The special form Any(...)
has been deprecated. Use cast(Any, ...)
instead.
Calling an untyped function in a typed context. Please see the issue message for more details.
Type provided to the operand is not supported. See the issue message for more details.
type hint
for async generator function TYP-010The return type of an async generator function should be AsyncGenerator
or one of its supertypes.
Final[...]
shall have at most one type argument TYP-029More than one Type
argument given to Final[...]
. This is invalid. Read all about Final
here.
Useless suppression of a type checker issue with type: ignore
comment. There is no issue being raised here, hence you can safely remove this comment.
Incompatible types detected. Please see the issue message for details.
Type given is not compatible. See the issue message for more details.
The redefinition is incompatible. Please see the issue message for details.
lambda expression
type TYP-012The type of lambda expression cannot be inferred here.
Fewer or more number or arguments have been given for a type alias, which makes it invalid. Please see the occurrence message for more details