Python

Python

Made by DeepSource
Type error while assignment TYP-014
Type check
Major

Encountered a TypeError while assignment. Please see the message occurrence.

Invalid type for __all__ TYP-056
Type check
Major

Type of __all__ must be sequence string. See the issue message for more details

Invalid Literal[...] type hint TYP-041
Type check
Major

Arbitrary arguments are given to Literal[...], which makes it an invalid type. It is recommended to remove the arbitrary arguments.

Unexpected return value TYP-007
Type check
Major

A return statement has been encountered in the callable which is not expected to return anything.

Invalid definition of generic alias TYP-073
Type check
Major

You can not use a bound type variabe to define generic alias. Please see occurrence message for more details.

Invalid return type hint for generator function TYP-009
Type check
Major

The return type of a generator function should be Generator or one of its supertypes.

Unsupported type application TYP-019
Type check
Major

The type application is not supported in this context. See the occurrence message for more details.

Missing type hint TYP-068
Type check
Minor

Type annotation or type comment was not found. Please see the occurrence message for more details.

Deprecated type hint used TYP-038
Type check
Major

The special form Any(...) has been deprecated. Use cast(Any, ...) instead.

Untyped function called in typed context TYP-061
Type check
Major

Calling an untyped function in a typed context. Please see the issue message for more details.

Unsupported type provided to operand TYP-052
Type check
Major

Type provided to the operand is not supported. See the issue message for more details.

Invalid return type hint for async generator function TYP-010
Type check
Major

The return type of an async generator function should be AsyncGenerator or one of its supertypes.

Unnecessary suppression of type checking issue TYP-001
Type check
Minor

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 TYP-060
Type check
Major

Incompatible types detected. Please see the issue message for details.

Incompatible type detected TYP-050
Type check
Major

Type given is not compatible. See the issue message for more details.

Incompatible redefinition detected TYP-053
Type check
Major

The redefinition is incompatible. Please see the issue message for details.

Uninferred lambda expression type TYP-012
Type check
Minor

The type of lambda expression cannot be inferred here.

Inconsistent number of argument for type alias TYP-069
Type check
Major

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