Skip to content

mkay.. #19645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

mkay.. #19645

wants to merge 2 commits into from

Conversation

CosmicJesterX
Copy link

(Explain how this PR changes mypy.)

Copy link
Contributor

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

spack (https://github.com/spack/spack)
+ ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/profile.pyi:12: error: Invalid syntax. Perhaps you forgot a comma?  [syntax]
- lib/spack/spack/util/elf.py:220: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:225: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:226: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:228: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:229: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:230: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:233: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:234: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:235: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/llnl/util/lang.py:488: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/llnl/util/lang.py:829: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/llnl/util/lang.py:1045: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/llnl/util/filesystem.py:3201: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/operating_systems/windows_os.py:52: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/schema/mirrors.py:62: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/schema/mirrors.py:63: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/schema/mirrors.py:80: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/schema/mirrors.py:82: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/config.py:453: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/config.py:476: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/version/git_ref_lookup.py:46: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/spec.py:1543: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/spec.py:3635: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/patch.py:185: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/fetch_strategy.py:392: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:520: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/fetch_strategy.py:834: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:835: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:836: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/database.py:1064: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/database.py:1765: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/database.py:1765: error: Missing named argument "key" for "sort" of "list"  [call-arg]
- lib/spack/spack/database.py:1765: note: Error code "call-arg" not covered by "type: ignore" comment
- lib/spack/spack/environment/list.py:182: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/package_base.py:738: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/package_base.py:754: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/package_base.py:757: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/install_test.py:260: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:408: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:518: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:520: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:531: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:847: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/installer.py:222: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/installer.py:2377: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/installer.py:2613: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/build_environment.py:396: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/build_environment.py:559: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/binary_distribution.py:2184: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/solver/asp.py:1364: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3030: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/solver/asp.py:3030: error: Missing named argument "key" for "sort" of "list"  [call-arg]
- lib/spack/spack/solver/asp.py:3030: note: Error code "call-arg" not covered by "type: ignore" comment
- lib/spack/spack/solver/asp.py:3556: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3559: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3562: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/test/versions.py:672: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/test/spec_semantics.py:1999: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/test/sbang.py:58: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/entry_points.py:105: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/graph.py:447: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/graph.py:448: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/graph.py:508: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/unit_test.py:17: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/cmd/style.py:665: error: Incompatible types in assignment (expression has type "str | bytes | int | float | complex | EllipsisType | None", variable has type "str")  [assignment]
- lib/spack/spack/cmd/python.py:92: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/cmd/create.py:753: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/buildcache_prune.py:169: error: Redundant cast to "URLBuildcacheEntry"  [redundant-cast]
- lib/spack/spack/test/cmd/versions.py:39: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:34: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:35: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:52: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:53: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:57: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:58: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:59: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:70: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:71: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:75: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:76: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:77: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:382: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:459: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:460: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/binary_distribution.py:560: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/binary_distribution.py:1245: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/repo.py:120: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code  [unused-ignore]
- lib/spack/spack/test/repo.py:218: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code  [unused-ignore]
- lib/spack/spack/test/repo.py:221: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code  [unused-ignore]
- lib/spack/spack/ci/common.py:250: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/ci/common.py:268: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/cmd/repo.py:256: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/repo.py:424: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/repo.py:437: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/external.py:144: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/config.py:442: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:91: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:101: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:114: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:429: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:846: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:847: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/env.py:372: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

spark (https://github.com/apache/spark)
- python/pyspark/util.py:447: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/util.py:471: error: Unused "type: ignore[misc, operator]" comment  [unused-ignore]
- python/pyspark/util.py:558: error: Unused "type: ignore[union-attr]" comment  [unused-ignore]
- python/pyspark/util.py:559: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/util.py:577: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/util.py:597: error: Unused "type: ignore[union-attr]" comment  [unused-ignore]
- python/pyspark/profiler.py:332: error: Redundant cast to "tuple[float, float, int]"  [redundant-cast]
- python/pyspark/profiler.py:333: error: Redundant cast to "tuple[float, float, int]"  [redundant-cast]
- python/pyspark/profiler.py:334: error: Redundant cast to "tuple[float, float, int]"  [redundant-cast]
- python/pyspark/profiler.py:335: error: Redundant cast to "tuple[float, float, int]"  [redundant-cast]
- python/pyspark/profiler.py:338: error: Redundant cast to "tuple[float, float, int]"  [redundant-cast]
- python/pyspark/profiler.py:340: error: Redundant cast to "tuple[float, float, int]"  [redundant-cast]
- python/pyspark/core/rdd.py:1662: error: Function does not return a value (it only ever returns None)  [func-returns-value]
- python/pyspark/core/rdd.py:1664: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/core/rdd.py:5383: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/core/context.py:837: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/core/context.py:838: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/types.py:591: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/types.py:628: error: Argument "ambiguous" to "tz_localize" of "_DatetimeLikeNoTZMethods" has incompatible type "Literal[False]"; expected "Literal['infer', 'NaT', 'raise'] | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]"  [arg-type]
- python/pyspark/sql/pandas/types.py:659: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/types.py:670: error: Redundant cast to "Series[Any]"  [redundant-cast]
- python/pyspark/sql/pandas/types.py:673: error: Argument 1 to "apply" of "Series" has incompatible type "Callable[[Any], Any | NaTType]"; expected "Callable[..., str | bytes | date | datetime | timedelta | <16 more items> | None]"  [arg-type]
- python/pyspark/sql/pandas/types.py:673: error: Incompatible return value type (got "Any | NaTType", expected "str | bytes | date | datetime | timedelta | <16 more items> | None")  [return-value]
- python/pyspark/sql/pandas/types.py:731: error: Redundant cast to "Series[Any]"  [redundant-cast]
- python/pyspark/sql/pandas/types.py:741: error: Redundant cast to "Series[Any]"  [redundant-cast]
- python/pyspark/sql/pandas/types.py:1094: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/types.py:1355: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/types.py:1451: error: Argument 1 to "astype" of "Series" has incompatible type "dtype[Any] | None"; expected "Literal['object', 'O', 'V', 'void', 'void0'] | type[object] | type[object_] | type[void] | ExtensionDtype | dtype[generic[Any]]"  [arg-type]
- python/pyspark/sql/udf.py:683: error: "UserDefinedFunctionLike" has no attribute "_unwrapped"  [attr-defined]
- python/pyspark/sql/conversion.py:696: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/session.py:167: error: Signature of "__get__" incompatible with supertype "builtins.property"  [override]
- python/pyspark/sql/session.py:167: note:      Superclass:
- python/pyspark/sql/session.py:167: note:          @overload
- python/pyspark/sql/session.py:167: note:          def __get__(self, None, type, /) -> classproperty
- python/pyspark/sql/session.py:167: note:          @overload
- python/pyspark/sql/session.py:167: note:          def __get__(self, Any, type | None = ..., /) -> Any
- python/pyspark/sql/session.py:167: note:      Subclass:
- python/pyspark/sql/session.py:167: note:          def __get__(self, instance: Any, owner: Any = ...) -> Builder
- python/pyspark/sql/session.py:323: error: Dict entry 0 has incompatible type "str": "Any | None"; expected "str": "str"  [dict-item]
- python/pyspark/sql/session.py:324: error: Dict entry 1 has incompatible type "str": "Any | None"; expected "str": "str"  [dict-item]
- python/pyspark/sql/session.py:590: error: Item "None" of "Any | None" has no attribute "startswith"  [union-attr]
- python/pyspark/sql/streaming/listener.py:519: error: Argument "numInputRows" to "StreamingQueryProgress" has incompatible type "Any | None"; expected "int"  [arg-type]
- python/pyspark/sql/streaming/listener.py:520: error: Argument "inputRowsPerSecond" to "StreamingQueryProgress" has incompatible type "Any | None"; expected "float"  [arg-type]
- python/pyspark/sql/streaming/listener.py:521: error: Argument "processedRowsPerSecond" to "StreamingQueryProgress" has incompatible type "Any | None"; expected "float"  [arg-type]
- python/pyspark/sql/pandas/conversion.py:191: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/conversion.py:533: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/conversion.py:579: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/pandas/conversion.py:612: error: Argument 1 to "len" has incompatible type "dtype[Any]"; expected "Sized"  [arg-type]
- python/pyspark/sql/pandas/conversion.py:618: error: Incompatible types in assignment (expression has type "str", variable has type "dtype[Any]")  [assignment]
- python/pyspark/sql/pandas/conversion.py:620: error: Value of type "tuple[str, ...] | None" is not indexable  [index]
- python/pyspark/sql/pandas/conversion.py:652: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/functions/builtin.py:2620: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/functions/builtin.py:2674: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/functions/builtin.py:3061: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/functions/builtin.py:7811: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/functions/builtin.py:7867: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/functions/builtin.py:8898: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/functions/builtin.py:8953: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/sql/functions/builtin.py:9008: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/errors/exceptions/connect.py:135: error: Argument "contexts" has incompatible type "list[SQLQueryContext | DataFrameQueryContext] | None"; expected "list[QueryContext] | None"  [arg-type]
- python/pyspark/errors/exceptions/connect.py:148: error: Argument "contexts" to "UnknownException" has incompatible type "list[SQLQueryContext | DataFrameQueryContext] | None"; expected "list[QueryContext] | None"  [arg-type]
- python/pyspark/pandas/typedef/typehints.py:31: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/typedef/typehints.py:835: error: Incompatible types in assignment (expression has type "type[Any] | Any", variable has type "None")  [assignment]
- python/pyspark/pandas/typedef/typehints.py:848: error: Incompatible types in assignment (expression has type "type[Any] | Any", variable has type "None")  [assignment]
- python/pyspark/pandas/utils.py:43: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/data_type_ops/base.py:119: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/plot/core.py:23: error: Module "pandas.core.base" has no attribute "PandasObject"  [attr-defined]
- python/pyspark/pandas/indexing.py:27: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/indexing.py:177: error: Incompatible return value type (got "ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Any", expected "Series[Any] | DataFrame[Any] | int | float | bool | str | bytes | Decimal | date | datetime | None")  [return-value]
- python/pyspark/pandas/indexing.py:578: error: Incompatible return value type (got "pandas.core.series.Series[Any] | Any", expected "pyspark.pandas.series.Series[Any] | DataFrame[Any]")  [return-value]
- python/pyspark/pandas/indexing.py:1853: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/accessors.py:582: error: "Series[Any]" not callable  [operator]
- python/pyspark/pandas/generic.py:40: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/generic.py:949: error: "Series[Any]" not callable  [operator]
- python/pyspark/pandas/generic.py:2679: error: Incompatible types in assignment (expression has type "Series[Any]", variable has type "DataFrame")  [assignment]
- python/pyspark/pandas/generic.py:2681: error: Incompatible return value type (got "Series[Any]", expected "int | float | bool | str | bytes | Decimal | date | datetime | None | tuple[int | float | bool | str | bytes | Decimal | date | datetime | None, ...] | None")  [return-value]
- python/pyspark/pandas/generic.py:2683: error: Argument 1 to "tuple" has incompatible type "DataFrame"; expected "Iterable[int | float | str | bytes | Decimal | date]"  [arg-type]
- python/pyspark/pandas/generic.py:2683: note: Following member(s) of "DataFrame" have conflicts:
- python/pyspark/pandas/generic.py:2683: note:     Expected:
- python/pyspark/pandas/generic.py:2683: note:         def __iter__(self) -> Iterator[int | float | str | bytes | Decimal | date]
- python/pyspark/pandas/generic.py:2683: note:     Got:
- python/pyspark/pandas/generic.py:2683: note:         def __iter__(self) -> Iterator[Hashable]
- python/pyspark/pandas/generic.py:3087: error: Argument 1 to "squeeze" of "DataFrame" has incompatible type "int"; expected "Literal['index', 0] | Literal['columns', 1] | None"  [arg-type]
- python/pyspark/pandas/generic.py:3088: error: Incompatible return value type (got "Series[Any] | pandas.core.frame.DataFrame | str | bytes | date | <9 more items>", expected "int | float | bool | str | bytes | Decimal | date | datetime | None | pyspark.pandas.frame.DataFrame[Any] | Series[Any]")  [return-value]
- python/pyspark/pandas/generic.py:3088: note: Items in the first union not in the second: "DataFrame", "timedelta", "datetime64[date | int | None]", "timedelta64[timedelta | int | None]", "complex", "integer[Any]", "floating[Any]", "complexfloating[Any, Any]"
- python/pyspark/pandas/frame.py:55: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/frame.py:61: error: Module "pandas.tseries.frequencies" does not explicitly export attribute "DateOffset"  [attr-defined]
- python/pyspark/pandas/frame.py:66: error: Module "pandas.core.dtypes.common" has no attribute "infer_dtype_from_object"  [attr-defined]
- python/pyspark/pandas/frame.py:67: error: Module "pandas.core.accessor" has no attribute "CachedAccessor"  [attr-defined]
- python/pyspark/pandas/frame.py:68: error: Module "pandas.core.dtypes.inference" has no attribute "is_sequence"  [attr-defined]
- python/pyspark/pandas/frame.py:3187: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/frame.py:3187: error: No overload variant of "apply" of "DataFrame" matches argument types "Callable[[VarArg(Any), KwArg(Any)], Any]", "int", "Sequence[Any]", "dict[str, Any]"  [call-overload]
- python/pyspark/pandas/frame.py:3187: note: Error code "call-overload" not covered by "type: ignore" comment
- python/pyspark/pandas/frame.py:3187: note: Possible overload variants:
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., MutableSequence[Any] | ndarray[tuple[Any, ...], dtype[Any]] | tuple[Any, ...] | Index[Any] | Series[Any]], axis: Literal['index', 0] = ..., raw: bool = ..., result_type: None = ..., args: Any = ..., **kwargs: Any) -> DataFrame
- python/pyspark/pandas/frame.py:3187: note:     def [S2: str | bytes | date | time | bool | <11 more items>] apply(self, f: Callable[..., S2 | NAType], axis: Literal['index', 0] = ..., raw: bool = ..., result_type: None = ..., args: Any = ..., **kwargs: Any) -> Series[S2]
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., Mapping[Any, Any]], axis: Literal['index', 0] = ..., raw: bool = ..., result_type: None = ..., args: Any = ..., **kwargs: Any) -> Series[Any]
- python/pyspark/pandas/frame.py:3187: note:     def [S2: str | bytes | date | time | bool | <11 more items>] apply(self, f: Callable[..., S2 | NAType], axis: Literal['index', 0] | Literal['columns', 1] = ..., raw: bool = ..., args: Any = ..., *, result_type: Literal['expand', 'reduce'], **kwargs: Any) -> Series[S2]
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., MutableSequence[Any] | ndarray[tuple[Any, ...], dtype[Any]] | tuple[Any, ...] | Index[Any] | Series[Any] | Mapping[Any, Any]], axis: Literal['index', 0] | Literal['columns', 1] = ..., raw: bool = ..., args: Any = ..., *, result_type: Literal['expand'], **kwargs: Any) -> DataFrame
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., MutableSequence[Any] | ndarray[tuple[Any, ...], dtype[Any]] | tuple[Any, ...] | Index[Any] | Mapping[Any, Any]], axis: Literal['index', 0] | Literal['columns', 1] = ..., raw: bool = ..., args: Any = ..., *, result_type: Literal['reduce'], **kwargs: Any) -> Series[Any]
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., MutableSequence[Any] | ndarray[tuple[Any, ...], dtype[Any]] | tuple[Any, ...] | Index[Any] | Series[Any] | <17 more items>], axis: Literal['index', 0] | Literal['columns', 1] = ..., raw: bool = ..., args: Any = ..., *, result_type: Literal['broadcast'], **kwargs: Any) -> DataFrame
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., Series[Any]], axis: Literal['index', 0] = ..., raw: bool = ..., args: Any = ..., *, result_type: Literal['reduce'], **kwargs: Any) -> Series[Any]
- python/pyspark/pandas/frame.py:3187: note:     def [S2: str | bytes | date | time | bool | <11 more items>] apply(self, f: Callable[..., S2 | NAType], raw: bool = ..., result_type: None = ..., args: Any = ..., *, axis: Literal['columns', 1], **kwargs: Any) -> Series[S2]
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., MutableSequence[Any] | ndarray[tuple[Any, ...], dtype[Any]] | tuple[Any, ...] | Index[Any] | Mapping[Any, Any]], raw: bool = ..., result_type: None = ..., args: Any = ..., *, axis: Literal['columns', 1], **kwargs: Any) -> Series[Any]
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., Series[Any]], raw: bool = ..., result_type: None = ..., args: Any = ..., *, axis: Literal['columns', 1], **kwargs: Any) -> DataFrame
- python/pyspark/pandas/frame.py:3187: note:     def apply(self, f: Callable[..., Series[Any]], raw: bool = ..., args: Any = ..., *, axis: Literal['columns', 1], result_type: Literal['reduce'], **kwargs: Any) -> DataFrame
- python/pyspark/pandas/frame.py:3205: error: Unused "type: ignore" comment  [unused-ignore]
- python/pyspark/pandas/frame.py:3205: error: No overload variant of "apply" of "DataFrame" matches argument types "Callable[[VarArg(Any), KwArg(Any)], Any]", "int", "Sequence[Any]", "dict[str, Any]"  [call-overload]
- python/pyspark/pandas/frame.py:3205: note: Error code "call-overload" not covered by "type: ignore" comment
- python/pyspark/pandas/frame.py:3205: note: Possible overload variants:
- python/pyspark/pandas/frame.py:3205: note:     def apply(self, f: Callable[..., MutableSequence[Any] | ndarray[tuple[Any, ...], dtype[Any]] | tuple[Any, ...] | Index[Any] | Series[Any]], axis: Literal['index', 0] = ..., raw: bool = ..., result_type: None = ..., args: Any = ..., **kwargs: Any) -> DataFrame
- python/pyspark/pandas/frame.py:3205: note:     def [S2: str | bytes | date | time | bool | <11 more items>] apply(self, f: Callable[..., S2 | NAType], axis: Literal['index', 0] = ..., raw: bool = ..., result_type: None = ..., args: Any = ..., **kwargs: Any) -> Series[S2]
- python/pyspark/pandas/frame.py:3205: note:     def apply(self, f: Callable[..., Mapping[Any, Any]], axis: Literal['index', 0] = ..., raw: bool = ..., result_type: None = ..., args: Any = ..., **kwargs: Any) -> Series[Any]

