Skip to content

Fix tests in master #19293

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

Merged
merged 1 commit into from
Jun 13, 2025
Merged

Fix tests in master #19293

merged 1 commit into from
Jun 13, 2025

Conversation

ilevkivskyi
Copy link
Member

No description provided.

@ilevkivskyi ilevkivskyi merged commit 4373e05 into python:master Jun 13, 2025
18 checks passed
@ilevkivskyi ilevkivskyi deleted the fix-build-22 branch June 13, 2025 16:27
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

mypy_primer (https://github.com/hauntsaninja/mypy_primer)
- ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/multiprocessing/reduction.pyi:29: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/multiprocessing/reduction.pyi:29: : 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 127, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-   File "/main.py", line 211, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 191, in build
-     result = _build(
-   File "/build.py", line 267, in _build
-     graph = dispatch(sources, manager, stdout)
-   File "/build.py", line 2939, in dispatch
-     process_graph(graph, manager)
-   File "/build.py", line 3337, in process_graph
-     process_stale_scc(graph, scc, manager)
-   File "/build.py", line 3438, in process_stale_scc
-     graph[id].type_check_first_pass()
-   File "/build.py", line 2311, in type_check_first_pass
-     self.type_checker().check_first_pass()
-   File "/checker.py", line 470, in check_first_pass
-     self.accept(d)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1406, in accept
-     return visitor.visit_assignment_stmt(self)
-   File "/checker.py", line 3075, in visit_assignment_stmt
-     self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax)
-   File "/checker.py", line 3287, in check_assignment
-     rvalue_type = self.expr_checker.accept(rvalue, type_context=type_context)
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 1952, in accept
-     return visitor.visit_member_expr(self)
-            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
-   File "/checkexpr.py", line 3326, in visit_member_expr
-     result = self.analyze_ordinary_member_access(e, is_lvalue)
-   File "/checkexpr.py", line 3356, in analyze_ordinary_member_access
-     member_type = analyze_member_access(
-         e.name,
-     ...<10 lines>...
-         rvalue=rvalue,
-     )
-   File "/checkmember.py", line 225, in analyze_member_access
-     result = _analyze_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 249, in _analyze_member_access
-     return analyze_type_callable_member_access(name, typ, mx)
-   File "/checkmember.py", line 425, in analyze_type_callable_member_access
-     result = analyze_class_attribute_access(
-         ret_type, name, mx, original_vars=typ.items[0].variables, mcs_fallback=typ.fallback
-     )
-   File "/checkmember.py", line 1241, in analyze_class_attribute_access
-     if is_decorated and not is_staticmethod:
-                             ^^^^^^^^^^^^^^^
- NameError: name 'is_staticmethod' is not defined

paroxython (https://github.com/laowantong/paroxython)
- paroxython/preprocess_source.py:53: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- paroxython/preprocess_source.py:53: : note: use --pdb to drop into pdb
+ paroxython/list_programs.py:51: error: Incompatible default for argument "relative_path" (default has type "None", argument has type "Path")  [assignment]
+ paroxython/list_programs.py:51: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
+ paroxython/list_programs.py:51: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
+ paroxython/derived_labels_db.py:189: error: Invalid index type "str | Any" for "dict[LabelName, dict[Span, Any]]"; expected type "LabelName"  [index]
+ paroxython/parse_program.py:288: error: Unused "type: ignore" comment  [unused-ignore]
- 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 127, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-   File "/main.py", line 211, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 191, in build
-     result = _build(
-   File "/build.py", line 267, in _build
-     graph = dispatch(sources, manager, stdout)
-   File "/build.py", line 2939, in dispatch
-     process_graph(graph, manager)
-   File "/build.py", line 3337, in process_graph
-     process_stale_scc(graph, scc, manager)
-   File "/build.py", line 3438, in process_stale_scc
-     graph[id].type_check_first_pass()
-   File "/build.py", line 2311, in type_check_first_pass
-     self.type_checker().check_first_pass()
-   File "/checker.py", line 470, in check_first_pass
-     self.accept(d)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1238, in accept
-     return visitor.visit_class_def(self)
-   File "/checker.py", line 2560, in visit_class_def
-     self.accept(defn.defs)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1319, in accept
-     return visitor.visit_block(self)
-   File "/checker.py", line 3026, in visit_block
-     self.accept(s)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 851, in accept
-     return visitor.visit_func_def(self)
-   File "/checker.py", line 1149, in visit_func_def
-     self._visit_func_def(defn)
-   File "/checker.py", line 1153, in _visit_func_def
-     self.check_func_item(defn, name=defn.name)
-   File "/checker.py", line 1188, in check_func_item
-     self.check_func_def(defn, typ, name, allow_empty)
-   File "/checker.py", line 1475, in check_func_def
-     self.accept(item.body)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1319, in accept
-     return visitor.visit_block(self)
-   File "/checker.py", line 3026, in visit_block
-     self.accept(s)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1587, in accept
-     return visitor.visit_if_stmt(self)
-   File "/checker.py", line 4849, in visit_if_stmt
-     self.accept(b)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1319, in accept
-     return visitor.visit_block(self)
-   File "/checker.py", line 3026, in visit_block
-     self.accept(s)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1406, in accept
-     return visitor.visit_assignment_stmt(self)
-   File "/checker.py", line 3075, in visit_assignment_stmt
-     self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax)
-   File "/checker.py", line 3208, in check_assignment
-     rvalue_type, lvalue_type, infer_lvalue_type = self.check_member_assignment(
-   File "/checker.py", line 4612, in check_member_assignment
-     rvalue_type, _ = self.check_simple_assignment(attribute_type, rvalue, context)
-   File "/checker.py", line 4482, in check_simple_assignment
-     rvalue_type = self.expr_checker.accept(
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 1952, in accept
-     return visitor.visit_member_expr(self)
-            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
-   File "/checkexpr.py", line 3326, in visit_member_expr
-     result = self.analyze_ordinary_member_access(e, is_lvalue)
-   File "/checkexpr.py", line 3356, in analyze_ordinary_member_access
-     member_type = analyze_member_access(
-         e.name,
-     ...<10 lines>...
-         rvalue=rvalue,
-     )
-   File "/checkmember.py", line 225, in analyze_member_access
-     result = _analyze_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 249, in _analyze_member_access
-     return analyze_type_callable_member_access(name, typ, mx)
-   File "/checkmember.py", line 425, in analyze_type_callable_member_access
-     result = analyze_class_attribute_access(
-         ret_type, name, mx, original_vars=typ.items[0].variables, mcs_fallback=typ.fallback
-     )
-   File "/checkmember.py", line 1241, in analyze_class_attribute_access
-     if is_decorated and not is_staticmethod:
-                             ^^^^^^^^^^^^^^^
- NameError: name 'is_staticmethod' is not defined

pytest-robotframework (https://github.com/detachhead/pytest-robotframework)
- .../projects/pytest-robotframework/pytest_robotframework/__init__.py:218: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- .../projects/pytest-robotframework/pytest_robotframework/__init__.py:218: : note: use --pdb to drop into pdb
+ pytest_robotframework/__init__.py:266: error: Incompatible types in assignment (expression has type "_FullStackStatusReporter | nullcontext[None]", variable has type "AbstractContextManager[object, bool]")  [assignment]
+ pytest_robotframework/__init__.py:325: error: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader  [overload-cannot-match]
+ pytest_robotframework/__init__.py:394: error: Incompatible types in assignment (expression has type "bool | None", variable has type "bool")  [assignment]
+ pytest_robotframework/__init__.py:463: error: Overloaded function signature 5 will never be matched: signature 4's parameter type(s) are the same or broader  [overload-cannot-match]
+ pytest_robotframework/__init__.py:467: error: Overloaded function signature 6 will never be matched: signature 4's parameter type(s) are the same or broader  [overload-cannot-match]
+ pytest_robotframework/__init__.py:467: error: Overloaded function signature 6 will never be matched: signature 5's parameter type(s) are the same or broader  [overload-cannot-match]
+ pytest_robotframework/__init__.py:503: error: Argument "wrap_context_manager" to "keyword" has incompatible type "bool | None"; expected "None"  [arg-type]
+ pytest_robotframework/__init__.py:569: error: No overload variant of "keyword" matches argument types "str | None", "tuple[str, ...] | None", "str | None", "bool"  [call-overload]
+ pytest_robotframework/__init__.py:569: note: Possible overload variants:
+ pytest_robotframework/__init__.py:569: note:     def keyword(*, name: str | None = ..., tags: tuple[str, ...] | None = ..., module: str | None = ..., wrap_context_manager: Literal[True]) -> _WrappedContextManagerKeywordDecorator
+ pytest_robotframework/__init__.py:569: note:     def keyword(*, name: str | None = ..., tags: tuple[str, ...] | None = ..., module: str | None = ..., wrap_context_manager: Literal[False]) -> _NonWrappedContextManagerKeywordDecorator
+ pytest_robotframework/__init__.py:569: note:     def keyword(*, name: str | None = ..., tags: tuple[str, ...] | None = ..., module: str | None = ..., wrap_context_manager: None = ...) -> _FunctionKeywordDecorator
+ pytest_robotframework/__init__.py:569: note:     def keyword(fn: Any) -> Any
+ pytest_robotframework/__init__.py:569: note:     def keyword(fn: Any) -> Never
+ pytest_robotframework/__init__.py:617: error: Redundant cast to "list[tuple[str, Any]]"  [redundant-cast]
+ pytest_robotframework/_internal/robot/library.py:82: error: "Cloaked" expects no type arguments, but 1 given  [type-arg]
+ pytest_robotframework/_internal/robot/library.py:96: error: "Cloaked" expects no type arguments, but 1 given  [type-arg]
+ pytest_robotframework/_internal/robot/library.py:114: error: "Cloaked" expects no type arguments, but 1 given  [type-arg]
+ pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:73: error: The first argument to Callable must be a list of types, parameter specification, or "..."  [valid-type]
+ pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:73: note: See https://mypy.readthedocs.io/en/stable/kinds_of_types.html#callable-types-and-lambdas
+ pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:308: error: Missing return statement  [return]
+ pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:597: error: The first argument to Callable must be a list of types, parameter specification, or "..."  [valid-type]
+ pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:597: note: See https://mypy.readthedocs.io/en/stable/kinds_of_types.html#callable-types-and-lambdas
+ pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:615: error: The last parameter to Concatenate needs to be a ParamSpec  [valid-type]
+ pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:615: error: The first argument to Callable must be a list of types, parameter specification, or "..."  [valid-type]
+ pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:615: note: See https://mypy.readthedocs.io/en/stable/kinds_of_types.html#callable-types-and-lambdas
+ pytest_robotframework/_internal/pytest/plugin.py:452: error: "_RedirectStream[IO[str]]" has no attribute "_stream"  [attr-defined]
- 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 127, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-   File "/main.py", line 211, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 191, in build
-     result = _build(
-   File "/build.py", line 267, in _build
-     graph = dispatch(sources, manager, stdout)
-   File "/build.py", line 2939, in dispatch
-     process_graph(graph, manager)
-   File "/build.py", line 3337, in process_graph
-     process_stale_scc(graph, scc, manager)
-   File "/build.py", line 3438, in process_stale_scc
-     graph[id].type_check_first_pass()
-   File "/build.py", line 2311, in type_check_first_pass
-     self.type_checker().check_first_pass()
-   File "/checker.py", line 470, in check_first_pass
-     self.accept(d)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1238, in accept
-     return visitor.visit_class_def(self)
-   File "/checker.py", line 2560, in visit_class_def
-     self.accept(defn.defs)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1319, in accept
-     return visitor.visit_block(self)
-   File "/checker.py", line 3026, in visit_block
-     self.accept(s)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 965, in accept
-     return visitor.visit_decorator(self)
-   File "/checker.py", line 5239, in visit_decorator
-     self.visit_decorator_inner(e)
-   File "/checker.py", line 5246, in visit_decorator_inner
-     self.check_func_item(e.func, name=e.func.name, allow_empty=allow_empty)
-   File "/checker.py", line 1188, in check_func_item
-     self.check_func_def(defn, typ, name, allow_empty)
-   File "/checker.py", line 1475, in check_func_def
-     self.accept(item.body)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1319, in accept
-     return visitor.visit_block(self)
-   File "/checker.py", line 3026, in visit_block
-     self.accept(s)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1675, in accept
-     return visitor.visit_with_stmt(self)
-   File "/checker.py", line 5370, in visit_with_stmt
-     self.accept(s.body)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1319, in accept
-     return visitor.visit_block(self)
-   File "/checker.py", line 3026, in visit_block
-     self.accept(s)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1642, in accept
-     return visitor.visit_try_stmt(self)
-   File "/checker.py", line 4962, in visit_try_stmt
-     self.visit_try_without_finally(s, try_frame=bool(s.finally_body))
-   File "/checker.py", line 5010, in visit_try_without_finally
-     self.accept(s.handlers[i])
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1319, in accept
-     return visitor.visit_block(self)
-   File "/checker.py", line 3026, in visit_block
-     self.accept(s)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1339, in accept
-     return visitor.visit_expression_stmt(self)
-   File "/checker.py", line 4714, in visit_expression_stmt
-     expr_type = self.expr_checker.accept(s.expr, allow_none_return=True, always_allow_any=True)
-   File "/checkexpr.py", line 5964, in accept
-     typ = self.visit_call_expr(node, allow_none_return=True)
-   File "/checkexpr.py", line 515, in visit_call_expr
-     return self.visit_call_expr_inner(e, allow_none_return=allow_none_return)
-   File "/checkexpr.py", line 605, in visit_call_expr_inner
-     self.accept(e.callee, type_context, always_allow_any=True, is_callee=True)
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 1952, in accept
-     return visitor.visit_member_expr(self)
-            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
-   File "/checkexpr.py", line 3326, in visit_member_expr
-     result = self.analyze_ordinary_member_access(e, is_lvalue)
-   File "/checkexpr.py", line 3356, in analyze_ordinary_member_access
-     member_type = analyze_member_access(
-         e.name,
-     ...<10 lines>...
-         rvalue=rvalue,
-     )
-   File "/checkmember.py", line 225, in analyze_member_access
-     result = _analyze_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 251, in _analyze_member_access
-     return analyze_type_type_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 478, in analyze_type_type_member_access
-     result = analyze_class_attribute_access(
-         item, name, mx, mcs_fallback=fallback, override_info=override_info
-     )
-   File "/checkmember.py", line 1241, in analyze_class_attribute_access
-     if is_decorated and not is_staticmethod:
-                             ^^^^^^^^^^^^^^^
- NameError: name 'is_staticmethod' is not defined

anyio (https://github.com/agronholm/anyio)
- ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/multiprocessing/reduction.pyi:29: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/multiprocessing/reduction.pyi:29: : note: use --pdb to drop into pdb
+ src/anyio/_backends/_trio.py:192: error: Unused "type: ignore" comment  [unused-ignore]
+ src/anyio/_backends/_trio.py:357: error: Class cannot subclass "Instrument" (has type "Any")  [misc]
+ src/anyio/_backends/_trio.py:398: error: Unused "type: ignore" comment  [unused-ignore]
- 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 127, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-   File "/main.py", line 211, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 191, in build
-     result = _build(
-   File "/build.py", line 267, in _build
-     graph = dispatch(sources, manager, stdout)
-   File "/build.py", line 2939, in dispatch
-     process_graph(graph, manager)
-   File "/build.py", line 3337, in process_graph
-     process_stale_scc(graph, scc, manager)
-   File "/build.py", line 3438, in process_stale_scc
-     graph[id].type_check_first_pass()
-   File "/build.py", line 2311, in type_check_first_pass
-     self.type_checker().check_first_pass()
-   File "/checker.py", line 470, in check_first_pass
-     self.accept(d)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1406, in accept
-     return visitor.visit_assignment_stmt(self)
-   File "/checker.py", line 3075, in visit_assignment_stmt
-     self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax)
-   File "/checker.py", line 3287, in check_assignment
-     rvalue_type = self.expr_checker.accept(rvalue, type_context=type_context)
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 1952, in accept
-     return visitor.visit_member_expr(self)
-            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
-   File "/checkexpr.py", line 3326, in visit_member_expr
-     result = self.analyze_ordinary_member_access(e, is_lvalue)
-   File "/checkexpr.py", line 3356, in analyze_ordinary_member_access
-     member_type = analyze_member_access(
-         e.name,
-     ...<10 lines>...
-         rvalue=rvalue,
-     )
-   File "/checkmember.py", line 225, in analyze_member_access
-     result = _analyze_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 249, in _analyze_member_access
-     return analyze_type_callable_member_access(name, typ, mx)
-   File "/checkmember.py", line 425, in analyze_type_callable_member_access
-     result = analyze_class_attribute_access(
-         ret_type, name, mx, original_vars=typ.items[0].variables, mcs_fallback=typ.fallback
-     )
-   File "/checkmember.py", line 1241, in analyze_class_attribute_access
-     if is_decorated and not is_staticmethod:
-                             ^^^^^^^^^^^^^^^
- NameError: name 'is_staticmethod' is not defined

pylox (https://github.com/sco1/pylox)
- ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/multiprocessing/reduction.pyi:29: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/multiprocessing/reduction.pyi:29: : note: use --pdb to drop into pdb
+ pylox/parser.py:468: error: Incompatible return value type (got "Expr", expected "Binary")  [return-value]
+ pylox/parser.py:584: error: Missing return statement  [return]
+ pylox/containers/array.py:26: error: "dict[Any, Any]" has no attribute "append"  [attr-defined]
+ pylox/containers/array.py:39: error: "dict[Any, Any]" has no attribute "appendleft"  [attr-defined]
+ pylox/containers/array.py:84: error: All overload variants of "pop" of "dict" require at least one argument  [call-overload]
+ pylox/containers/array.py:84: note: Possible overload variants:
+ pylox/containers/array.py:84: note:     def pop(self, Any, /) -> Any
+ pylox/containers/array.py:84: note:     def pop(self, Any, Any, /) -> Any
+ pylox/containers/array.py:84: note:     def [_T] pop(self, Any, _T, /) -> Any | _T
+ pylox/containers/array.py:100: error: "dict[Any, Any]" has no attribute "popleft"  [attr-defined]
+ pylox/containers/array.py:115: error: "dict[Any, Any]" has no attribute "reverse"  [attr-defined]
+ pylox/containers/array.py:133: error: Incompatible types in assignment (expression has type "deque[Any]", variable has type "dict[Any, Any]")  [assignment]
+ pylox/containers/array.py:146: error: Incompatible types in assignment (expression has type "type[LoxArray]", variable has type "LoxClass")  [assignment]
+ pylox/containers/array.py:147: error: Incompatible types in assignment (expression has type "deque[None]", variable has type "dict[Any, Any]")  [assignment]
+ pylox/builtins/py_builtins.py:21: error: Incompatible types in assignment (expression has type "deque[Any]", variable has type "dict[Any, Any]")  [assignment]
+ pylox/builtins/py_builtins.py:149: error: Argument 1 to "len" has incompatible type "LoxInstance"; expected "Sized"  [arg-type]
+ pylox/builtins/py_builtins.py:175: error: Returning Any from function declared to return "float"  [no-any-return]
+ pylox/builtins/py_builtins.py:192: error: Returning Any from function declared to return "float"  [no-any-return]
+ pylox/builtins/py_builtins.py:216: error: Returning Any from function declared to return "float"  [no-any-return]
+ pylox/builtins/py_builtins.py:326: error: Returning Any from function declared to return "float"  [no-any-return]
+ pylox/interpreter.py:160: error: Incompatible types in assignment (expression has type "Environment | None", variable has type "Environment")  [assignment]
+ pylox/interpreter.py:220: error: Returning Any from function declared to return "Expr"  [no-any-return]
+ pylox/interpreter.py:223: error: Returning Any from function declared to return "Expr"  [no-any-return]
+ pylox/interpreter.py:225: error: Returning Any from function declared to return "Expr"  [no-any-return]
+ pylox/interpreter.py:235: error: Returning Any from function declared to return "float | bool"  [no-any-return]
+ pylox/interpreter.py:266: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:282: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:286: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:292: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:297: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:300: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:303: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:306: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:309: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/interpreter.py:312: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
+ pylox/lox.py:117: error: Untyped decorator makes function "main" untyped  [misc]
- 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 127, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-   File "/main.py", line 211, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 191, in build
-     result = _build(
-   File "/build.py", line 267, in _build
-     graph = dispatch(sources, manager, stdout)
-   File "/build.py", line 2939, in dispatch
-     process_graph(graph, manager)
-   File "/build.py", line 3337, in process_graph
-     process_stale_scc(graph, scc, manager)
-   File "/build.py", line 3438, in process_stale_scc
-     graph[id].type_check_first_pass()
-   File "/build.py", line 2311, in type_check_first_pass
-     self.type_checker().check_first_pass()
-   File "/checker.py", line 470, in check_first_pass
-     self.accept(d)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1406, in accept
-     return visitor.visit_assignment_stmt(self)
-   File "/checker.py", line 3075, in visit_assignment_stmt
-     self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax)
-   File "/checker.py", line 3287, in check_assignment
-     rvalue_type = self.expr_checker.accept(rvalue, type_context=type_context)
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 1952, in accept
-     return visitor.visit_member_expr(self)
-            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
-   File "/checkexpr.py", line 3326, in visit_member_expr
-     result = self.analyze_ordinary_member_access(e, is_lvalue)
-   File "/checkexpr.py", line 3356, in analyze_ordinary_member_access
-     member_type = analyze_member_access(
-         e.name,
-     ...<10 lines>...
-         rvalue=rvalue,
-     )
-   File "/checkmember.py", line 225, in analyze_member_access
-     result = _analyze_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 249, in _analyze_member_access
-     return analyze_type_callable_member_access(name, typ, mx)
-   File "/checkmember.py", line 425, in analyze_type_callable_member_access
-     result = analyze_class_attribute_access(
-         ret_type, name, mx, original_vars=typ.items[0].variables, mcs_fallback=typ.fallback
-     )
-   File "/checkmember.py", line 1241, in analyze_class_attribute_access
-     if is_decorated and not is_staticmethod:
-                             ^^^^^^^^^^^^^^^
- NameError: name 'is_staticmethod' is not defined

CPython (peg_generator) (https://github.com/python/cpython)
- /tmp/mypy_primer/projects/_CPython (peg_generator)_venv/lib/python3.13/site-packages/setuptools-stubs/namespaces.pyi:3: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- /tmp/mypy_primer/projects/_CPython (peg_generator)_venv/lib/python3.13/site-packages/setuptools-stubs/namespaces.pyi:3: : 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 127, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-   File "/main.py", line 211, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 191, in build
-     result = _build(
-   File "/build.py", line 267, in _build
-     graph = dispatch(sources, manager, stdout)
-   File "/build.py", line 2939, in dispatch
-     process_graph(graph, manager)
-   File "/build.py", line 3337, in process_graph
-     process_stale_scc(graph, scc, manager)
-   File "/build.py", line 3438, in process_stale_scc
-     graph[id].type_check_first_pass()
-   File "/build.py", line 2311, in type_check_first_pass
-     self.type_checker().check_first_pass()
-   File "/checker.py", line 470, in check_first_pass
-     self.accept(d)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1406, in accept
-     return visitor.visit_assignment_stmt(self)
-   File "/checker.py", line 3075, in visit_assignment_stmt
-     self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax)
-   File "/checker.py", line 3287, in check_assignment
-     rvalue_type = self.expr_checker.accept(rvalue, type_context=type_context)
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 1952, in accept
-     return visitor.visit_member_expr(self)
-            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
-   File "/checkexpr.py", line 3326, in visit_member_expr
-     result = self.analyze_ordinary_member_access(e, is_lvalue)
-   File "/checkexpr.py", line 3356, in analyze_ordinary_member_access
-     member_type = analyze_member_access(
-         e.name,
-     ...<10 lines>...
-         rvalue=rvalue,
-     )
-   File "/checkmember.py", line 225, in analyze_member_access
-     result = _analyze_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 249, in _analyze_member_access
-     return analyze_type_callable_member_access(name, typ, mx)
-   File "/checkmember.py", line 425, in analyze_type_callable_member_access
-     result = analyze_class_attribute_access(
-         ret_type, name, mx, original_vars=typ.items[0].variables, mcs_fallback=typ.fallback
-     )
-   File "/checkmember.py", line 1241, in analyze_class_attribute_access
-     if is_decorated and not is_staticmethod:
-                             ^^^^^^^^^^^^^^^
- NameError: name 'is_staticmethod' is not defined

setuptools (https://github.com/pypa/setuptools)
- setuptools/namespaces.py:8: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- setuptools/namespaces.py:8: : note: use --pdb to drop into pdb
+ setuptools/msvc.py:296: error: Unused "type: ignore" comment, use narrower [overload-cannot-match] instead of [misc] code  [unused-ignore]
+ setuptools/msvc.py:1463: error: Unused "type: ignore" comment  [unused-ignore]
+ pkg_resources/__init__.py:1989: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/monkey.py:76: error: Unused "type: ignore[assignment, misc]" comment  [unused-ignore]
+ setuptools/monkey.py:85: error: Unused "type: ignore[assignment, misc]" comment  [unused-ignore]
+ setuptools/monkey.py:86: error: Unused "type: ignore[assignment, misc]" comment  [unused-ignore]
+ setuptools/extension.py:158: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/dist.py:839: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/__init__.py:117: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/command/bdist_egg.py:238: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/build_meta.py:91: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/build_meta.py:95: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/command/install_lib.py:99: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/command/install_lib.py:100: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/command/install_lib.py:101: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/command/build_py.py:53: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/command/build_py.py:141: error: Unused "type: ignore" comment  [unused-ignore]
+ setuptools/command/build_ext.py:249: error: Unused "type: ignore" comment  [unused-ignore]
- 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 127, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-   File "/main.py", line 211, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 191, in build
-     result = _build(
-   File "/build.py", line 267, in _build
-     graph = dispatch(sources, manager, stdout)
-   File "/build.py", line 2939, in dispatch
-     process_graph(graph, manager)
-   File "/build.py", line 3337, in process_graph
-     process_stale_scc(graph, scc, manager)
-   File "/build.py", line 3438, in process_stale_scc
-     graph[id].type_check_first_pass()
-   File "/build.py", line 2311, in type_check_first_pass
-     self.type_checker().check_first_pass()
-   File "/checker.py", line 470, in check_first_pass
-     self.accept(d)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1406, in accept
-     return visitor.visit_assignment_stmt(self)
-   File "/checker.py", line 3075, in visit_assignment_stmt
-     self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax)
-   File "/checker.py", line 3287, in check_assignment
-     rvalue_type = self.expr_checker.accept(rvalue, type_context=type_context)
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 1952, in accept
-     return visitor.visit_member_expr(self)
-            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
-   File "/checkexpr.py", line 3326, in visit_member_expr
-     result = self.analyze_ordinary_member_access(e, is_lvalue)
-   File "/checkexpr.py", line 3356, in analyze_ordinary_member_access
-     member_type = analyze_member_access(
-         e.name,
-     ...<10 lines>...
-         rvalue=rvalue,
-     )
-   File "/checkmember.py", line 225, in analyze_member_access
-     result = _analyze_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 249, in _analyze_member_access
-     return analyze_type_callable_member_access(name, typ, mx)
-   File "/checkmember.py", line 425, in analyze_type_callable_member_access
-     result = analyze_class_attribute_access(
-         ret_type, name, mx, original_vars=typ.items[0].variables, mcs_fallback=typ.fallback
-     )
-   File "/checkmember.py", line 1241, in analyze_class_attribute_access
-     if is_decorated and not is_staticmethod:
-                             ^^^^^^^^^^^^^^^
- NameError: name 'is_staticmethod' is not defined

websockets (https://github.com/aaugustin/websockets)
- src/websockets/utils.py:48: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- src/websockets/utils.py:48: : note: use --pdb to drop into pdb
+ src/websockets/frames.py:174: error: Argument 1 to "parse" of "Close" has incompatible type "bytes | bytearray | memoryview[int]"; expected "bytes"  [arg-type]
+ src/websockets/frames.py:328: error: Argument 1 to "apply_mask" has incompatible type "bytes | bytearray | memoryview[int]"; expected "bytes"  [arg-type]
+ src/websockets/frames.py:330: error: Incompatible types in assignment (expression has type "bytes | bytearray | memoryview[int]", variable has type "bytes")  [assignment]
+ src/websockets/protocol.py:706: error: Argument 1 to "parse" of "Close" has incompatible type "bytes | bytearray | memoryview[int]"; expected "bytes"  [arg-type]
+ src/websockets/extensions/permessage_deflate.py:137: error: Incompatible types in assignment (expression has type "bytes | bytearray | memoryview[int]", variable has type "bytes")  [assignment]
+ src/websockets/extensions/permessage_deflate.py:194: error: Incompatible types in assignment (expression has type "memoryview[int]", variable has type "bytes")  [assignment]
+ src/websockets/asyncio/messages.py:246: error: Incompatible types in "yield" (actual type "bytes | bytearray | memoryview[int]", expected type "str | bytes")  [misc]
+ src/websockets/asyncio/messages.py:260: error: Incompatible types in "yield" (actual type "bytes | bytearray | memoryview[int]", expected type "str | bytes")  [misc]
+ src/websockets/asyncio/connection.py:487: error: Argument 1 to "send_text" of "Protocol" has incompatible type "bytes | memoryview[Any]"; expected "bytes"  [arg-type]
+ src/websockets/asyncio/connection.py:489: error: Argument 1 to "send_binary" of "Protocol" has incompatible type "bytes | memoryview[Any]"; expected "bytes"  [arg-type]
+ src/websockets/asyncio/client.py:718: error: Returning Any from function declared to return "socket"  [no-any-return]
+ src/websockets/sync/messages.py:258: error: Incompatible types in "yield" (actual type "bytes | bytearray | memoryview[int]", expected type "str | bytes")  [misc]
+ src/websockets/sync/messages.py:269: error: Incompatible types in "yield" (actual type "bytes | bytearray | memoryview[int]", expected type "str | bytes")  [misc]
+ src/websockets/legacy/framing.py:117: error: Argument 3 to "Frame" has incompatible type "bytes | bytearray | memoryview[int]"; expected "bytes"  [arg-type]
+ src/websockets/sync/connection.py:486: error: Argument 1 to "send_text" of "Protocol" has incompatible type "bytes | memoryview[Any]"; expected "bytes"  [arg-type]
+ src/websockets/sync/connection.py:488: error: Argument 1 to "send_binary" of "Protocol" has incompatible type "bytes | memoryview[Any]"; expected "bytes"  [arg-type]
+ src/websockets/legacy/protocol.py:631: error: Argument 1 to "prepare_data" has incompatible type "str | bytes | memoryview[Any]"; expected "str | bytes"  [arg-type]
+ src/websockets/sync/client.py:472: error: Returning Any from function declared to return "socket"  [no-any-return]
+ src/websockets/sync/client.py:645: error: Argument 1 to "send" of "SSLSSLSocket" has incompatible type "memoryview[int]"; expected "bytes"  [arg-type]
- 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 127, in main
-     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
-   File "/main.py", line 211, in run_build
-     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
-   File "/build.py", line 191, in build
-     result = _build(
-   File "/build.py", line 267, in _build
-     graph = dispatch(sources, manager, stdout)
-   File "/build.py", line 2939, in dispatch
-     process_graph(graph, manager)
-   File "/build.py", line 3337, in process_graph
-     process_stale_scc(graph, scc, manager)
-   File "/build.py", line 3438, in process_stale_scc
-     graph[id].type_check_first_pass()
-   File "/build.py", line 2311, in type_check_first_pass
-     self.type_checker().check_first_pass()
-   File "/checker.py", line 470, in check_first_pass
-     self.accept(d)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 851, in accept
-     return visitor.visit_func_def(self)
-   File "/checker.py", line 1149, in visit_func_def
-     self._visit_func_def(defn)
-   File "/checker.py", line 1153, in _visit_func_def
-     self.check_func_item(defn, name=defn.name)
-   File "/checker.py", line 1188, in check_func_item
-     self.check_func_def(defn, typ, name, allow_empty)
-   File "/checker.py", line 1475, in check_func_def
-     self.accept(item.body)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1319, in accept
-     return visitor.visit_block(self)
-   File "/checker.py", line 3026, in visit_block
-     self.accept(s)
-   File "/checker.py", line 577, in accept
-     stmt.accept(self)
-   File "/nodes.py", line 1406, in accept
-     return visitor.visit_assignment_stmt(self)
-   File "/checker.py", line 3075, in visit_assignment_stmt
-     self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None, s.new_syntax)
-   File "/checker.py", line 3287, in check_assignment
-     rvalue_type = self.expr_checker.accept(rvalue, type_context=type_context)
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 2028, in accept
-     return visitor.visit_call_expr(self)
-   File "/checkexpr.py", line 515, in visit_call_expr
-     return self.visit_call_expr_inner(e, allow_none_return=allow_none_return)
-   File "/checkexpr.py", line 605, in visit_call_expr_inner
-     self.accept(e.callee, type_context, always_allow_any=True, is_callee=True)
-   File "/checkexpr.py", line 5972, in accept
-     typ = node.accept(self)
-   File "/nodes.py", line 1952, in accept
-     return visitor.visit_member_expr(self)
-            ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
-   File "/checkexpr.py", line 3326, in visit_member_expr
-     result = self.analyze_ordinary_member_access(e, is_lvalue)
-   File "/checkexpr.py", line 3356, in analyze_ordinary_member_access
-     member_type = analyze_member_access(
-         e.name,
-     ...<10 lines>...
-         rvalue=rvalue,
-     )
-   File "/checkmember.py", line 225, in analyze_member_access
-     result = _analyze_member_access(name, typ, mx, override_info)
-   File "/checkmember.py", line 249, in _analyze_member_access
-     return analyze_type_callable_member_access(name, typ, mx)
-   File "/checkmember.py", line 425, in analyze_type_callable_member_access
-     result = analyze_class_attribute_access(
-         ret_type, name, mx, original_vars=typ.items[0].variables, mcs_fallback=typ.fallback
-     )
-   File "/checkmember.py", line 1241, in analyze_class_attribute_access
-     if is_decorated and not is_staticmethod:
-                             ^^^^^^^^^^^^^^^
- NameError: name 'is_staticmethod' is not defined

speedrun.com_global_scoreboard_webapp (https://github.com/Avasam/speedrun.com_global_scoreboard_webapp)
- .../projects/_speedrun.com_global_scoreboard_webapp_venv/lib/python3.13/site-packages/urllib3/connection.py:149: 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.17.0+dev.2ba79cba94c8a416c16877c1532932662ea20d40
- .../projects/_speedrun.com_global_scoreboard_webapp_venv/lib/python3.13/site-packages/urllib3/connection.py:149: : note: use --pdb to drop into pdb
+ backend/models/global_scoreboard_models.py:20: error: Need type annotation for "variables" (hint: "variables: dict[<type>, <type>] = ...")  [var-annotated]
+ backend/models/tournament_scheduler_models.py:16: error: Variable "models.core_models.BaseModel" is not valid as a type  [valid-type]
+ backend/models/tournament_scheduler_models.py:16: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ backend/models/tournament_scheduler_models.py:16: error: Invalid base class "BaseModel"  [misc]
+ backend/models/tournament_scheduler_models.py:20: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:21: error: Cannot determine type of "db"  [has-type]
+ backend/models/tournament_scheduler_models.py:23: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:23: error: Cannot determine type of "db"  [has-type]
+ backend/models/tournament_scheduler_models.py:24: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:26: error: Cannot determine type of "db"  [has-type]
+ backend/models/tournament_scheduler_models.py:27: error: Cannot determine type of "db"  [has-type]
+ backend/models/tournament_scheduler_models.py:33: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:34: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:39: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:40: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:41: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:44: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:45: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:46: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:47: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:48: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:83: error: Variable "models.core_models.BaseModel" is not valid as a type  [valid-type]
+ backend/models/tournament_scheduler_models.py:83: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ backend/models/tournament_scheduler_models.py:83: error: Invalid base class "BaseModel"  [misc]
+ backend/models/tournament_scheduler_models.py:87: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:88: error: Cannot determine type of "db"  [has-type]
+ backend/models/tournament_scheduler_models.py:89: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:94: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:95: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:96: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:97: error: "Column" expects no type arguments, but 1 given  [type-arg]
+ backend/models/tournament_scheduler_models.py:120: error: Variable "models.core_models.BaseModel" is not valid as a type  [valid-type]

... (truncated 16236 lines) ...```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant