Core fix #69
Core fix #69
33 errors
Mypy found 33 errors
Annotations
Check failure on line 366 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L366
Too few arguments
Check failure on line 374 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L374
Value of type "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]" is not indexable
Check failure on line 374 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L374
No overload variant of "__getitem__" of "bytes" matches argument type "str"
Check failure on line 374 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L374
No overload variant of "__getitem__" of "list" matches argument type "str"
Check failure on line 374 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L374
Invalid index type "str" for "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]"; expected type "Union[SupportsIndex, slice]"
Check failure on line 374 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L374
Unsupported operand types for >= ("str" and "int")
Check failure on line 376 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L376
Value of type "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]" is not indexable
Check failure on line 376 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L376
No overload variant of "__getitem__" of "bytes" matches argument type "str"
Check failure on line 376 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L376
No overload variant of "__getitem__" of "list" matches argument type "str"
Check failure on line 376 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L376
Invalid index type "str" for "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]"; expected type "Union[SupportsIndex, slice]"
Check failure on line 377 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L377
Value of type "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]" is not indexable
Check failure on line 377 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L377
No overload variant of "__getitem__" of "bytes" matches argument type "str"
Check failure on line 377 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L377
No overload variant of "__getitem__" of "list" matches argument type "str"
Check failure on line 377 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L377
Invalid index type "str" for "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]"; expected type "Union[SupportsIndex, slice]"
Check failure on line 382 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L382
Too few arguments
Check failure on line 389 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L389
On Python 3 formatting "b'abc'" with "{}" produces "b'abc'", not "abc"; use "{!r}" if this is desired behavior
Check failure on line 392 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L392
On Python 3 formatting "b'abc'" with "{}" produces "b'abc'", not "abc"; use "{!r}" if this is desired behavior
Check failure on line 405 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L405
Value of type "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]" is not indexable
Check failure on line 405 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L405
No overload variant of "__getitem__" of "bytes" matches argument type "str"
Check failure on line 405 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L405
No overload variant of "__getitem__" of "list" matches argument type "str"
Check failure on line 405 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L405
Invalid index type "str" for "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]"; expected type "Union[SupportsIndex, slice]"
Check failure on line 410 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L410
Too few arguments
Check failure on line 465 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L465
Too few arguments
Check failure on line 471 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L471
Value of type "Union[None, str, float, Decimal, bytes, List[Any], Dict[Any, Any]]" is not indexable
Check failure on line 471 in etpproto/messages.py
github-actions / Mypy
etpproto/messages.py#L471
No overload variant of "__getitem__" of "bytes" matches argument type "str"