-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Remove typing._TypedDict #14960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
srittau
wants to merge
3
commits into
python:main
Choose a base branch
from
srittau:rm-typing-typeddict
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Remove typing._TypedDict #14960
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment has been minimized.
This comment has been minimized.
|
Diff from mypy_primer, showing the effect of this PR on open source code: discord.py (https://github.com/Rapptz/discord.py)
- ...typeshed_to_test/stdlib/typing.pyi:1040: note: "update" of "TypedDict" defined here
+ ...typeshed_to_test/stdlib/typing_extensions.pyi:250: note: "update" of "TypedDict" defined here
steam.py (https://github.com/Gobot1234/steam.py)
+ steam/http.py:908: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.18.2
+ steam/http.py:908: : note: use --pdb to drop into pdb
- steam/_const.py:37: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:57: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:69: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:73: error: Function is missing a return type annotation [no-untyped-def]
- steam/_const.py:73: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- steam/_const.py:75: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:90: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:100: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:109: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:110: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:118: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:194: error: Cannot assign to a method [method-assign]
- steam/_const.py:194: error: Incompatible types in assignment (expression has type "Callable[[_IDComparable, object], bool]", variable has type "Callable[[object, object], bool]") [assignment]
- steam/_const.py:195: error: Cannot assign to a method [method-assign]
- steam/_const.py:195: error: Incompatible types in assignment (expression has type "Callable[[_IDComparable], int]", variable has type "Callable[[object], int]") [assignment]
- steam/invite.py:77: error: Cannot use a covariant type variable as a parameter [misc]
- steam/invite.py:78: error: Cannot use a covariant type variable as a parameter [misc]
- steam/invite.py:90: error: Attributes without a default cannot follow attributes with one [misc]
- steam/invite.py:109: error: Attributes without a default cannot follow attributes with one [misc]
- steam/invite.py:134: error: Call to abstract method "accept" of "_Invite" with trivial body via super() is unsafe [safe-super]
- steam/enums.py:98: error: Function is missing a return type annotation [no-untyped-def]
- steam/enums.py:98: note: Use "-> None" if function does not return a value
- steam/enums.py:108: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:111: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:124: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:184: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:198: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:247: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:322: error: Incompatible return value type (got "int", expected "Self") [return-value]
- steam/enums.py:635: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:638: error: Dict entry 0 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:639: error: Dict entry 1 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:640: error: Dict entry 2 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:641: error: Dict entry 3 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:642: error: Dict entry 4 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:643: error: Dict entry 5 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:644: error: Dict entry 6 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:645: error: Dict entry 7 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:646: error: Dict entry 8 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:647: error: Dict entry 9 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:648: error: Dict entry 10 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:649: error: Dict entry 11 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:650: error: Dict entry 12 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:651: error: Dict entry 13 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:652: error: Dict entry 14 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:653: error: Dict entry 15 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:654: error: Dict entry 16 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:655: error: Dict entry 17 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:656: error: Dict entry 18 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:657: error: Dict entry 19 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:658: error: Dict entry 20 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:659: error: Dict entry 21 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:660: error: Dict entry 22 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:661: error: Dict entry 23 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:662: error: Dict entry 24 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:663: error: Dict entry 25 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:664: error: Dict entry 26 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:665: error: Dict entry 27 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:666: error: Dict entry 28 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:670: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:673: error: Dict entry 0 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:674: error: Dict entry 1 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:675: error: Dict entry 2 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:676: error: Dict entry 3 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:677: error: Dict entry 4 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:678: error: Dict entry 5 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:679: error: Dict entry 6 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:680: error: Dict entry 7 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:681: error: Dict entry 8 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:682: error: Dict entry 9 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:683: error: Dict entry 10 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:684: error: Dict entry 11 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:685: error: Dict entry 12 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:686: error: Dict entry 13 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:687: error: Dict entry 14 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:688: error: Dict entry 15 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:689: error: Dict entry 16 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:690: error: Dict entry 17 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:691: error: Dict entry 18 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:692: error: Dict entry 19 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:693: error: Dict entry 20 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:694: error: Dict entry 21 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:695: error: Dict entry 22 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:696: error: Dict entry 23 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:697: error: Dict entry 24 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:698: error: Dict entry 25 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:699: error: Dict entry 26 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:700: error: Dict entry 27 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:701: error: Dict entry 28 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:705: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:708: error: Dict entry 0 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:709: error: Dict entry 1 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:710: error: Dict entry 2 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:711: error: Dict entry 3 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:712: error: Dict entry 4 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:713: error: Dict entry 5 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:714: error: Dict entry 6 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:715: error: Dict entry 7 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:716: error: Dict entry 8 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:717: error: Dict entry 9 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:718: error: Dict entry 10 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:719: error: Dict entry 11 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:720: error: Dict entry 12 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:721: error: Dict entry 13 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:722: error: Dict entry 14 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:723: error: Dict entry 15 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:724: error: Dict entry 16 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:725: error: Dict entry 17 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:726: error: Dict entry 18 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:727: error: Dict entry 19 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:728: error: Dict entry 20 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:729: error: Dict entry 21 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:730: error: Dict entry 22 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:731: error: Dict entry 23 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:732: error: Dict entry 24 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:733: error: Dict entry 25 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:734: error: Dict entry 26 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:735: error: Dict entry 27 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:736: error: Dict entry 28 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:2147: error: Incompatible return value type (got "int", expected "UserNewsType") [return-value]
- steam/enums.py:2160: error: Incompatible return value type (got "int", expected "UserNewsType") [return-value]
- steam/errors.py:93: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/headers.py:71: error: Function is missing a return type annotation [no-untyped-def]
- steam/protobufs/headers.py:71: note: Use "-> None" if function does not return a value
- steam/protobufs/headers.py:120: error: Need type argument for Final[...] with non-literal default in dataclass [misc]
- steam/protobufs/headers.py:124: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/headers.py:146: error: Function is missing a return type annotation [no-untyped-def]
- steam/protobufs/headers.py:146: note: Use "-> None" if function does not return a value
- steam/id.py:91: error: Incompatible types in assignment (expression has type "int", variable has type "Type | None") [assignment]
- steam/id.py:92: error: Incompatible types in assignment (expression has type "int", variable has type "Universe | None") [assignment]
- steam/id.py:95: error: Incompatible types in assignment (expression has type "int", variable has type "Instance | None") [assignment]
- steam/id.py:97: error: Unsupported operand types for <= ("int" and "None") [operator]
- steam/id.py:97: note: Right operand is of type "Universe | None"
- steam/id.py:97: error: Unsupported operand types for > ("int" and "None") [operator]
- steam/id.py:97: note: Left operand is of type "Universe | None"
- steam/id.py:99: error: Unsupported operand types for <= ("int" and "None") [operator]
- steam/id.py:99: note: Right operand is of type "Type | None"
- steam/id.py:99: error: Unsupported operand types for > ("int" and "None") [operator]
- steam/id.py:99: note: Left operand is of type "Type | None"
- steam/id.py:101: error: Unsupported operand types for <= ("int" and "None") [operator]
- steam/id.py:101: note: Right operand is of type "Instance | None"
- steam/id.py:101: error: Unsupported operand types for > ("int" and "None") [operator]
- steam/id.py:101: note: Left operand is of type "Instance | None"
- steam/id.py:111: error: Unsupported operand types for << ("None" and "int") [operator]
- steam/id.py:111: note: Left operand is of type "Universe | None"
- steam/id.py:111: note: Left operand is of type "Type | None"
- steam/id.py:111: note: Left operand is of type "Instance | None"
- steam/id.py:134: error: Cannot infer type of lambda [misc]
- steam/id.py:143: error: Cannot infer type of lambda [misc]
- steam/id.py:237: error: Need type annotation for "__class_getitem__" [var-annotated]
- steam/id.py:462: error: Argument "instance" to "ID" has incompatible type "int"; expected "Instance | None" [arg-type]
- steam/id.py:482: error: Incompatible types in assignment (expression has type "int", variable has type "Instance") [assignment]
- steam/id.py:485: error: "int" has no attribute "name" [attr-defined]
- steam/id.py:486: error: Incompatible types in assignment (expression has type "int", variable has type "Instance") [assignment]
- steam/id.py:487: error: "int" has no attribute "name" [attr-defined]
- steam/id.py:488: error: Incompatible types in assignment (expression has type "int", variable has type "Instance") [assignment]
- steam/id.py:489: error: "int" has no attribute "name" [attr-defined]
- steam/id.py:490: error: Incompatible types in assignment (expression has type "int", variable has type "Instance") [assignment]
- steam/id.py:491: error: "int" has no attribute "name" [attr-defined]
- steam/id.py:492: error: Incompatible types in assignment (expression has type "int", variable has type "Instance") [assignment]
- steam/id.py:513: error: Argument "universe" to "ID" has incompatible type "int"; expected "Universe | None" [arg-type]
- steam/id.py:513: error: Argument "instance" to "ID" has incompatible type "int"; expected "Instance | None" [arg-type]
- steam/id.py:558: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
- steam/ext/commands/errors.py:120: error: Function is missing a return type annotation [no-untyped-def]
- steam/ext/commands/errors.py:120: note: Use "-> None" if function does not return a value
- steam/ext/commands/errors.py:130: error: Function is missing a return type annotation [no-untyped-def]
- steam/ext/commands/errors.py:130: note: Use "-> None" if function does not return a value
- steam/ext/commands/errors.py:140: error: Function is missing a return type annotation [no-untyped-def]
- steam/ext/commands/errors.py:140: note: Use "-> None" if function does not return a value
- steam/utils.py:167: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- steam/utils.py:173: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- steam/utils.py:221: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- steam/utils.py:227: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- steam/utils.py:484: error: Single overload definition, multiple required [misc]
- steam/utils.py:485: error: Unused "type: ignore" comment [unused-ignore]
- steam/utils.py:806: error: Unused "type: ignore" comment [unused-ignore]
- steam/utils.py:808: error: Unused "type: ignore" comment [unused-ignore]
- steam/ext/commands/utils.py:43: error: Signature of "get" incompatible with supertype "builtins.dict" [override]
- steam/ext/commands/utils.py:43: note: Superclass:
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def get(self, str, None = ..., /) -> _VT | None
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def get(self, str, _VT, /) -> _VT
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def [_T] get(self, str, _T, /) -> _VT | _T
- steam/ext/commands/utils.py:43: note: Subclass:
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def get(self, str, /) -> _VT | None
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def [_T] get(self, str, /, default: _T | None = ...) -> _VT | _T | None
- steam/ext/commands/utils.py:43: error: Signature of "get" incompatible with supertype "typing.Mapping" [override]
- steam/ext/commands/utils.py:43: note: Superclass:
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def get(self, str, /) -> _VT | None
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def get(self, str, /, default: _VT) -> _VT
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def [_T] get(self, str, /, default: _T) -> _VT | _T
- steam/ext/commands/utils.py:43: note: Subclass:
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def get(self, str, /) -> _VT | None
- steam/ext/commands/utils.py:43: note: @overload
- steam/ext/commands/utils.py:43: note: def [_T] get(self, str, /, default: _T | None = ...) -> _VT | _T | None
- steam/ext/commands/utils.py:52: error: Signature of "pop" incompatible with supertype "builtins.dict" [override]
- steam/ext/commands/utils.py:52: note: Superclass:
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def pop(self, str, /) -> _VT
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def pop(self, str, _VT, /) -> _VT
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def [_T] pop(self, str, _T, /) -> _VT | _T
- steam/ext/commands/utils.py:52: note: Subclass:
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def pop(self, str, /) -> _VT | None
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def [_T] pop(self, str, /, default: _T | None = ...) -> _VT | _T | None
- steam/ext/commands/utils.py:52: error: Signature of "pop" incompatible with supertype "typing.MutableMapping" [override]
- steam/ext/commands/utils.py:52: note: Superclass:
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def pop(self, str, /) -> _VT
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def pop(self, str, /, default: _VT) -> _VT
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def [_T] pop(self, str, /, default: _T) -> _VT | _T
- steam/ext/commands/utils.py:52: note: Subclass:
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def pop(self, str, /) -> _VT | None
- steam/ext/commands/utils.py:52: note: @overload
- steam/ext/commands/utils.py:52: note: def [_T] pop(self, str, /, default: _T | None = ...) -> _VT | _T | None
- steam/protobufs/struct_messages.py:17: error: Accessing "__init__" on an instance is unsound, since instance.__init__ could be from an incompatible subclass [misc]
- steam/protobufs/struct_messages.py:24: error: Incompatible types in assignment (expression has type "tuple[()]", variable has type "dict[str, Any]") [assignment]
- steam/protobufs/msg.py:64: error: Incompatible types in assignment (expression has type "int", variable has type "IntEnum") [assignment]
- steam/protobufs/msg.py:67: error: The return type of "__init_subclass__" must be None [misc]
- steam/protobufs/msg.py:97: error: The return type of "__init_subclass__" must be None [misc]
- steam/protobufs/msg.py:131: error: Cannot assign to a method [method-assign]
- steam/protobufs/msg.py:145: error: The return type of "__init_subclass__" must be None [misc]
- steam/protobufs/msg.py:170: error: Trying to assign name "header" that is not in "__slots__" of type "steam.protobufs.msg.ProtobufWrappedMessage" [misc]
- steam/protobufs/msg.py:188: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/msg.py:195: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/msg.py:200: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/msg.py:217: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/msg.py:229: error: Incompatible types in assignment (expression has type "int", variable has type "EMsg") [assignment]
- steam/protobufs/msg.py:305: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/msg.py:313: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/msg.py:323: error: Unused "type: ignore" comment [unused-ignore]
- steam/protobufs/__init__.py:77: error: "setattr" does not return a value (it only ever returns None) [func-returns-value]
- steam/protobufs/__init__.py:78: error: "setattr" does not return a value (it only ever returns None) [func-returns-value]
- steam/protobufs/user_stats.py:14: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/user_stats.py:21: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/user_stats.py:42: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/user_stats.py:58: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/user_stats.py:73: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/user_stats.py:86: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/ucm.py:238: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/leaderboards.py:14: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/leaderboards.py:22: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/leaderboards.py:30: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/leaderboards.py:36: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/leaderboards.py:40: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/leaderboards.py:48: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/leaderboards.py:57: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/leaderboards.py:66: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:34: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:42: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:50: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:55: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:61: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:65: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:70: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:84: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:127: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:132: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:149: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:201: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:205: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:276: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/friends.py:280: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:55: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:63: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:68: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:72: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:101: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:107: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:119: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:130: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:143: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:157: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:161: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:165: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:171: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:180: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:184: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:188: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:223: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:229: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:234: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:240: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:246: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:284: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:294: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:320: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:325: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:364: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:368: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:374: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:378: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:382: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:390: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:396: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:400: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:409: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:418: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:422: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:491: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:497: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:503: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:518: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:522: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:532: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:538: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:542: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:552: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:557: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:573: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:578: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:582: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:592: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:695: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:699: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:704: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:710: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:716: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:721: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:731: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:744: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:750: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:755: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:760: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:771: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:775: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:790: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:801: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:812: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:825: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:831: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:876: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:881: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:893: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server_2.py:900: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/base.py:63: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/base.py:68: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/app_info.py:81: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/app_info.py:89: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/app_info.py:113: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/app_info.py:134: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/app_info.py:166: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/app_info.py:171: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:15: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:19: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:23: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:37: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:41: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:99: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:127: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:132: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:139: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:143: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:147: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:152: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:156: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:171: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/login.py:175: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:23: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:34: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:41: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:50: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:60: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:72: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:81: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:85: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:91: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:95: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:100: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:134: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:139: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:145: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:150: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:159: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:165: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:192: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:199: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:209: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:223: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:230: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:240: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:289: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:300: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:304: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:309: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:315: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:366: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/protobufs/client_server.py:371: error: Argument "msg" to "__init_subclass__" of "MessageMessageBase" has incompatible type "int"; expected "EMsg" [arg-type]
- steam/role.py:139: error: Single overload definition, multiple required [misc]
- steam/role.py:140: error: Unused "type: ignore" comment [unused-ignore]
- steam/tag.py:35: error: Incompatible default for argument "name" (default has type "None", argument has type "NameT") [assignment]
- steam/tag.py:35: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- steam/tag.py:35: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- steam/tag.py:77: error: Incompatible default for argument "name" (default has type "None", argument has type "NameT") [assignment]
- steam/tag.py:77: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- steam/tag.py:77: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- steam/tag.py:99: error: Incompatible default for argument "name" (default has type "None", argument has type "NameT") [assignment]
- steam/tag.py:99: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- steam/tag.py:99: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- steam/models.py:239: error: Cannot override writeable attribute with read-only property [override]
- steam/models.py:349: error: "DescriptionMixin" has no attribute "name" [attr-defined]
- steam/models.py:351: error: "DescriptionMixin" has no attribute "display_name" [attr-defined]
- steam/models.py:351: error: "DescriptionMixin" has no attribute "name" [attr-defined]
- steam/models.py:355: error: "DescriptionMixin" has no attribute "market_hash_name" [attr-defined]
- steam/models.py:355: error: "DescriptionMixin" has no attribute "name" [attr-defined]
- steam/models.py:355: error: "DescriptionMixin" has no attribute "display_name" [attr-defined]
- steam/models.py:357: error: "DescriptionMixin" has no attribute "colour" [attr-defined]
- steam/models.py:359: error: "DescriptionMixin" has no attribute "descriptions" [attr-defined]
- steam/models.py:361: error: "DescriptionMixin" has no attribute "owner_descriptions" [attr-defined]
- steam/models.py:363: error: "DescriptionMixin" has no attribute "type" [attr-defined]
- steam/models.py:365: error: "DescriptionMixin" has no attribute "tags" [attr-defined]
- steam/models.py:368: error: "DescriptionMixin" has no attribute "icon" [attr-defined]
- steam/models.py:374: error: "DescriptionMixin" has no attribute "fraud_warnings" [attr-defined]
- steam/models.py:376: error: "DescriptionMixin" has no attribute "actions" [attr-defined]
- steam/models.py:378: error: "DescriptionMixin" has no attribute "owner_actions" [attr-defined]
- steam/models.py:380: error: "DescriptionMixin" has no attribute "market_actions" [attr-defined]
- steam/models.py:382: error: "DescriptionMixin" has no attribute "market_fee"; maybe "market_fee_app"? [attr-defined]
- steam/models.py:387: error: "DescriptionMixin" has no attribute "_market_fee_app_id"; maybe "market_fee_app"? [attr-defined]
- steam/models.py:388: error: "DescriptionMixin" has no attribute "_is_tradable"; maybe "is_tradable"? [attr-defined]
- steam/models.py:389: error: "DescriptionMixin" has no attribute "_is_marketable"; maybe "is_marketable"? [attr-defined]
- steam/models.py:393: error: "DescriptionMixin" has no attribute "_is_tradable"; maybe "is_tradable"? [attr-defined]
- steam/models.py:397: error: "DescriptionMixin" has no attribute "_is_marketable"; maybe "is_marketable"? [attr-defined]
- steam/models.py:408: error: "DescriptionMixin" has no attribute "market_hash_name" [attr-defined]
- steam/models.py:409: error: Argument 2 to "PriceOverview" has incompatible type "int"; expected "Currency" [arg-type]
- steam/models.py:416: error: "DescriptionMixin" has no attribute "_market_fee_app_id"; maybe "market_fee_app"? [attr-defined]
- steam/badge.py:41: error: Final name declared in class body cannot depend on type variables [misc]
- steam/badge.py:108: error: Final name declared in class body cannot depend on type variables [misc]
- steam/badge.py:129: error: Argument 1 to "inventory" of "PartialUser" has incompatible type "tuple[str, int]"; expected "App[str | None]" [arg-type]
- steam/http.py:57: error: Unused "type: ignore" comment [unused-ignore]
- steam/http.py:62: error: Incompatible types in assignment (expression has type "int", variable has type "Language") [assignment]
- steam/http.py:100: error: Dict entry 0 has incompatible type "str": "str | None"; expected "str": "str" [dict-item]
- steam/http.py:179: error: Unused "type: ignore" comment [unused-ignore]
- steam/http.py:274: error: Argument "type" to "parse_id64" has incompatible type "int"; expected "Type | None" [arg-type]
- steam/http.py:349: error: Value of "last_assetid" has incompatible type "str | int"; expected "str" [typeddict-item]
- steam/http.py:400: error: Cannot determine type of "trades_last_fetched" [has-type]
- steam/http.py:414: error: TypedDict key must be a string literal; expected one of ("next_cursor", "descriptions", "trade_offers_received", "trade_offers_sent") [literal-required]
- steam/http.py:525: error: Unused "type: ignore" comment [unused-ignore]
- steam/http.py:558: error: Argument "type" to "parse_id64" has incompatible type "int"; expected "Type | None" [arg-type]
- steam/http.py:655: error: Value of type "Match[str] | None" is not indexable [index]
- steam/http.py:742: error: "_edit_clan_event" of "HTTPClient" gets multiple values for keyword argument "event_id" [misc]
- steam/http.py:910: error: "dict" expects 2 type arguments, but 1 given [type-arg]
- steam/app.py:101: error: Incompatible default for argument "name" (default has type "None", argument has type "NameT") [assignment]
- steam/app.py:101: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- steam/app.py:101: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- steam/app.py:117: error: Incompatible return value type (got "NameT | str", expected "str") [return-value]
- steam/app.py:341: error: "AuthenticationTicketVerificationResult" gets multiple values for keyword argument "vac_banned" [misc]
- steam/app.py:341: error: "AuthenticationTicketVerificationResult" gets multiple values for keyword argument "publisher_banned" [misc]
- steam/app.py:343: error: Argument 2 to "AuthenticationTicketVerificationResult" has incompatible type "*Sequence[User]"; expected "bool" [arg-type]
- steam/app.py:388: error: Incompatible types in assignment (expression has type "OwnershipTicket", variable has type "AuthenticationTicket") [assignment]
- steam/app.py:458: error: Incompatible types in assignment (expression has type "None", variable has type "datetime") [assignment]
- steam/app.py:524: error: Cannot use a covariant type variable as a parameter [misc]
- steam/app.py:593: error: Cannot use a covariant type variable as a parameter [misc]
- steam/app.py:646: error: Incompatible default for argument "name" (default has type "None", argument has type "NameT") [assignment]
- steam/app.py:646: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- steam/app.py:646: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- steam/app.py:1030: error: Incompatible default for argument "type" (default has type "int", argument has type "PublishedFileQueryFileType") [assignment]
- steam/app.py:1031: error: Incompatible default for argument "revision" (default has type "int", argument has type "PublishedFileRevision") [assignment]
- steam/app.py:1090: error: Incompatible types in assignment (expression has type "PublishedFile[PartialUser]", variable has type "PublishedFileDetails") [assignment]
- steam/app.py:1158: error: Cannot instantiate abstract class "AppShopItems" with abstract attributes "__getitem__" and "__len__" [abstract]
- steam/app.py:1167: error: Incompatible default for argument "type" (default has type "int", argument has type "CommunityDefinitionItemType") [assignment]
- steam/app.py:1312: error: "tuple[str, int]" has no attribute "id" [attr-defined]
- steam/app.py:1427: error: Cannot override writeable attribute with read-only property [override]
- steam/app.py:1686: error: Unused "type: ignore" comment [unused-ignore]
- steam/app.py:1753: error: Incompatible types in assignment (expression has type "None", variable has type "AppPriceOverview") [assignment]
- steam/app.py:1767: error: List comprehension has incompatible type List[PartialPackage[str | None]]; expected List[FetchedAppPackage] [misc]
- steam/trade.py:169: error: Incompatible types in assignment (expression has type "tuple[str, str, str, str, str, str, str, str]", base class "Asset" defined the type as "tuple[str, str, str, str, str, str, str]") [assignment]
- steam/trade.py:186: error: Accessing "__init__" on an instance is unsound, since instance.__init__ could be from an incompatible subclass [misc]
- steam/trade.py:189: error: Argument 1 of "__mro_entries__" is incompatible with supertype "types.GenericAlias"; supertype defines the argument type as "Iterable[object]" [override]
- steam/trade.py:189: note: This violates the Liskov substitution principle
- steam/trade.py:189: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
- steam/trade.py:317: error: Incompatible types in assignment (expression has type "tuple[str, str, str, str, str, str, str, str, str, str]", base class "Item" defined the type as "tuple[str, str, str, str, str, str, str, str]") [assignment]
- steam/trade.py:438: error: Redundant cast to "TradeOffer[Item[UserT], Item[ClientUser], UserT]" [redundant-cast]
- steam/trade.py:453: error: Argument 2 to "MovedItem" has incompatible type "Description"; expected "TradeOfferReceiptItem" [arg-type]
- steam/trade.py:458: error: Argument 2 to "MovedItem" has incompatible type "Description"; expected "TradeOfferReceiptItem" [arg-type]
- steam/reaction.py:143: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
- steam/reaction.py:144: error: Unused "type: ignore" comment [unused-ignore]
- steam/reaction.py:169: error: An overloaded function outside a stub file must have an implementation [no-overload-impl]
- steam/reaction.py:170: error: Unused "type: ignore" comment [unused-ignore]
- steam/reaction.py:236: error: Cannot override writeable attribute with read-only property [override]
- steam/reaction.py:273: error: Cannot override writeable attribute with read-only property [override]
- steam/reaction.py:312: error: Cannot override writeable attribute with read-only property [override]
- steam/package.py:55: error: Incompatible default for argument "name" (default has type "None", argument has type "NameT") [assignment]
- steam/package.py:55: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- steam/package.py:55: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- steam/package.py:75: error: Incompatible default for argument "name" (default has type "None", argument has type "NameT") [assignment]
- steam/package.py:75: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- steam/package.py:75: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- steam/package.py:401: error: Return value expected [return-value]
- steam/package.py:403: error: Return value expected [return-value]
- steam/game_server.py:278: error: Argument 1 to "_query" of "GameServer" has incompatible type "int"; expected "EQueryType" [arg-type]
- steam/game_server.py:307: error: Argument 1 to "_query" of "GameServer" has incompatible type "int"; expected "EQueryType" [arg-type]
- steam/game_server.py:319: error: Argument 1 to "_query" of "GameServer" has incompatible type "int"; expected "EQueryType" [arg-type]
- steam/profile.py:145: error: Argument 1 to "send_um_and_wait" of "SteamWebSocket" has incompatible type "SupportsEquip"; expected "UnifiedMessage" [arg-type]
- steam/profile.py:151: error: Argument 1 to "inventory" of "PartialUser" has incompatible type "tuple[str, int]"; expected "App[str | None]" [arg-type]
- steam/profile.py:194: error: Cannot use a covariant type variable as a parameter [misc]
- steam/profile.py:236: error: Incompatible default for argument "revision" (default has type "int", argument has type "PublishedFileRevision") [assignment]
- steam/profile.py:273: error: Cannot use a covariant type variable as a parameter [misc]
- steam/profile.py:314: error: Incompatible default for argument "revision" (default has type "int", argument has type "PublishedFileRevision") [assignment]
- steam/profile.py:450: error: Definition of "__replace__" in base class "ProfileInfo" is incompatible with definition in base class "EquippedProfileItems" [misc]
- steam/profile.py:461: error: Definition of "__replace__" in base class "ProfileInfo" is incompatible with definition in base class "EquippedProfileItems" [misc]
- steam/manifest.py:365: error: Single overload definition, multiple required [misc]
- steam/manifest.py:366: error: Unused "type: ignore" comment [unused-ignore]
- steam/manifest.py:416: error: Unused "type: ignore" comment [unused-ignore]
- steam/manifest.py:517: error: Invalid self argument "ManifestPath" to attribute function "read_bytes" with type "Callable[[_IOMixinNoOpen, KwArg(Any)], Coroutine[Any, Any, bytes]]" [misc]
- steam/manifest.py:701: error: Unused "type: ignore" comment [unused-ignore]
- steam/manifest.py:703: error: Unused "type: ignore" comment [unused-ignore]
- steam/manifest.py:786: error: Unused "type: ignore" comment [unused-ignore]
- steam/manifest.py:797: error: Unused "type: ignore" comment [unused-ignore]
- steam/manifest.py:858: error: Trying to assign name "sha" that is not in "__slots__" of type "steam.manifest.ProductInfo" [misc]
- steam/manifest.py:859: error: Trying to assign name "size" that is not in "__slots__" of type "steam.manifest.ProductInfo" [misc]
- steam/manifest.py:860: error: Try
... (truncated 547 lines) ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #7580