mypy
mypy copied to clipboard
April 25 good-first issue about incomplete definitions
Fixes Good-First issue from Apr 25. Checks if incomplete defs are there and if there is, throws incomplete error statement.
Diff from mypy_primer, showing the effect of this PR on open source code:
pip (https://github.com/pypa/pip)
+ src/pip/_vendor/pyparsing/core.py:354: 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.9.0+dev.05b08e4a84a466c8fc72c6c8ee9a7239cc782003
+ src/pip/_vendor/pyparsing/core.py:354: : note: use --pdb to drop into pdb
- src/pip/_internal/metadata/pkg_resources.py:162: error: Item "EmptyProvider" of "Any | EmptyProvider" has no attribute "path" [union-attr]
- src/pip/_internal/metadata/pkg_resources.py:236: error: Argument 1 to "Environment" has incompatible type "None"; expected "WorkingSet" [arg-type]
- src/pip/_internal/network/utils.py:41: error: Incompatible types in assignment (expression has type "Any | None", variable has type "str") [assignment]
- src/pip/_internal/network/utils.py:43: error: Unsupported operand types for <= ("int" and "None") [operator]
- src/pip/_internal/network/utils.py:43: note: Right operand is of type "Any | None"
- src/pip/_internal/network/utils.py:43: error: Unsupported operand types for > ("int" and "None") [operator]
- src/pip/_internal/network/utils.py:43: note: Left operand is of type "Any | None"
- src/pip/_internal/network/utils.py:48: error: Unsupported operand types for <= ("int" and "None") [operator]
- src/pip/_internal/network/utils.py:48: note: Right operand is of type "Any | None"
- src/pip/_internal/network/utils.py:48: error: Unsupported operand types for > ("int" and "None") [operator]
- src/pip/_internal/network/utils.py:48: note: Left operand is of type "Any | None"
- src/pip/_internal/network/utils.py:63: error: Item "None" of "Any | None" has no attribute "stream" [union-attr]
- src/pip/_internal/network/utils.py:93: error: Item "None" of "Any | None" has no attribute "read" [union-attr]
- src/pip/_internal/network/auth.py:486: error: Argument 1 to "_get_new_credentials" of "MultiDomainBasicAuth" has incompatible type "Any | None"; expected "str" [arg-type]
- src/pip/_internal/network/auth.py:500: error: Argument 1 to "_prompt_for_password" of "MultiDomainBasicAuth" has incompatible type "bytes"; expected "str" [arg-type]
- src/pip/_internal/network/auth.py:505: error: Invalid index type "bytes" for "dict[str, tuple[str | None, str | None]]"; expected type "str" [index]
- src/pip/_internal/network/auth.py:510: error: Argument "url" to "Credentials" has incompatible type "bytes"; expected "str" [arg-type]
- src/pip/_internal/network/auth.py:520: error: Item "None" of "Any | None" has no attribute "release_conn" [union-attr]
- src/pip/_internal/network/auth.py:533: error: "Response" has no attribute "connection" [attr-defined]
- src/pip/_internal/network/auth.py:543: error: Item "None" of "Any | None" has no attribute "url" [union-attr]
- src/pip/_internal/network/auth.py:554: error: Unsupported operand types for > ("int" and "None") [operator]
- src/pip/_internal/network/auth.py:554: note: Left operand is of type "Any | None"
- src/pip/_internal/network/session.py:220: error: Argument 1 to "url_to_path" has incompatible type "Any | None"; expected "str" [arg-type]
- src/pip/_internal/network/session.py:246: error: Cannot assign to a method [method-assign]
- src/pip/_internal/network/session.py:389: error: Incompatible types in assignment (expression has type "HTTPAdapter", variable has type "CacheControlAdapter") [assignment]
- src/pip/_internal/network/session.py:390: error: Incompatible types in assignment (expression has type "InsecureHTTPAdapter", variable has type "InsecureCacheControlAdapter") [assignment]
- src/pip/_internal/network/session.py:406: error: Item "None" of "Any | None" has no attribute "index_urls" [union-attr]
- src/pip/_internal/index/collector.py:92: error: Item "None" of "Any | None" has no attribute "method" [union-attr]
- src/pip/_internal/index/collector.py:331: error: Argument "url" to "IndexContent" has incompatible type "Any | None"; expected "str" [arg-type]
- src/pip/_internal/network/download.py:109: error: Argument 1 to "splitext" has incompatible type "Any | None"; expected "PathLike[Any]" [arg-type]
- src/pip/_internal/cli/req_command.py:150: error: Item "None" of "Any | None" has no attribute "prompting" [union-attr]
- src/pip/_internal/cli/req_command.py:151: error: Item "None" of "Any | None" has no attribute "keyring_provider" [union-attr]
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 100, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 182, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 192, in build
+ result = _build(
+ File "/build.py", line 266, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 2942, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3340, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3441, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2310, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 481, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 787, in accept
+ return visitor.visit_func_def(self)
+ File "/checker.py", line 1005, in visit_func_def
+ self._visit_func_def(defn)
+ File "/checker.py", line 1009, in _visit_func_def
+ self.check_func_item(defn, name=defn.name)
+ File "/checker.py", line 1082, in check_func_item
+ self.check_func_def(defn, typ, name, allow_empty)
+ File "/checker.py", line 1139, in check_func_def
+ self.check_for_missing_annotations(fdef)
+ File "/checker.py", line 1503, in check_for_missing_annotations
+ self.fail(message_registry.RETURN_TYPE_EXPECTED_INCOMPLETE_DEF, fdef)
+ AttributeError: module 'mypy.message_registry' has no attribute 'RETURN_TYPE_EXPECTED_INCOMPLETE_DEF'
flake8-pyi (https://github.com/PyCQA/flake8-pyi)
+ /tmp/mypy_primer/projects/_flake8-pyi_venv/lib/python3.10/site-packages/pyflakes-stubs/checker.pyi:215: 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.9.0+dev.05b08e4a84a466c8fc72c6c8ee9a7239cc782003
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 100, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 182, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 192, in build
+ result = _build(
+ File "/build.py", line 266, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 2942, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3340, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3441, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2310, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 481, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1142, in accept
+ return visitor.visit_class_def(self)
+ File "/checker.py", line 2315, in visit_class_def
+ self.accept(defn.defs)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1223, in accept
+ return visitor.visit_block(self)
+ File "/checker.py", line 2777, in visit_block
+ self.accept(s)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 787, in accept
+ return visitor.visit_func_def(self)
+ File "/checker.py", line 1005, in visit_func_def
+ self._visit_func_def(defn)
+ File "/checker.py", line 1009, in _visit_func_def
+ self.check_func_item(defn, name=defn.name)
+ File "/checker.py", line 1082, in check_func_item
+ self.check_func_def(defn, typ, name, allow_empty)
+ File "/checker.py", line 1139, in check_func_def
+ self.check_for_missing_annotations(fdef)
+ File "/checker.py", line 1503, in check_for_missing_annotations
+ self.fail(message_registry.RETURN_TYPE_EXPECTED_INCOMPLETE_DEF, fdef)
+ AttributeError: module 'mypy.message_registry' has no attribute 'RETURN_TYPE_EXPECTED_INCOMPLETE_DEF'
schema_salad (https://github.com/common-workflow-language/schema_salad)
+ /tmp/mypy_primer/projects/_schema_salad_venv/lib/python3.10/site-packages/urllib3/util/url.py:100: 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.9.0+dev.05b08e4a84a466c8fc72c6c8ee9a7239cc782003
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 100, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 182, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 192, in build
+ result = _build(
+ File "/build.py", line 266, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 2942, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3340, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3441, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2310, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 481, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1142, in accept
+ return visitor.visit_class_def(self)
+ File "/checker.py", line 2315, in visit_class_def
+ self.accept(defn.defs)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1223, in accept
+ return visitor.visit_block(self)
+ File "/checker.py", line 2777, in visit_block
+ self.accept(s)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 787, in accept
+ return visitor.visit_func_def(self)
+ File "/checker.py", line 1005, in visit_func_def
+ self._visit_func_def(defn)
+ File "/checker.py", line 1009, in _visit_func_def
+ self.check_func_item(defn, name=defn.name)
+ File "/checker.py", line 1082, in check_func_item
+ self.check_func_def(defn, typ, name, allow_empty)
+ File "/checker.py", line 1139, in check_func_def
+ self.check_for_missing_annotations(fdef)
+ File "/checker.py", line 1503, in check_for_missing_annotations
+ self.fail(message_registry.RETURN_TYPE_EXPECTED_INCOMPLETE_DEF, fdef)
+ AttributeError: module 'mypy.message_registry' has no attribute 'RETURN_TYPE_EXPECTED_INCOMPLETE_DEF'
downforeveryone (https://github.com/rpdelaney/downforeveryone)
- Warning: unused section(s) in pyproject.toml: module = ['.venv.*']
+ /tmp/mypy_primer/projects/_downforeveryone_venv/lib/python3.10/site-packages/urllib3/util/url.py:100: 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.9.0+dev.05b08e4a84a466c8fc72c6c8ee9a7239cc782003
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 100, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 182, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 192, in build
+ result = _build(
+ File "/build.py", line 266, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 2942, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3340, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3441, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2310, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 481, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1142, in accept
+ return visitor.visit_class_def(self)
+ File "/checker.py", line 2315, in visit_class_def
+ self.accept(defn.defs)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1223, in accept
+ return visitor.visit_block(self)
+ File "/checker.py", line 2777, in visit_block
+ self.accept(s)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 787, in accept
+ return visitor.visit_func_def(self)
+ File "/checker.py", line 1005, in visit_func_def
+ self._visit_func_def(defn)
+ File "/checker.py", line 1009, in _visit_func_def
+ self.check_func_item(defn, name=defn.name)
+ File "/checker.py", line 1082, in check_func_item
+ self.check_func_def(defn, typ, name, allow_empty)
+ File "/checker.py", line 1139, in check_func_def
+ self.check_for_missing_annotations(fdef)
+ File "/checker.py", line 1503, in check_for_missing_annotations
+ self.fail(message_registry.RETURN_TYPE_EXPECTED_INCOMPLETE_DEF, fdef)
+ AttributeError: module 'mypy.message_registry' has no attribute 'RETURN_TYPE_EXPECTED_INCOMPLETE_DEF'
psycopg (https://github.com/psycopg/psycopg)
- Warning: unused section(s) in pyproject.toml: module = ['uvloop']
+ /tmp/mypy_primer/projects/_psycopg_venv/lib/python3.10/site-packages/pluggy/_manager.py:72: 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.9.0+dev.05b08e4a84a466c8fc72c6c8ee9a7239cc782003
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 100, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 182, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 192, in build
+ result = _build(
+ File "/build.py", line 266, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 2942, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3340, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3441, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2310, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 481, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1142, in accept
+ return visitor.visit_class_def(self)
+ File "/checker.py", line 2315, in visit_class_def
+ self.accept(defn.defs)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1223, in accept
+ return visitor.visit_block(self)
+ File "/checker.py", line 2777, in visit_block
+ self.accept(s)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 787, in accept
+ return visitor.visit_func_def(self)
+ File "/checker.py", line 1005, in visit_func_def
+ self._visit_func_def(defn)
+ File "/checker.py", line 1009, in _visit_func_def
+ self.check_func_item(defn, name=defn.name)
+ File "/checker.py", line 1082, in check_func_item
+ self.check_func_def(defn, typ, name, allow_empty)
+ File "/checker.py", line 1139, in check_func_def
+ self.check_for_missing_annotations(fdef)
+ File "/checker.py", line 1503, in check_for_missing_annotations
+ self.fail(message_registry.RETURN_TYPE_EXPECTED_INCOMPLETE_DEF, fdef)
+ AttributeError: module 'mypy.message_registry' has no attribute 'RETURN_TYPE_EXPECTED_INCOMPLETE_DEF'
steam.py (https://github.com/Gobot1234/steam.py)
+ /tmp/mypy_primer/projects/_steam.py_venv/lib/python3.10/site-packages/cryptography/hazmat/backends/openssl/aead.py:70: 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.9.0+dev.05b08e4a84a466c8fc72c6c8ee9a7239cc782003
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 100, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 182, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 192, in build
+ result = _build(
+ File "/build.py", line 266, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 2942, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3340, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3441, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2310, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 481, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 595, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 787, in accept
+ return visitor.visit_func_def(self)
+ File "/checker.py", line 1005, in visit_func_def
+ self._visit_func_def(defn)
+ File "/checker.py", line 1009, in _visit_func_def
+ self.check_func_item(defn, name=defn.name)
+ File "/checker.py", line 1082, in check_func_item
+ self.check_func_def(defn, typ, name, allow_empty)
+ File "/checker.py", line 1139, in check_func_def
+ self.check_for_missing_annotations(fdef)
+ File "/checker.py", line 1503, in check_for_missing_annotations
+ self.fail(message_registry.RETURN_TYPE_EXPECTED_INCOMPLETE_DEF, fdef)
+ AttributeError: module 'mypy.message_registry' has no attribute 'RETURN_TYPE_EXPECTED_INCOMPLETE_DEF'
- steam/_const.py:29: error: Module "steam.clan" has no attribute "Clan" [attr-defined]
- steam/_const.py:30: error: Module "steam.group" has no attribute "Group" [attr-defined]
- 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:120: error: Unused "type: ignore" comment [unused-ignore]
- steam/_const.py:146: error: Invalid base class [misc]
- 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, object], bool]", variable has type "Callable[[object, object], bool]") [assignment]
- steam/_const.py:196: error: Cannot assign to a method [method-assign]
- steam/_const.py:196: error: Incompatible types in assignment (expression has type "Callable[[_IDComparable], int]", variable has type "Callable[[object], int]") [assignment]
- steam/types/user.py:16: error: Module "steam.user" has no attribute "User" [attr-defined]
- steam/types/user.py:139: error: Cannot resolve name "Author" (possible cyclic definition) [misc]
- steam/types/user.py:143: error: Parameter 1 of Literal[...] is invalid [valid-type]
- steam/invite.py:16: error: Module "steam.clan" has no attribute "Clan" [attr-defined]
- steam/invite.py:19: error: Module "steam.group" has no attribute "Group" [attr-defined]
- steam/invite.py:21: error: Module "steam.user" has no attribute "User" [attr-defined]
- 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:118: error: Cannot resolve name "ChatGroupInvite" (possible cyclic definition) [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:106: error: Invalid base class [misc]
- 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:181: error: Invalid base class [misc]
- steam/enums.py:198: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:249: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:637: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:640: error: Dict entry 0 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:641: error: Dict entry 1 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:642: error: Dict entry 2 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:643: error: Dict entry 3 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:644: error: Dict entry 4 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:645: error: Dict entry 5 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:646: error: Dict entry 6 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:647: error: Dict entry 7 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:648: error: Dict entry 8 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:649: error: Dict entry 9 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:650: error: Dict entry 10 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:651: error: Dict entry 11 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:652: error: Dict entry 12 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:653: error: Dict entry 13 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:654: error: Dict entry 14 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:655: error: Dict entry 15 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:656: error: Dict entry 16 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:657: error: Dict entry 17 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:658: error: Dict entry 18 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:659: error: Dict entry 19 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:660: error: Dict entry 20 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:661: error: Dict entry 21 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:662: error: Dict entry 22 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:663: error: Dict entry 23 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:664: error: Dict entry 24 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:665: error: Dict entry 25 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:666: error: Dict entry 26 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:667: error: Dict entry 27 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:668: error: Dict entry 28 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:672: error: Unused "type: ignore" comment [unused-ignore]
- steam/enums.py:675: error: Dict entry 0 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:676: error: Dict entry 1 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:677: error: Dict entry 2 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:678: error: Dict entry 3 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:679: error: Dict entry 4 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
- steam/enums.py:680: error: Dict entry 5 has incompatible type "int": "str"; expected "Language": "str" [dict-item]
... (truncated 1203 lines) ...
pandas (https://github.com/pandas-dev/pandas)
- pandas/io/excel/_calamine.py:78: error: Unused "type: ignore" comment [unused-ignore]
- pandas/tests/scalar/timedelta/test_timedelta.py:558: error: Untyped decorator makes function "test_hash_equality_invariance" untyped [misc]
- pandas/plotting/_matplotlib/tools.py:82: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/style.py:310: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/converter.py:371: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/converter.py:372: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/converter.py:374: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/converter.py:375: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/converter.py:1008: error: Unused "type: ignore" comment [unused-ignore]
- pandas/tests/io/test_sql.py:599: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/timeseries.py:143: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/timeseries.py:156: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/timeseries.py:174: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/timeseries.py:177: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/timeseries.py:180: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:532: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:534: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:535: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:538: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:550: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:1268: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:1269: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:1598: error: Unused "type: ignore" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:1603: error: Unused "type: ignore[attr-defined]" comment [unused-ignore]
- pandas/plotting/_matplotlib/core.py:1620: error: Unused "type: ignore" comment [unused-ignore]
... (truncated 1757 lines) ...```
Closing since this is stale and isn't passing tests, please feel free to re-open if you get time to get it working! :-)