DetachHead / basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server
http://docs.basedpyright.com/
Other
601 stars 12 forks source link

Merge 1.1.368 #425

Closed DetachHead closed 2 weeks ago

DetachHead commented 2 weeks ago

fixes #426

github-actions[bot] commented 2 weeks ago

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


pyinstrument (https://github.com/joerick/pyinstrument)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/stack_sampler.py:196:5 - error: Instance variable "state" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 1064 errors, 0 warnings, 0 notes
+ 1065 errors, 0 warnings, 0 notes

alectryon (https://github.com/cpitclaudel/alectryon)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:175:5 - error: Instance variable "fpath" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:176:5 - error: Instance variable "line" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:177:5 - error: Instance variable "col" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:183:5 - error: Instance variable "beg" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:184:5 - error: Instance variable "end" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:398:5 - error: Instance variable "obj" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:399:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:400:5 - error: Instance variable "location" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:401:5 - error: Instance variable "level" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 6425 errors, 0 warnings, 0 notes
+ 6434 errors, 0 warnings, 0 notes

pydantic (https://github.com/samuelcolvin/pydantic)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:1357:9 - error: Type of "source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:1357:36 - error: Type of "annotation" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:312:12 - error: Type of "item_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:315:52 - error: Type of "item_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:319:12 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:320:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:322:18 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:325:24 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:331:20 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:333:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:342:94 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:351:62 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:516:12 - error: Type of "keys_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:519:51 - error: Type of "keys_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:520:12 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:523:53 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:527:12 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:533:62 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:536:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:537:83 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:543:94 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/experimental/pipeline.py:381:29 - error: Type of "tp" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/experimental/pipeline.py:381:29 - error: Argument type is Any
-     Argument corresponds to parameter "tp" in function "_apply_parse" (reportAny)
+   /tmp/mypy_primer/projects/pydantic/pydantic/plugin/__init__.py:30:5 - error: Instance variable "module" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pydantic/pydantic/plugin/__init__.py:31:5 - error: Instance variable "name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 6146 errors, 0 warnings, 0 notes
+ 6125 errors, 0 warnings, 0 notes

mkosi (https://github.com/systemd/mkosi)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:182:5 - error: Instance variable "description" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:183:5 - error: Instance variable "firmware" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:184:5 - error: Instance variable "format" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:185:5 - error: Instance variable "vars" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:186:5 - error: Instance variable "vars_format" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/sandbox.py:19:5 - error: Instance variable "src" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/sandbox.py:20:5 - error: Instance variable "dst" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:21:9 - error: Instance variable "types" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:22:9 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:23:9 - error: Instance variable "suite" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:24:9 - error: Instance variable "components" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:25:9 - error: Instance variable "signedby" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/pacman.py:22:9 - error: Instance variable "id" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/pacman.py:23:9 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:14:5 - error: Instance variable "id" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:15:5 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:16:5 - error: Instance variable "gpgurls" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:24:9 - error: Instance variable "distribution" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:25:9 - error: Instance variable "release" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:26:9 - error: Instance variable "tools_tree_distribution" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:27:9 - error: Instance variable "tools_tree_release" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:28:9 - error: Instance variable "debug_shell" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 1369 errors, 0 warnings, 0 notes
+ 1391 errors, 0 warnings, 0 notes

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:131:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:132:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:133:5 - error: Instance variable "error_counts" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:28:5 - error: Instance variable "check_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:29:5 - error: Instance variable "check_passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:30:5 - error: Instance variable "checked_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:31:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/parsers.py:12:5 - error: Instance variable "parser_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/parsers.py:13:5 - error: Instance variable "parsed_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:9:5 - error: Instance variable "lazyframe" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:16:5 - error: Instance variable "check_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:17:5 - error: Instance variable "check_passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:18:5 - error: Instance variable "checked_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:19:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-     Type of "kwargs" is "dict[str, str | int | float | bool | Unknown | DataType | List[str] | None]" (reportUnknownVariableType)
+     Type of "kwargs" is "dict[str, str | int | float | bool | type | DataType | Unknown | List[str] | None]" (reportUnknownVariableType)
-     Type of "dtype" is "str | int | float | bool | Unknown | DataType | None" (reportUnknownMemberType)
+     Type of "dtype" is "str | int | float | bool | type | DataType | Unknown | None" (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/api/pyspark/types.py:60:5 - error: Instance variable "dataframe" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/pyspark/types.py:61:5 - error: Instance variable "column_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:18:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:32:5 - error: Instance variable "sorted_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:33:5 - error: Instance variable "expanded_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:34:5 - error: Instance variable "destuttered_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:35:5 - error: Instance variable "absent_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:36:5 - error: Instance variable "regex_match_patterns" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:42:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:30:5 - error: Instance variable "sorted_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:31:5 - error: Instance variable "expanded_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:32:5 - error: Instance variable "destuttered_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:33:5 - error: Instance variable "absent_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:34:5 - error: Instance variable "lazy_exclude_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:22:5 - error: Instance variable "check" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:23:5 - error: Instance variable "reason_code" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:24:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1056:34 - error: Type of "dtype" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1056:34 - error: Type of "dtype" is partially unknown
+     Type of "dtype" is "Unknown | type" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1313:13 - error: Return type is unknown (reportUnknownParameterType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1313:13 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownParameterType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:21 - error: Type of "row" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:21 - error: Type of "row" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "model_dump" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "model_dump" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:21 - error: Type of "row" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:21 - error: Type of "row" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "dict" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "dict" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1330:20 - error: Return type is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1330:20 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownVariableType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1345:30 - error: Type of "type" is unknown (reportUnknownMemberType)

... (truncated 35 lines) ...

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:335:5 - error: Instance variable "enable" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:336:5 - error: Instance variable "database_timeout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:337:5 - error: Instance variable "package_timeout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Argument type is partially unknown
-     Argument corresponds to parameter "o" in function "getattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "o" in function "getattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Argument type is partially unknown
-     Argument corresponds to parameter "obj" in function "setattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "obj" in function "setattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Argument type is partially unknown
-     Argument corresponds to parameter "o" in function "getattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "o" in function "getattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Argument type is partially unknown
-     Argument corresponds to parameter "obj" in function "setattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "obj" in function "setattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/common.py:37:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/common.py:39:5 - error: Instance variable "prefix" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:26:5 - error: Instance variable "executables" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:28:5 - error: Instance variable "script" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:35:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:37:5 - error: Instance variable "extra_attributes" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:48:5 - error: Instance variable "pkg_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:49:5 - error: Instance variable "layout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:50:5 - error: Instance variable "results" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:36:5 - error: Instance variable "compressed_digest" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:37:5 - error: Instance variable "uncompressed_digest" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:38:5 - error: Instance variable "size" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:206:5 - error: Instance variable "realm" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:207:5 - error: Instance variable "service" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:208:5 - error: Instance variable "scope" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:212:5 - error: Instance variable "username" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:213:5 - error: Instance variable "password" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:154:5 - error: Instance variable "version" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:156:5 - error: Instance variable "idx" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:158:5 - error: Instance variable "origin" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:760:5 - error: Instance variable "pkg_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:761:5 - error: Instance variable "policy" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:762:5 - error: Instance variable "requirements" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:763:5 - error: Instance variable "condition" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:764:5 - error: Instance variable "kind" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:765:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:771:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:772:5 - error: Instance variable "os" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:773:5 - error: Instance variable "target" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)

... (truncated 141 lines) ...```
DetachHead commented 2 weeks ago

those reportUninitializedInstanceVariable are a new bug from upstream

github-actions[bot] commented 2 weeks ago

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


alectryon (https://github.com/cpitclaudel/alectryon)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:175:5 - error: Instance variable "fpath" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:176:5 - error: Instance variable "line" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:177:5 - error: Instance variable "col" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:183:5 - error: Instance variable "beg" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:184:5 - error: Instance variable "end" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:398:5 - error: Instance variable "obj" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:399:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:400:5 - error: Instance variable "location" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:401:5 - error: Instance variable "level" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 6425 errors, 0 warnings, 0 notes
+ 6434 errors, 0 warnings, 0 notes

pyinstrument (https://github.com/joerick/pyinstrument)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/stack_sampler.py:196:5 - error: Instance variable "state" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 1064 errors, 0 warnings, 0 notes
+ 1065 errors, 0 warnings, 0 notes

mkosi (https://github.com/systemd/mkosi)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:182:5 - error: Instance variable "description" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:183:5 - error: Instance variable "firmware" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:184:5 - error: Instance variable "format" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:185:5 - error: Instance variable "vars" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:186:5 - error: Instance variable "vars_format" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/sandbox.py:19:5 - error: Instance variable "src" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/sandbox.py:20:5 - error: Instance variable "dst" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:21:9 - error: Instance variable "types" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:22:9 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:23:9 - error: Instance variable "suite" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:24:9 - error: Instance variable "components" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:25:9 - error: Instance variable "signedby" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/pacman.py:22:9 - error: Instance variable "id" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/pacman.py:23:9 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:14:5 - error: Instance variable "id" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:15:5 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:16:5 - error: Instance variable "gpgurls" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:24:9 - error: Instance variable "distribution" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:25:9 - error: Instance variable "release" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:26:9 - error: Instance variable "tools_tree_distribution" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:27:9 - error: Instance variable "tools_tree_release" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:28:9 - error: Instance variable "debug_shell" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 1369 errors, 0 warnings, 0 notes
+ 1391 errors, 0 warnings, 0 notes

pydantic (https://github.com/samuelcolvin/pydantic)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:1357:9 - error: Type of "source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:1357:36 - error: Type of "annotation" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:312:12 - error: Type of "item_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:315:52 - error: Type of "item_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:319:12 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:320:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:322:18 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:325:24 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:331:20 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:333:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:342:94 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:351:62 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:516:12 - error: Type of "keys_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:519:51 - error: Type of "keys_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:520:12 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:523:53 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:527:12 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:533:62 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:536:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:537:83 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:543:94 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/experimental/pipeline.py:381:29 - error: Type of "tp" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/experimental/pipeline.py:381:29 - error: Argument type is Any
-     Argument corresponds to parameter "tp" in function "_apply_parse" (reportAny)
+   /tmp/mypy_primer/projects/pydantic/pydantic/plugin/__init__.py:30:5 - error: Instance variable "module" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pydantic/pydantic/plugin/__init__.py:31:5 - error: Instance variable "name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 6146 errors, 0 warnings, 0 notes
+ 6125 errors, 0 warnings, 0 notes

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:131:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:132:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:133:5 - error: Instance variable "error_counts" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:28:5 - error: Instance variable "check_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:29:5 - error: Instance variable "check_passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:30:5 - error: Instance variable "checked_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:31:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/parsers.py:12:5 - error: Instance variable "parser_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/parsers.py:13:5 - error: Instance variable "parsed_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:9:5 - error: Instance variable "lazyframe" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:16:5 - error: Instance variable "check_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:17:5 - error: Instance variable "check_passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:18:5 - error: Instance variable "checked_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:19:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-     Type of "kwargs" is "dict[str, str | int | float | bool | Unknown | DataType | List[str] | None]" (reportUnknownVariableType)
+     Type of "kwargs" is "dict[str, str | int | float | bool | type | DataType | Unknown | List[str] | None]" (reportUnknownVariableType)
-     Type of "dtype" is "str | int | float | bool | Unknown | DataType | None" (reportUnknownMemberType)
+     Type of "dtype" is "str | int | float | bool | type | DataType | Unknown | None" (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/api/pyspark/types.py:60:5 - error: Instance variable "dataframe" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/pyspark/types.py:61:5 - error: Instance variable "column_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:18:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:32:5 - error: Instance variable "sorted_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:33:5 - error: Instance variable "expanded_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:34:5 - error: Instance variable "destuttered_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:35:5 - error: Instance variable "absent_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:36:5 - error: Instance variable "regex_match_patterns" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:42:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:30:5 - error: Instance variable "sorted_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:31:5 - error: Instance variable "expanded_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:32:5 - error: Instance variable "destuttered_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:33:5 - error: Instance variable "absent_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:34:5 - error: Instance variable "lazy_exclude_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:22:5 - error: Instance variable "check" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:23:5 - error: Instance variable "reason_code" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:24:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1056:34 - error: Type of "dtype" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1056:34 - error: Type of "dtype" is partially unknown
+     Type of "dtype" is "Unknown | type" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1313:13 - error: Return type is unknown (reportUnknownParameterType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1313:13 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownParameterType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:21 - error: Type of "row" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:21 - error: Type of "row" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "model_dump" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "model_dump" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:21 - error: Type of "row" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:21 - error: Type of "row" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "dict" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "dict" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1330:20 - error: Return type is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1330:20 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownVariableType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1345:30 - error: Type of "type" is unknown (reportUnknownMemberType)

... (truncated 35 lines) ...

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:335:5 - error: Instance variable "enable" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:336:5 - error: Instance variable "database_timeout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:337:5 - error: Instance variable "package_timeout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Argument type is partially unknown
-     Argument corresponds to parameter "o" in function "getattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "o" in function "getattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Argument type is partially unknown
-     Argument corresponds to parameter "obj" in function "setattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "obj" in function "setattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Argument type is partially unknown
-     Argument corresponds to parameter "o" in function "getattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "o" in function "getattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Argument type is partially unknown
-     Argument corresponds to parameter "obj" in function "setattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "obj" in function "setattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/common.py:37:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/common.py:39:5 - error: Instance variable "prefix" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:26:5 - error: Instance variable "executables" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:28:5 - error: Instance variable "script" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:35:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:37:5 - error: Instance variable "extra_attributes" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:48:5 - error: Instance variable "pkg_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:49:5 - error: Instance variable "layout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:50:5 - error: Instance variable "results" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:36:5 - error: Instance variable "compressed_digest" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:37:5 - error: Instance variable "uncompressed_digest" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:38:5 - error: Instance variable "size" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:206:5 - error: Instance variable "realm" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:207:5 - error: Instance variable "service" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:208:5 - error: Instance variable "scope" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:212:5 - error: Instance variable "username" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:213:5 - error: Instance variable "password" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:154:5 - error: Instance variable "version" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:156:5 - error: Instance variable "idx" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:158:5 - error: Instance variable "origin" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:760:5 - error: Instance variable "pkg_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:761:5 - error: Instance variable "policy" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:762:5 - error: Instance variable "requirements" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:763:5 - error: Instance variable "condition" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:764:5 - error: Instance variable "kind" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:765:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:771:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:772:5 - error: Instance variable "os" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:773:5 - error: Instance variable "target" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)

... (truncated 141 lines) ...```
DetachHead commented 2 weeks ago

these reportUninitializedInstanceVariable are a new upstream bug which breaks NamedTuple (https://github.com/microsoft/pyright/issues/8152). for now i will revert that commit (since it was a fix for a far less common issue than the one it introduced), and raise a new issue to fix the original issue some other way

github-actions[bot] commented 2 weeks ago

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


pyinstrument (https://github.com/joerick/pyinstrument)
+   /tmp/mypy_primer/projects/pyinstrument/pyinstrument/stack_sampler.py:196:5 - error: Instance variable "state" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 1064 errors, 0 warnings, 0 notes
+ 1065 errors, 0 warnings, 0 notes

alectryon (https://github.com/cpitclaudel/alectryon)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:175:5 - error: Instance variable "fpath" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:176:5 - error: Instance variable "line" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:177:5 - error: Instance variable "col" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:183:5 - error: Instance variable "beg" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:184:5 - error: Instance variable "end" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:398:5 - error: Instance variable "obj" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:399:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:400:5 - error: Instance variable "location" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/alectryon/alectryon/core.py:401:5 - error: Instance variable "level" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 6425 errors, 0 warnings, 0 notes
+ 6434 errors, 0 warnings, 0 notes

pydantic (https://github.com/samuelcolvin/pydantic)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:1357:9 - error: Type of "source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:1357:36 - error: Type of "annotation" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:312:12 - error: Type of "item_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:315:52 - error: Type of "item_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:319:12 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:320:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:322:18 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:325:24 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:331:20 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:333:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:342:94 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:351:62 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:516:12 - error: Type of "keys_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:519:51 - error: Type of "keys_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:520:12 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:523:53 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:527:12 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:533:62 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:536:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:537:83 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:543:94 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/experimental/pipeline.py:381:29 - error: Type of "tp" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/experimental/pipeline.py:381:29 - error: Argument type is Any
-     Argument corresponds to parameter "tp" in function "_apply_parse" (reportAny)
+   /tmp/mypy_primer/projects/pydantic/pydantic/plugin/__init__.py:30:5 - error: Instance variable "module" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pydantic/pydantic/plugin/__init__.py:31:5 - error: Instance variable "name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 6146 errors, 0 warnings, 0 notes
+ 6125 errors, 0 warnings, 0 notes

pandera (https://github.com/pandera-dev/pandera)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:131:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:132:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/errors.py:133:5 - error: Instance variable "error_counts" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:28:5 - error: Instance variable "check_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:29:5 - error: Instance variable "check_passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:30:5 - error: Instance variable "checked_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/checks.py:31:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/parsers.py:12:5 - error: Instance variable "parser_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/base/parsers.py:13:5 - error: Instance variable "parsed_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:9:5 - error: Instance variable "lazyframe" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:16:5 - error: Instance variable "check_output" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:17:5 - error: Instance variable "check_passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:18:5 - error: Instance variable "checked_object" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/polars/types.py:19:5 - error: Instance variable "failure_cases" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-     Type of "kwargs" is "dict[str, str | int | float | bool | Unknown | DataType | List[str] | None]" (reportUnknownVariableType)
+     Type of "kwargs" is "dict[str, str | int | float | bool | type | DataType | Unknown | List[str] | None]" (reportUnknownVariableType)
-     Type of "dtype" is "str | int | float | bool | Unknown | DataType | None" (reportUnknownMemberType)
+     Type of "dtype" is "str | int | float | bool | type | DataType | Unknown | None" (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/api/pyspark/types.py:60:5 - error: Instance variable "dataframe" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/api/pyspark/types.py:61:5 - error: Instance variable "column_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:18:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:32:5 - error: Instance variable "sorted_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:33:5 - error: Instance variable "expanded_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:34:5 - error: Instance variable "destuttered_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:35:5 - error: Instance variable "absent_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:36:5 - error: Instance variable "regex_match_patterns" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/base/__init__.py:42:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:30:5 - error: Instance variable "sorted_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:31:5 - error: Instance variable "expanded_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:32:5 - error: Instance variable "destuttered_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:33:5 - error: Instance variable "absent_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/base.py:34:5 - error: Instance variable "lazy_exclude_column_names" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:22:5 - error: Instance variable "check" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:23:5 - error: Instance variable "reason_code" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/pandera/pandera/backends/pyspark/column.py:24:5 - error: Instance variable "passed" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1056:34 - error: Type of "dtype" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1056:34 - error: Type of "dtype" is partially unknown
+     Type of "dtype" is "Unknown | type" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1313:13 - error: Return type is unknown (reportUnknownParameterType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1313:13 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownParameterType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:21 - error: Type of "row" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:21 - error: Type of "row" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "model_dump" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "model_dump" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:21 - error: Type of "row" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:21 - error: Type of "row" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "dict" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "dict" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1330:20 - error: Return type is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1330:20 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownVariableType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1345:30 - error: Type of "type" is unknown (reportUnknownMemberType)

... (truncated 35 lines) ...

mkosi (https://github.com/systemd/mkosi)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:182:5 - error: Instance variable "description" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:183:5 - error: Instance variable "firmware" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:184:5 - error: Instance variable "format" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:185:5 - error: Instance variable "vars" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/qemu.py:186:5 - error: Instance variable "vars_format" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/sandbox.py:19:5 - error: Instance variable "src" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/sandbox.py:20:5 - error: Instance variable "dst" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:21:9 - error: Instance variable "types" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:22:9 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:23:9 - error: Instance variable "suite" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:24:9 - error: Instance variable "components" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/apt.py:25:9 - error: Instance variable "signedby" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/pacman.py:22:9 - error: Instance variable "id" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/pacman.py:23:9 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:14:5 - error: Instance variable "id" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:15:5 - error: Instance variable "url" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/mkosi/installer/rpm.py:16:5 - error: Instance variable "gpgurls" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:24:9 - error: Instance variable "distribution" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:25:9 - error: Instance variable "release" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:26:9 - error: Instance variable "tools_tree_distribution" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:27:9 - error: Instance variable "tools_tree_release" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/mkosi/tests/__init__.py:28:9 - error: Instance variable "debug_shell" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- 1369 errors, 0 warnings, 0 notes
+ 1391 errors, 0 warnings, 0 notes

spack (https://github.com/spack/spack)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:335:5 - error: Instance variable "enable" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:336:5 - error: Instance variable "database_timeout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/database.py:337:5 - error: Instance variable "package_timeout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Argument type is partially unknown
-     Argument corresponds to parameter "o" in function "getattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "o" in function "getattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Argument type is partially unknown
-     Argument corresponds to parameter "obj" in function "setattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "obj" in function "setattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Argument type is partially unknown
-     Argument corresponds to parameter "o" in function "getattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "o" in function "getattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Argument type is partially unknown
-     Argument corresponds to parameter "obj" in function "setattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "obj" in function "setattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/common.py:37:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/common.py:39:5 - error: Instance variable "prefix" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:26:5 - error: Instance variable "executables" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:28:5 - error: Instance variable "script" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:35:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:37:5 - error: Instance variable "extra_attributes" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:48:5 - error: Instance variable "pkg_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:49:5 - error: Instance variable "layout" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/detection/test.py:50:5 - error: Instance variable "results" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:36:5 - error: Instance variable "compressed_digest" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:37:5 - error: Instance variable "uncompressed_digest" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/oci.py:38:5 - error: Instance variable "size" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:206:5 - error: Instance variable "realm" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:207:5 - error: Instance variable "service" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:208:5 - error: Instance variable "scope" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:212:5 - error: Instance variable "username" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/oci/opener.py:213:5 - error: Instance variable "password" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:154:5 - error: Instance variable "version" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:156:5 - error: Instance variable "idx" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:158:5 - error: Instance variable "origin" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:760:5 - error: Instance variable "pkg_name" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:761:5 - error: Instance variable "policy" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:762:5 - error: Instance variable "requirements" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:763:5 - error: Instance variable "condition" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:764:5 - error: Instance variable "kind" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:765:5 - error: Instance variable "message" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:771:5 - error: Instance variable "spec" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:772:5 - error: Instance variable "os" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/solver/asp.py:773:5 - error: Instance variable "target" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)

... (truncated 141 lines) ...```
github-actions[bot] commented 2 weeks ago

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

pydantic (https://github.com/samuelcolvin/pydantic)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:1357:9 - error: Type of "source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_generate_schema.py:1357:36 - error: Type of "annotation" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:312:12 - error: Type of "item_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:315:52 - error: Type of "item_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:319:12 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:320:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:322:18 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:325:24 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:331:20 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:333:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:342:94 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:351:62 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:516:12 - error: Type of "keys_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:519:51 - error: Type of "keys_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:520:12 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:523:53 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:527:12 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:533:62 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:536:16 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:537:83 - error: Type of "values_source_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_std_types_schema.py:543:94 - error: Type of "mapped_origin" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/experimental/pipeline.py:381:29 - error: Type of "tp" is Any (reportAny)
-   /tmp/mypy_primer/projects/pydantic/pydantic/experimental/pipeline.py:381:29 - error: Argument type is Any
-     Argument corresponds to parameter "tp" in function "_apply_parse" (reportAny)
- 6146 errors, 0 warnings, 0 notes
+ 6123 errors, 0 warnings, 0 notes

pandera (https://github.com/pandera-dev/pandera)
-     Type of "kwargs" is "dict[str, str | int | float | bool | Unknown | DataType | List[str] | None]" (reportUnknownVariableType)
+     Type of "kwargs" is "dict[str, str | int | float | bool | type | DataType | Unknown | List[str] | None]" (reportUnknownVariableType)
-     Type of "dtype" is "str | int | float | bool | Unknown | DataType | None" (reportUnknownMemberType)
+     Type of "dtype" is "str | int | float | bool | type | DataType | Unknown | None" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1056:34 - error: Type of "dtype" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1056:34 - error: Type of "dtype" is partially unknown
+     Type of "dtype" is "Unknown | type" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1313:13 - error: Return type is unknown (reportUnknownParameterType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1313:13 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownParameterType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:21 - error: Type of "row" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:21 - error: Type of "row" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "model_dump" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1321:27 - error: Type of "model_dump" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:21 - error: Type of "row" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:21 - error: Type of "row" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "dict" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1323:27 - error: Type of "dict" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1330:20 - error: Return type is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1330:20 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownVariableType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1345:30 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1345:30 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1409:17 - error: Type of "coerced_element" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1409:17 - error: Type of "coerced_element" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1409:35 - error: Type of "coercion_model" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1409:35 - error: Type of "coercion_model" is partially unknown
+     Type of "coercion_model" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1409:35 - error: Type of "root" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1409:35 - error: Type of "root" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1411:17 - error: Type of "coerced_element" is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1411:17 - error: Type of "coerced_element" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1411:35 - error: Type of "coercion_model" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1411:35 - error: Type of "coercion_model" is partially unknown
+     Type of "coercion_model" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1411:35 - error: Type of "__root__" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1411:35 - error: Type of "__root__" is Any (reportAny)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1416:16 - error: Return type is unknown (reportUnknownVariableType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/pandas_engine.py:1416:16 - error: Return type, "Any | Unknown", is partially unknown (reportUnknownVariableType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/polars_engine.py:470:53 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/polars_engine.py:470:53 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/pandera/engines/polars_engine.py:473:16 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/pandera/engines/polars_engine.py:473:16 - error: Type of "type" is partially unknown
-   /tmp/mypy_primer/projects/pandera/pandera/engines/polars_engine.py:473:16 - error: Return type, "Unknown | bool | Iterable[bool]", is partially unknown (reportUnknownVariableType)
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/tests/polars/test_polars_dtypes.py:426:8 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/tests/polars/test_polars_dtypes.py:426:8 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/pandera/tests/polars/test_polars_dtypes.py:440:19 - error: Type of "type" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/pandera/tests/polars/test_polars_dtypes.py:440:19 - error: Type of "type" is partially unknown
+     Type of "type" is "Type[Unknown]" (reportUnknownMemberType)
- 28454 errors, 0 warnings, 0 notes
+ 28453 errors, 0 warnings, 0 notes

spack (https://github.com/spack/spack)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:47:38 - error: Argument type is partially unknown
-     Argument corresponds to parameter "o" in function "getattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "o" in function "getattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:17 - error: Argument type is partially unknown
-     Argument corresponds to parameter "obj" in function "setattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "obj" in function "setattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:148:66 - error: Argument type is partially unknown
-     Argument corresponds to parameter "o" in function "getattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "o" in function "getattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Type of "wrap_class" is unknown (reportUnknownMemberType)
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Type of "wrap_class" is partially unknown
+     Type of "wrap_class" is "Type[Unknown]" (reportUnknownMemberType)
-   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Argument type is unknown
+   /tmp/mypy_primer/projects/spack/lib/spack/spack/report.py:159:17 - error: Argument type is partially unknown
-     Argument corresponds to parameter "obj" in function "setattr" (reportUnknownArgumentType)
+     Argument corresponds to parameter "obj" in function "setattr"
+     Argument type is "Type[Unknown]" (reportUnknownArgumentType)

pytest-robotframework (https://github.com/detachhead/pytest-robotframework)
+   /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/_internal/utils.py:52:66 - error: Type argument for "Protocol" must be a type parameter (reportGeneralTypeIssues)
- 2189 errors, 0 warnings, 0 notes
+ 2190 errors, 0 warnings, 0 notes

freqtrade (https://github.com/freqtrade/freqtrade)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:116:41 - error: Type of "object_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:117:36 - error: Type of "object_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:134:39 - error: Type of "object_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:134:39 - error: Type of "__name__" is Any (reportAny)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:169:43 - error: Type of "object_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:169:43 - error: Type of "__name__" is Any (reportAny)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:169:43 - error: Type of "lower" is Any (reportAny)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:251:39 - error: Type of "object_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/freqtrade/freqtrade/resolvers/iresolver.py:251:39 - error: Type of "__name__" is Any (reportAny)
- 21489 errors, 0 warnings, 0 notes
+ 21480 errors, 0 warnings, 0 notes

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
-   /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:955:42 - error: Type of "__origin__" is Any (reportAny)
- 2480 errors, 0 warnings, 183 notes
+ 2479 errors, 0 warnings, 183 notes

koda-validate (https://github.com/keithasaurus/koda-validate)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:115:29 - error: Type of "_TYPE" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:115:29 - error: Argument type is Any
-     Argument corresponds to parameter "expected_type" in function "__init__" (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:123:23 - error: Type of "_TYPE" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:123:23 - error: Argument type is Any
-     Argument corresponds to parameter "type_" in function "_simple_type_validator" (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:134:63 - error: Type of "_TYPE" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:134:63 - error: Argument type is Any
-     Argument corresponds to parameter "dest_type" in function "__init__" (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:141:31 - error: Type of "_TYPE" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:162:63 - error: Type of "_TYPE" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:162:63 - error: Argument type is Any
-     Argument corresponds to parameter "dest_type" in function "__init__" (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/_internal.py:170:31 - error: Type of "_TYPE" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/signature.py:407:28 - error: Type of "expected_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/signature.py:415:24 - error: Type of "dest_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/signature.py:415:24 - error: Argument type is Any
-     Argument corresponds to parameter "obj" in function "repr" (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:150:14 - error: Type of "dest_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:150:39 - error: Type of "dest_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:157:40 - error: Type of "dest_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:157:40 - error: Type of "__name__" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:171:12 - error: Type of "expected_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:173:14 - error: Type of "expected_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:173:43 - error: Type of "expected_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:177:17 - error: Type of "expected_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:177:17 - error: Argument type is Any
-     Argument corresponds to parameter "key" in function "get" (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:177:36 - error: Type of "expected_type" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:177:36 - error: Type of "__name__" is Any (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/errors.py:177:36 - error: Argument type is Any
-     Argument corresponds to parameter "default" in function "get" (reportAny)
-   /tmp/mypy_primer/projects/koda-validate/examples/flat_errors.py:23:49 - error: Type of "expected_type" is Any (reportAny)
- 3093 errors, 0 warnings, 0 notes
+ 3067 errors, 0 warnings, 0 notes