... (truncated 126 lines) ...

scrapy (https://github.com/scrapy/scrapy)
+ ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/profile.pyi:12: error: Invalid syntax. Perhaps you forgot a comma?  [syntax]
- scrapy/utils/console.py:23: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/utils/console.py:26: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/utils/console.py:84: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/utils/deprecate.py:63: error: Unused "type: ignore[misc]" comment  [unused-ignore]
- scrapy/utils/datatypes.py:86: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/utils/datatypes.py:182: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/utils/ssl.py:23: error: "X509Name" has no attribute "_name"  [attr-defined]
- scrapy/utils/reactor.py:32: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/http/request/form.py:109: error: Redundant cast to "Iterable[str]"  [redundant-cast]
- scrapy/spiders/crawl.py:161: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/core/scraper.py:299: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/core/scraper.py:302: error: Argument 2 to "warn_on_generator_with_return_value" has incompatible type "Callable[[Any], Any] | None"; expected "Callable[..., Any]"  [arg-type]
- scrapy/core/scraper.py:303: error: "None" not callable  [misc]
- scrapy/squeues.py:28: error: Unused "type: ignore[misc, valid-type]" comment  [unused-ignore]
- scrapy/squeues.py:43: error: Unused "type: ignore[misc, valid-type]" comment  [unused-ignore]
- scrapy/squeues.py:77: error: Unused "type: ignore[misc, valid-type]" comment  [unused-ignore]
- scrapy/squeues.py:116: error: Unused "type: ignore[misc, valid-type]" comment  [unused-ignore]
- scrapy/squeues.py:150: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/squeues.py:155: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/squeues.py:160: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/squeues.py:165: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/squeues.py:175: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/squeues.py:176: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/pipelines/media.py:239: error: Missing return statement  [return]
- scrapy/pipelines/media.py:272: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/http/cookies.py:77: error: Unused "type: ignore[no-any-return]" comment  [unused-ignore]
- tests/test_downloadermiddleware_httpproxy.py:15: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/pipelines/files.py:205: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/pipelines/files.py:226: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/pipelines/files.py:600: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/extensions/debug.py:37: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/extensions/debug.py:38: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/extensions/debug.py:75: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/downloadermiddlewares/robotstxt.py:67: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/core/downloader/handlers/http11.py:173: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/core/downloader/handlers/http11.py:191: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/core/downloader/handlers/http11.py:195: error: Unused "type: ignore[call-arg, misc]" comment  [unused-ignore]
- scrapy/commands/fetch.py:95: error: Unused "type: ignore[attr-defined]" comment  [unused-ignore]
- scrapy/commands/check.py:91: error: Unused "type: ignore[assignment, return-value]" comment, use narrower [method-assign] instead of [assignment] code  [unused-ignore]
- tests/test_downloadermiddleware_robotstxt.py:189: error: Unused "type: ignore" comment  [unused-ignore]
- tests/test_downloadermiddleware_robotstxt.py:218: error: Unused "type: ignore" comment  [unused-ignore]
- tests/test_downloadermiddleware_robotstxt.py:228: error: Unused "type: ignore" comment  [unused-ignore]
- tests/test_core_downloader.py:93: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/pipelines/images.py:231: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/extensions/feedexport.py:558: error: Unused "type: ignore" comment  [unused-ignore]
- tests/test_pipeline_images.py:29: error: Unused "type: ignore" comment  [unused-ignore]
- tests/test_downloader_handler_twisted_http2.py:99: error: Unused "type: ignore" comment  [unused-ignore]
- tests/test_downloader_handler_twisted_http2.py:102: error: Unused "type: ignore" comment  [unused-ignore]
- tests/test_downloader_handler_twisted_http2.py:105: error: Unused "type: ignore" comment  [unused-ignore]
- scrapy/core/downloader/handlers/s3.py:65: error: Unused "type: ignore" comment  [unused-ignore]

werkzeug (https://github.com/pallets/werkzeug)
+ Warning: unused section(s) in pyproject.toml: module = ['colorama', 'pkg_resources']
+ ...venv/lib/python3.13/site-packages/mypy/typeshed/stdlib/profile.pyi:12: error: Invalid syntax. Perhaps you forgot a comma?  [syntax]
- src/werkzeug/_reloader.py:315: error: Cannot find implementation or library stub for module named "watchdog.events"  [import-not-found]
- src/werkzeug/_reloader.py:315: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- src/werkzeug/_reloader.py:322: error: Cannot find implementation or library stub for module named "watchdog.observers"  [import-not-found]
- src/werkzeug/_reloader.py:327: error: Class cannot subclass "PatternMatchingEventHandler" (has type "Any")  [misc]
- src/werkzeug/_reloader.py:341: error: Unused "type: ignore" comment  [unused-ignore]
- src/werkzeug/datastructures/mixins.py:280: error: Unused "type: ignore" comment  [unused-ignore]
- src/werkzeug/datastructures/mixins.py:280: error: Incompatible types in assignment (expression has type "Union[V, T]", variable has type "V")  [assignment]
- src/werkzeug/datastructures/mixins.py:280: note: Error code "assignment" not covered by "type: ignore" comment
- src/werkzeug/datastructures/mixins.py:309: error: No overload variant of "update" of "MutableMapping" matches argument type "dict[str, V]"  [call-overload]
- src/werkzeug/datastructures/mixins.py:309: note: Possible overload variants:
- src/werkzeug/datastructures/mixins.py:309: note:     def update(self, SupportsKeysAndGetItem[K, V], /) -> None
- src/werkzeug/datastructures/mixins.py:309: note:     def update(self, Iterable[tuple[K, V]], /) -> None
- src/werkzeug/datastructures/structures.py:193: error: Generator has incompatible item type "tuple[Union[K, Any], Union[list[V], list[Any]]]"; expected "tuple[K, V]"  [misc]
- src/werkzeug/datastructures/structures.py:711: error: Unused "type: ignore[arg-type, attr-defined]" comment  [unused-ignore]
- src/werkzeug/datastructures/structures.py:711: error: Cannot infer value of type parameter "_VT" of "setdefault" of "MutableMapping"  [misc]
- src/werkzeug/datastructures/structures.py:711: note: Error code "misc" not covered by "type: ignore" comment
- src/werkzeug/datastructures/structures.py:792: error: Unused "type: ignore[assignment]" comment  [unused-ignore]
- src/werkzeug/datastructures/structures.py:806: error: Unused "type: ignore[assignment]" comment  [unused-ignore]
- src/werkzeug/serving.py:90: error: Cannot find implementation or library stub for module named "cryptography.hazmat.primitives.asymmetric.rsa"  [import-not-found]
- src/werkzeug/serving.py:93: error: Cannot find implementation or library stub for module named "cryptography.x509"  [import-not-found]
- src/werkzeug/serving.py:508: error: Cannot find implementation or library stub for module named "cryptography"  [import-not-found]
- src/werkzeug/serving.py:509: error: Cannot find implementation or library stub for module named "cryptography.hazmat.backends"  [import-not-found]
- src/werkzeug/serving.py:510: error: Cannot find implementation or library stub for module named "cryptography.hazmat.primitives"  [import-not-found]
- src/werkzeug/serving.py:511: error: Cannot find implementation or library stub for module named "cryptography.hazmat.primitives.asymmetric"  [import-not-found]
- src/werkzeug/serving.py:512: error: Cannot find implementation or library stub for module named "cryptography.x509.oid"  [import-not-found]
- tests/test_internal.py:6: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_internal.py:6: note: Use "-> None" if function does not return a value
- tests/middleware/test_shared_data.py:9: error: Function is missing a return type annotation  [no-untyped-def]
- tests/middleware/test_shared_data.py:9: note: Use "-> None" if function does not return a value
- tests/middleware/test_shared_data.py:10: error: Argument 1 to "SharedDataMiddleware" has incompatible type "None"; expected "Callable[[dict[str, Any], StartResponse], Iterable[bytes]]"  [arg-type]
- tests/middleware/test_shared_data.py:14: error: Function is missing a type annotation  [no-untyped-def]
- tests/middleware/test_shared_data.py:15: error: Function is missing a type annotation  [no-untyped-def]
- tests/middleware/test_shared_data.py:45: error: Value of type variable "_SupportsCloseT" of "closing" cannot be "Iterable[bytes]"  [type-var]
- tests/middleware/test_shared_data.py:54: error: Value of type variable "_SupportsCloseT" of "closing" cannot be "Iterable[bytes]"  [type-var]
- tests/middleware/test_profiler.py:7: error: Module "werkzeug.middleware.profiler" does not explicitly export attribute "Profile"  [attr-defined]
- tests/middleware/test_profiler.py:12: error: Function is missing a type annotation  [no-untyped-def]
- tests/middleware/test_profiler.py:17: error: Function is missing a return type annotation  [no-untyped-def]
- tests/middleware/test_profiler.py:21: error: Function is missing a type annotation  [no-untyped-def]
- tests/middleware/test_profiler.py:37: error: Argument "filename_format" to "ProfilerMiddleware" has incompatible type "Callable[[Any], Any]"; expected "str"  [arg-type]
- tests/middleware/test_dispatcher.py:6: error: Function is missing a return type annotation  [no-untyped-def]
- tests/middleware/test_dispatcher.py:6: note: Use "-> None" if function does not return a value
- tests/middleware/test_dispatcher.py:7: error: Function is missing a type annotation  [no-untyped-def]
- tests/middleware/test_dispatcher.py:11: error: Function is missing a type annotation  [no-untyped-def]
- tests/live_apps/streaming_app.py:6: error: Function is missing a type annotation  [no-untyped-def]
- tests/live_apps/streaming_app.py:7: error: Function is missing a return type annotation  [no-untyped-def]
- tests/live_apps/streaming_app.py:14: error: Call to untyped function "gen" in typed context  [no-untyped-call]
- tests/live_apps/standard_app.py:8: error: Function is missing a type annotation  [no-untyped-def]
- tests/live_apps/run.py:16: error: Function is missing a type annotation  [no-untyped-def]
- tests/live_apps/run.py:35: error: Cannot assign to a method  [method-assign]
- tests/live_apps/run.py:35: error: Incompatible types in assignment (expression has type "Callable[[Arg(WSGIRequestHandler, '_')], Any]", variable has type "Callable[[Arg(WSGIRequestHandler, 'self')], str]")  [assignment]
- tests/live_apps/reloader_app.py:17: error: Function is missing a type annotation  [no-untyped-def]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("str" and "bytes")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("str" and "int")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("str" and "float")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("str" and "complex")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("str" and "None")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("str" and "ellipsis")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("bytes" and "str")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("bytes" and "int")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("bytes" and "float")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("bytes" and "complex")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("bytes" and "None")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("bytes" and "ellipsis")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("int" and "str")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("int" and "bytes")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("int" and "None")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("int" and "ellipsis")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("float" and "str")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("float" and "bytes")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("float" and "None")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("float" and "ellipsis")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("complex" and "str")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("complex" and "bytes")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("complex" and "None")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("complex" and "ellipsis")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported left operand type for + ("None")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("None" and "int")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("None" and "float")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("None" and "complex")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported left operand type for + ("ellipsis")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("ellipsis" and "int")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("ellipsis" and "float")  [operator]
- src/werkzeug/routing/rules.py:779: error: Unsupported operand types for + ("ellipsis" and "complex")  [operator]
- src/werkzeug/routing/rules.py:779: note: Both left and right operands are unions
- tests/test_wsgi.py:60: error: Function is missing a type annotation  [no-untyped-def]
- tests/test_wsgi.py:65: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:65: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:77: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:78: error: Function is missing a type annotation  [no-untyped-def]
- tests/test_wsgi.py:87: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:87: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:92: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:92: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:94: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:94: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:114: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:119: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:123: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:128: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:132: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:136: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:143: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:147: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:150: error: Incompatible types in assignment (expression has type "LimitedStream", variable has type "RaisingLimitedStream")  [assignment]
- tests/test_wsgi.py:154: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:154: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:158: error: Incompatible types in assignment (expression has type "TextIOWrapper[BufferedReader[LimitedStream]]", variable has type "LimitedStream")  [assignment]
- tests/test_wsgi.py:158: error: Value of type variable "_BufferedReaderStreamT" of "BufferedReader" cannot be "LimitedStream"  [type-var]
- tests/test_wsgi.py:163: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:163: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:178: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:197: error: Cannot instantiate abstract class "OneByteStream" with abstract attributes "__enter__", "__exit__", ... and "writelines" (15 methods suppressed)  [abstract]
- tests/test_wsgi.py:207: error: Cannot instantiate abstract class "OneByteStream" with abstract attributes "__enter__", "__exit__", ... and "writelines" (15 methods suppressed)  [abstract]
- tests/test_wsgi.py:214: error: Cannot instantiate abstract class "OneByteStream" with abstract attributes "__enter__", "__exit__", ... and "writelines" (15 methods suppressed)  [abstract]
- tests/test_wsgi.py:217: error: Cannot instantiate abstract class "OneByteStream" with abstract attributes "__enter__", "__exit__", ... and "writelines" (15 methods suppressed)  [abstract]
- tests/test_wsgi.py:221: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:221: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:244: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:244: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:250: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:250: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:259: error: Function is missing a return type annotation  [no-untyped-def]
- tests/test_wsgi.py:259: note: Use "-> None" if function does not return a value
- tests/test_wsgi.py:261: error: Argument 1 to "_RangeWrapper" has incompatible type "Union[Iterable[str], Iterable[bytes]]"; expected "Union[Iterable[bytes], IO[bytes]]"  [arg-type]
- tests/test_wsgi.py:265: error: Argument 1 to "_RangeWrapper" has incompatible type "Union[Iterable[str], Iterable[bytes]]"; expected "Union[Iterable[bytes], IO[bytes]]"  [arg-type]
- tests/test_wsgi.py:270: error: Argument 1 to "_RangeWrapper" has incompatible type "Union[Iterable[str], Iterable[bytes]]"; expected "Union[Iterable[bytes], IO[bytes]]"  [arg-type]

... (truncated 352 lines) ...```

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

Successfully merging this pull request may close these issues.

2 participants