Skip to content

Conversation

@erictraut
Copy link
Collaborator

… This addresses #10625.

* main:
  Changed the evaluated type of `__class__` from `type[Self]` to `type[<Enclosing class]`. This addresses #10685. (#10874)
  Added optimization that reduces the number of Uri objects that need to be created during type evaluation. This is an attempt to address #10832. (#10872)
  Fixed bug that causes a false negative when using unquoted types in a TypedDict functional class definition if the types are forward declared. This addresses #10612. (#10869)
  Fixed bug that resulted in false negative when backslash followed by line feed occurs at end of file. This addresses #10814. (#10867)
  Fixed false negative when a keyword parameter in a child class method overrides a method with a `**kwargs` in the parent and the type is incompatible. This addresses #10815. (#10866)
  Fixed regression introduced in 1.1.343 that results in nondeterministic (order-dependent) type evaluation under certain circumstances involving recursive type aliases. This addresses #10850. (#10865)
  Revert "Added support for tracking multiple constraint sets when performing protocol matching. This allows protocols with overloaded methods to contribute independent constraint sets. This addresses #9835. (#9864)" (#10863)
  Fixed bug that contributes to out-of-memory crashes under certain circumstances where a module's transitive import graph is very large and may not fit within the available heap space. (#10862)
  Bump tmp from 0.2.3 to 0.2.5 in /packages/vscode-pyright (#10824)
  Added support for `match_args` dataclass parameter. This addresses #10858. (#10861)
  Fixed bug that results in false negative when a `closed=False` is used in `TypedDict` that subclasses from a non-open `TypedDict` base class. This addresses #10859. (#10860)
  Revert "Reverted a recent change that appears to have affected performance on some projects. This attempts to address #10832. (#10841)"
  Improved performance of import resolution when there are large number… (#10855)
  Document editable installs with uv (#10854)
  Fixed a bug that results in spurious errors if a class decorator is a… (#10846)
  Fixed a bug that results in false positive errors when using `object` methods (like `__eq__`) on a `Sentinel` instance. This addresses #10773. (#10844)
  Fixed bug that results in incorrect literal math results for bitwise negation. This addresses #10834. (#10842)
  Reverted a recent change that appears to have affected performance on some projects. This attempts to address #10832. (#10841)
  pull-pylance-with-pyright-1.1.403-20250820-201137 (#10831)
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2025

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

scrapy (https://github.com/scrapy/scrapy)
+   .../projects/scrapy/scrapy/utils/defer.py:149:13 - error: Type variable "_T" has no meaning in this context (reportGeneralTypeIssues)
+   .../projects/scrapy/scrapy/utils/defer.py:149:27 - error: Type variable "_T" has no meaning in this context (reportGeneralTypeIssues)
-   .../projects/scrapy/scrapy/utils/defer.py:245:29 - error: "chainDeferred" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/scrapy/scrapy/utils/defer.py:264:29 - error: "addCallbacks" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/scrapy/tests/test_http2_client_protocol.py:678:37 - error: "original" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/scrapy/tests/test_http2_client_protocol.py:679:37 - error: "getIssuer" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/scrapy/tests/test_http2_client_protocol.py:680:37 - error: "getPublicKey" is not a known attribute of "None" (reportOptionalMemberAccess)
- 2171 errors, 123 warnings, 0 informations
+ 2168 errors, 123 warnings, 0 informations

ibis (https://github.com/ibis-project/ibis)
-   .../projects/ibis/ibis/backends/bigquery/__init__.py:303:43 - error: "table" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/bigquery/__init__.py:305:42 - error: "dataset_id" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/bigquery/__init__.py:306:41 - error: "project" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/bigquery/__init__.py:1179:45 - error: "dataset_id" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/bigquery/__init__.py:1182:46 - error: "project" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/bigquery/__init__.py:1289:45 - error: "project" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/bigquery/__init__.py:1289:76 - error: "dataset_id" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/bigquery/__init__.py:1316:70 - error: "query_parameters" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/flink/__init__.py:957:19 - error: Object of type "Series[Any]" is not callable
-     Attribute "__call__" is unknown (reportCallIssue)
-   .../projects/ibis/ibis/backends/flink/__init__.py:957:23 - error: Cannot access attribute "to_pandas" for class "list[Unknown]"
-     Attribute "to_pandas" is unknown (reportAttributeAccessIssue)
-   .../projects/ibis/ibis/backends/flink/__init__.py:957:23 - error: Cannot access attribute "to_pandas" for class "dict[Unknown, Unknown]"
-     Attribute "to_pandas" is unknown (reportAttributeAccessIssue)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:206:23 - error: "conf" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:212:27 - error: "conf" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:215:27 - error: "conf" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:239:23 - error: "stop" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:256:33 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:261:38 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:294:37 - error: "catalog" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:352:37 - error: "catalog" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:376:58 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:383:58 - error: "catalog" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:394:42 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:428:27 - error: "udf" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:435:27 - error: "udf" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:443:27 - error: "udf" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:449:31 - error: "udf" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:453:27 - error: "udf" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:471:32 - error: "createDataFrame" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:476:32 - error: "createDataFrame" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:487:30 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:607:30 - error: "table" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:614:32 - error: "catalog" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:686:36 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:694:31 - error: "catalog" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:786:27 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:795:23 - error: "catalog" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:831:34 - error: "read" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:864:34 - error: "read" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:905:34 - error: "read" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:946:34 - error: "read" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:988:28 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1027:28 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1116:34 - error: "readStream" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1182:28 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1229:38 - error: "read" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1235:38 - error: "readStream" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1283:38 - error: "read" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1290:38 - error: "readStream" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1336:38 - error: "read" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1340:38 - error: "readStream" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/pyspark/__init__.py:1360:28 - error: "sql" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:321:49 - error: "expression" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:324:42 - error: "this" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:327:55 - error: "this" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1112:16 - error: Operator "<" not supported for types "Literal[0]" and "Unknown | None"
-     Operator "<" not supported for types "Literal[0]" and "None" (reportOperatorIssue)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1112:20 - error: Operator "<=" not supported for "None" (reportOptionalOperand)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1114:18 - error: Operator "<" not supported for types "Literal[3]" and "Unknown | None"
-     Operator "<" not supported for types "Literal[3]" and "None" (reportOperatorIssue)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1114:22 - error: Operator "<=" not supported for "None" (reportOptionalOperand)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1116:18 - error: Operator "<" not supported for types "Literal[9]" and "Unknown | None"
-     Operator "<" not supported for types "Literal[9]" and "None" (reportOperatorIssue)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1116:22 - error: Operator "<=" not supported for "None" (reportOptionalOperand)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1118:18 - error: Operator "<" not supported for types "Literal[18]" and "Unknown | None"
-     Operator "<" not supported for types "Literal[18]" and "None" (reportOperatorIssue)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1118:23 - error: Operator "<=" not supported for "None" (reportOptionalOperand)
-   .../projects/ibis/ibis/backends/sql/datatypes.py:1302:29 - error: "this" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/ibis/ibis/selectors.py:526:28 - error: Argument of type "Unknown | str" cannot be assigned to parameter "selector" of type "Selector" in function "__init__"
-     Type "Unknown | str" is not assignable to type "Selector"
-       "str" is not assignable to "Selector" (reportArgumentType)
- 7353 errors, 238 warnings, 0 informations

... (truncated 1 lines) ...

sympy (https://github.com/sympy/sympy)
-   .../projects/sympy/sympy/polys/polyclasses.py:1246:37 - error: Argument of type "Unknown | RingElement*" cannot be assigned to parameter "c" of type "Er@DMP" in function "add_ground"
-     Type "Unknown | RingElement*" is not assignable to type "Er@DMP" (reportArgumentType)
-   .../projects/sympy/sympy/polys/polyclasses.py:1258:37 - error: Argument of type "Unknown | RingElement*" cannot be assigned to parameter "c" of type "Er@DMP" in function "sub_ground"
-     Type "Unknown | RingElement*" is not assignable to type "Er@DMP" (reportArgumentType)
-   .../projects/sympy/sympy/polys/polyclasses.py:1270:37 - error: Argument of type "Unknown | RingElement*" cannot be assigned to parameter "c" of type "Er@DMP" in function "mul_ground"
-     Type "Unknown | RingElement*" is not assignable to type "Er@DMP" (reportArgumentType)
-   .../projects/sympy/sympy/polys/polyclasses.py:1283:37 - error: Argument of type "Unknown | RingElement*" cannot be assigned to parameter "c" of type "Er@DMP" in function "mul_ground"
-     Type "Unknown | RingElement*" is not assignable to type "Er@DMP" (reportArgumentType)
-   .../projects/sympy/sympy/polys/polyclasses.py:1310:37 - error: Argument of type "Unknown | RingElement*" cannot be assigned to parameter "c" of type "Er@DMP" in function "quo_ground"
-     Type "Unknown | RingElement*" is not assignable to type "Er@DMP" (reportArgumentType)
-   .../projects/sympy/sympy/solvers/bivariate.py:134:15 - error: Operator "-" not supported for "None" (reportOptionalOperand)
-   .../projects/sympy/sympy/solvers/bivariate.py:138:17 - error: Operator "-" not supported for type "Basic | Any | Unknown" (reportOperatorIssue)
-   .../projects/sympy/sympy/solvers/bivariate.py:143:23 - error: Operator "-" not supported for "None" (reportOptionalOperand)
-   .../projects/sympy/sympy/solvers/deutils.py:233:14 - error: Operator "not in" not supported for types "str" and "Unknown | int"
-     Operator "not in" not supported for types "str" and "int" (reportOperatorIssue)
-   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:420:38 - error: Argument of type "Unknown | Expr | Literal[0]" cannot be assigned to parameter "expr" of type "Expr" in function "make_args"
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:420:38 - error: Argument of type "int | Any | Unknown | Expr" cannot be assigned to parameter "expr" of type "Expr" in function "make_args"
-     Type "Unknown | Expr | Literal[0]" is not assignable to type "Expr"
+     Type "int | Any | Unknown | Expr" is not assignable to type "Expr"
-       "Literal[0]" is not assignable to "Expr" (reportArgumentType)
+       "int" is not assignable to "Expr" (reportArgumentType)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:499:19 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:500:19 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:501:19 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:564:42 - error: Operator "*" not supported for types "int" and "Unknown | Basic"
+     Operator "*" not supported for types "int" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:564:50 - error: Operator "*" not supported for types "Expr" and "Unknown | Basic"
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:720:42 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:730:19 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:731:19 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:732:19 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:809:47 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:836:26 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:837:22 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:838:36 - error: Operator "*" not supported for types "int | Any | Unknown" and "Unknown | Basic"
+     Operator "*" not supported for types "int" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:838:42 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:838:51 - error: Operator "*" not supported for types "int | Any | Unknown" and "Unknown | Basic"
+     Operator "*" not supported for types "int" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:838:57 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:838:66 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:840:53 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:849:18 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:851:22 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:860:22 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:860:36 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:862:27 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:863:27 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:864:27 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:865:27 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:866:27 - error: Operator "*" not supported for types "Unknown | Basic" and "Unknown | Basic"
+     Operator "*" not supported for types "Basic" and "Basic" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:867:27 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:871:24 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)
+   .../projects/sympy/sympy/solvers/diophantine/diophantine.py:872:24 - error: Operator "**" not supported for types "Unknown | Basic" and "Literal[2]"
+     Operator "**" not supported for types "Basic" and "Literal[2]" (reportOperatorIssue)

... (truncated 1809 lines) ...

kornia (https://github.com/kornia/kornia)
-   .../projects/kornia/kornia/enhance/jpeg.py:522:29 - error: "ndim" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:523:53 - error: "unsqueeze" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:524:29 - error: "ndim" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:525:53 - error: "unsqueeze" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:540:29 - error: "shape" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:542:34 - error: "shape" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:544:73 - error: "shape" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:546:29 - error: "shape" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:548:34 - error: "shape" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:550:73 - error: "shape" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:561:49 - error: "to" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/enhance/jpeg.py:562:49 - error: "to" is not a known attribute of "None" (reportOptionalMemberAccess)
-   .../projects/kornia/kornia/filters/kernels.py:106:24 - error: Cannot access attribute "shape" for class "float"
-     Attribute "shape" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:106:24 - error: Cannot access attribute "shape" for class "int"
-     Attribute "shape" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:110:46 - error: Cannot access attribute "device" for class "float"
-     Attribute "device" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:110:46 - error: Cannot access attribute "device" for class "int"
-     Attribute "device" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:110:66 - error: Cannot access attribute "dtype" for class "float"
-     Attribute "dtype" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:110:66 - error: Cannot access attribute "dtype" for class "int"
-     Attribute "dtype" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:115:49 - error: Cannot access attribute "device" for class "float"
-     Attribute "device" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:115:49 - error: Cannot access attribute "device" for class "int"
-     Attribute "device" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:115:69 - error: Cannot access attribute "dtype" for class "float"
-     Attribute "dtype" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:115:69 - error: Cannot access attribute "dtype" for class "int"
-     Attribute "dtype" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:120:48 - error: Cannot access attribute "pow" for class "float"
-     Attribute "pow" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:120:48 - error: Cannot access attribute "pow" for class "int"
-     Attribute "pow" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:146:24 - error: Cannot access attribute "shape" for class "float"
-     Attribute "shape" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:146:24 - error: Cannot access attribute "shape" for class "int"
-     Attribute "shape" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:148:49 - error: Cannot access attribute "device" for class "float"
-     Attribute "device" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:148:49 - error: Cannot access attribute "device" for class "int"
-     Attribute "device" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:148:69 - error: Cannot access attribute "dtype" for class "float"
-     Attribute "dtype" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:148:69 - error: Cannot access attribute "dtype" for class "int"
-     Attribute "dtype" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:150:28 - error: Cannot access attribute "abs" for class "float"
-     Attribute "abs" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:150:28 - error: Cannot access attribute "abs" for class "int"
-     Attribute "abs" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:276:62 - error: Cannot access attribute "exp" for class "float"
-     Attribute "exp" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels.py:276:62 - error: Cannot access attribute "exp" for class "int"
-     Attribute "exp" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:72:14 - error: Cannot access attribute "dim" for class "float"
-     Attribute "dim" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:73:17 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:80:18 - error: Cannot access attribute "dim" for class "float"
-     Attribute "dim" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:81:21 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:85:19 - error: Cannot access attribute "size" for class "float"
-     Attribute "size" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:85:36 - error: Cannot access attribute "size" for class "float"
-     Attribute "size" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:102:44 - error: Cannot access attribute "size" for class "float"
-     Attribute "size" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:171:14 - error: Cannot access attribute "dim" for class "tuple[float, float, float]"
-     Attribute "dim" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:172:17 - error: No overloads for "__getitem__" match the provided arguments (reportCallIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:172:17 - error: Argument of type "None" cannot be assigned to parameter "key" of type "slice[Any, Any, Any]" in function "__getitem__"
-     "None" is not assignable to "slice[Any, Any, Any]" (reportArgumentType)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:179:18 - error: Cannot access attribute "dim" for class "float"
-     Attribute "dim" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:180:21 - error: "__getitem__" method not defined on type "float" (reportIndexIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:184:19 - error: Cannot access attribute "size" for class "float"
-     Attribute "size" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:184:36 - error: Cannot access attribute "size" for class "tuple[float, float, float]"
-     Attribute "size" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:185:77 - error: Cannot access attribute "shape" for class "float"
-     Attribute "shape" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:185:95 - error: Cannot access attribute "shape" for class "tuple[float, float, float]"
-     Attribute "shape" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:190:31 - error: Cannot access attribute "size" for class "float"
-     Attribute "size" is unknown (reportAttributeAccessIssue)
-   .../projects/kornia/kornia/filters/kernels_geometry.py:198:44 - error: Cannot access attribute "size" for class "float"

... (truncated 527 lines) ...```

@erictraut
Copy link
Collaborator Author

@codex review

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.

2 participants