Ecosystem report

Old: main (merge base) f99b284c New: 23689/merge c481dba7
Lint Rule Removed Added Changed
Total 362 297 138
invalid-argument-type 152 159 8
missing-argument 31 49 0
unresolved-attribute 1 5 72
invalid-return-type 3 46 6
invalid-method-override 50 0 0
invalid-await 40 0 0
type-assertion-failure 24 2 11
no-matching-overload 11 22 0
invalid-context-manager 0 0 32
invalid-type-arguments 24 0 0
invalid-assignment 8 2 9
unused-type-ignore-comment 16 3 0
too-many-positional-arguments 0 4 0
unused-ignore-comment 0 3 0
invalid-type-form 1 0 0
not-iterable 0 1 0
redundant-cast 0 1 0
unbound-type-variable 1 0 0
Project Removed Added Changed
Total 362 297 138
prefect 80 65 3
starlette 83 0 0
trio 0 68 14
core 0 37 43
discord.py 31 1 21
Expression 0 48 0
pandas-stubs 20 23 0
scrapy 9 28 0
altair 3 0 33
zulip 19 3 12
scipy-stubs 14 2 10
jax 18 0 0
apprise 17 0 0
colour 16 0 0
schemathesis 15 0 0
pandas 10 0 0
Tanjun 1 7 0
antidote 6 2 0
sympy 8 0 0
asynq 1 4 0

CPython (peg_generator) (https://github.com/python/cpython)

Tools/peg_generator/pegen/validator.py

[error] invalid-method-override - Invalid override of method `visit`: Definition is incompatible with `GrammarVisitor.visit`

Expression (https://github.com/cognitedata/Expression)

expression/collections/array.py

[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def filter[_TSource](source: TypedArray[_TSource], predicate: (_TSource, /) -> bool) -> TypedArray[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def take[_TSource](source: TypedArray[_TSource], count: int) -> TypedArray[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def take_last[_TSource](source: TypedArray[_TSource], count: int) -> TypedArray[_TSource]`

expression/collections/map.py

[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def add[_Key, _Value](table: Map[_Key, _Value], key: _Key, value: _Value) -> Map[_Key, _Value]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def change[_Key, _Value](table: Map[_Key, _Value], key: _Key, fn: (Option[_Value], /) -> Option[_Value]) -> Map[_Key, _Value]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def filter[_Key, _Value](table: Map[_Key, _Value], predicate: (_Key, _Value, /) -> bool) -> Map[_Key, _Value]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def remove[_Key, _Value](table: Map[_Key, _Value], key: _Key) -> Map[_Key, _Value]`

expression/collections/seq.py

[error] invalid-argument-type - Argument is incorrect: Expected `Never`, found `Self@filter`
[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Self@skip, /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Self@take, /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def filter[_TSource](source: Iterable[_TSource], predicate: (_TSource, /) -> bool) -> Iterable[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def skip[_TSource](source: Iterable[_TSource], count: int) -> Iterable[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def take[_TSource](source: Iterable[_TSource], count: int) -> Iterable[_TSource]`

expression/collections/block.py

[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def append[_TSource](source: Block[_TSource], other: Block[_TSource]) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def filter[_TSource](source: Block[_TSource], predicate: (_TSource, /) -> bool) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def skip[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def skip_last[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSourceSortable](Never, /, reverse: bool = False) -> Never`, found `def sort[_TSourceSortable](source: Block[_TSourceSortable], reverse: bool = False) -> Block[_TSourceSortable]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def sort_with[_TSource](source: Block[_TSource], func: (_TSource, /) -> Any, reverse: bool = False) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def take[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_TSource](Never, /, count: int) -> Never`, found `def take_last[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`

expression/core/result.py

[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def filter[_TSource, _TError](result: Result[_TSource, _TError], predicate: (_TSource, /) -> bool, default: _TError) -> Result[_TSource, _TError]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def filter_with[_TSource, _TError](result: Result[_TSource, _TError], predicate: (_TSource, /) -> bool, default: (_TSource, /) -> _TError) -> Result[_TSource, _TError]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def or_else[_TSource, _TError](result: Result[_TSource, _TError], other: Result[_TSource, _TError]) -> Result[_TSource, _TError]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def or_else_with[_TSource, _TError](result: Result[_TSource, _TError], other: (_TError, /) -> Result[_TSource, _TError]) -> Result[_TSource, _TError]`

expression/extra/parser.py

[error] invalid-argument-type - Argument is incorrect: Expected `Never`, found `Parser[_B@ignore_then]`
[error] invalid-argument-type - Argument is incorrect: Expected `Never`, found `Parser[Any]`
[error] invalid-argument-type - Argument is incorrect: Expected `Never`, found `Self@or_else`
[error] invalid-argument-type - Argument is incorrect: Expected `(_B'return@curry & Parser[Any]) | (_A'return@curry & Parser[Any])`, found `Parser[_A@Parser]`
[error] invalid-argument-type - Argument is incorrect: Expected `(_B'return@curry & Parser[Any]) | (_A'return@curry & Parser[Any])`, found `Parser[Any]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def or_else[_A](p1: Parser[_A], p2: Parser[_A]) -> Parser[_A]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def then_ignore[_A](p2: Parser[Any], p1: Parser[_A]) -> Parser[_A]`
[error] invalid-argument-type - Argument is incorrect: Expected `[_B](Never, /, p1: Parser[Any]) -> Never`, found `def ignore_then[_B](p2: Parser[_B], p1: Parser[Any]) -> Parser[_B]`
[error] invalid-argument-type - Argument is incorrect: Expected `Never`, found `Parser[Block[str]]`
[error] invalid-argument-type - Argument is incorrect: Expected `Never`, found `Parser[_A@between]`
[error] invalid-argument-type - Argument is incorrect: Expected `Never`, found `Parser[Any]`

tests/test_array.py

[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(TypedArray[int], /) -> Unknown`, found `(Never, /) -> Never`

tests/test_block.py

[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Block[int], /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Block[int], /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Block[str], /) -> Unknown`, found `(Never, /) -> Never`

tests/test_map.py

[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Map[str, int] | Unknown, /) -> Unknown`, found `(Never, /) -> Never`

tests/test_result.py

[error] invalid-argument-type - Argument to bound method `pipe` is incorrect: Expected `(Result[Literal[42], Any], /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument to bound method `pipe` is incorrect: Expected `(Result[Literal[42], Any], /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument to bound method `pipe` is incorrect: Expected `(Result[Literal[42], Any], /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument to bound method `pipe` is incorrect: Expected `(Result[Literal[42], Any], /) -> Unknown`, found `(Never, /) -> Never`

tests/test_seq.py

[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Seq[int], /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Seq[int], /) -> Unknown`, found `(Never, /) -> Never`
[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(Iterable[int], /) -> Unknown`, found `(Never, /) -> Never`

Tanjun (https://github.com/FasterSpeeding/Tanjun)

tanjun/_internal/__init__.py

[error] invalid-return-type - Return type does not match returned value: expected `bool`, found `Literal[True] | (Coroutine[Any, Any, bool] & ~AlwaysFalsy)`

tanjun/annotations.py

[error] invalid-argument-type - Argument is incorrect: Expected `Sequence[(str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any]`, found `(((str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any) & Sequence[object]) | Sequence[(str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any`, found `object`

tanjun/checks.py

[error] invalid-type-arguments - Type `TypeVar` is not assignable to upper bound `Context` of type variable `_ContextT@_AllChecks`

tanjun/clients.py

[error] invalid-argument-type - Argument to bound method `add_check` is incorrect: Expected `(Context, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, bool] | bool`, found `(def _check_human(ctx: Context, /) -> bool) & ~((Context, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, bool] | bool)`
[error] not-iterable - Object of type `Iterable[str] | Coroutine[Any, Any, Iterable[str]]` may not be iterable

tanjun/parsing.py

[error] invalid-argument-type - Argument to bound method `_add_converter` is incorrect: Expected `(str, /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any] | Any`, found `object`

altair (https://github.com/vega/altair)

altair/vegalite/v6/data.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

tests/examples_arguments_syntax/diverging_stacked_bar_chart.py

[error] no-matching-overload - No overload of bound method `apply` matches arguments

tests/examples_methods_syntax/diverging_stacked_bar_chart.py

[error] no-matching-overload - No overload of bound method `apply` matches arguments

altair/utils/_transformed_data.py

[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`

altair/utils/save.py

[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`

tests/expr/test_expr.py

[error] unresolved-attribute - Object of type `(...) -> Expression` has no attribute `__get__`
[error] unresolved-attribute - Object of type `(type[T@_iter_classmethod_specs], /, *args: Any, **kwargs: Any) -> Expression` has no attribute `__get__`

tests/test_jupyter_chart.py

[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`

tests/utils/test_mimebundle.py

[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`

tests/vegalite/v6/test_api.py

[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`

tests/vegalite/v6/test_data.py

[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`

tests/vegalite/v6/test_geo_interface.py

[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`
[error] invalid-context-manager - Object of type `PluginEnabler[(dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown, Unknown]` cannot be used with `with` because it does not correctly implement `__exit__`

antidote (https://github.com/Finistere/antidote)

src/antidote/core/_inject.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(type[Unknown], /, *args: object, **kwargs: object) -> object`, found `Top[(...) -> object]`

tests/core/test_inject.py

[error] invalid-argument-type - Argument to bound method `method` is incorrect: Expected `(Any, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def no_args() -> object`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

tests/lib/lazy/test_lazy.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

apprise (https://github.com/caronc/apprise)

tests/test_config_http.py

[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`

tests/test_notification_manager.py

[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`

apprise/plugins/pushdeer.py

[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`

apprise/plugins/serverchan.py

[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`

tests/test_apprise_cli.py

[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`

tests/test_apprise_config.py

[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`
[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`

tests/test_asyncio.py

[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`

tests/test_attach_http.py

[error] invalid-method-override - Invalid override of method `url`: Definition is incompatible with `URLBase.url`

async-utils (https://github.com/mikeshardmind/async-utils)

src/async_utils/gen_transform.py

[error] invalid-assignment - Object of type `def _consumer[**P, Y](laziness_ev: Event, queue: Queue[Y], loop: AbstractEventLoop, cancel_future: Future[None], f: (**P) -> Generator[Y, None, None], /, *args: P.args, **kwargs: P.kwargs) -> None` is not assignable to `ConsumerType[P@_sync_to_async_gen, Y@_sync_to_async_gen]`

asynq (https://github.com/quora/asynq)

asynq/tests/test_multiple_inheritance.py

[error] too-many-positional-arguments - Too many positional arguments to bound method `asynq`: expected 1, got 2

asynq/tests/test_decorators.py

[error] too-many-positional-arguments - Too many positional arguments to bound method `__call__`: expected 1, got 2
[error] too-many-positional-arguments - Too many positional arguments to bound method `asynq`: expected 1, got 2

asynq/tests/test_tools.py

[error] too-many-positional-arguments - Too many positional arguments to bound method `asynq`: expected 1, got 2

asynq/tests/test_typing.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

colour (https://github.com/colour-science/colour)

colour/algebra/extrapolation.py

[error] invalid-assignment - Object of type `NullInterpolator` is not assignable to `ProtocolInterpolator`: Incompatible value of type `NullInterpolator`

colour/algebra/tests/test_extrapolation.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `CubicSplineInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `PchipInterpolator`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`

colour/models/rgb/transfer_functions/filmic_pro.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`

colour/notation/munsell/value.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`

colour/notation/munsell/centore2014.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ProtocolInterpolator | None`, found `LinearInterpolator`

core (https://github.com/home-assistant/core)

homeassistant/components/androidtv/entity.py

[error] invalid-return-type - Return type does not match returned value: expected `[_ADBDeviceT'return, **_P'return, _R'return]((_ADBDeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Awaitable[_R'return], /) -> ((_ADBDeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return | None])`, found `def _adb_decorator(func: _FuncType[_ADBDeviceT@_adb_decorator, _P@_adb_decorator, _R@_adb_decorator]) -> _ReturnFuncType[_ADBDeviceT@_adb_decorator, _P@_adb_decorator, _R@_adb_decorator]`
[error] invalid-argument-type - Argument is incorrect: Expected `_ADBDeviceT@_adb_decorator`, found `_ADBDeviceT@_adb_exception_catcher`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_adb_decorator.args`, found `_P@_adb_exception_catcher.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_adb_decorator.kwargs`, found `_P@_adb_exception_catcher.kwargs`
[error] unresolved-attribute - Object of type `(...) -> Awaitable[_R@_adb_decorator]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_ADBDeviceT@_adb_decorator, /, *args: _P@_adb_decorator.args, **kwargs: _P@_adb_decorator.kwargs) -> Awaitable[_R@_adb_decorator]` has no attribute `__name__`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_ADBDeviceT@adb_decorator, _P@adb_decorator, _R@_adb_decorator]`, found `_Wrapped[(...), Awaitable[_R@_adb_decorator], (self: _ADBDeviceT@adb_decorator, *args: _P@adb_decorator.args, **kwargs: _P@adb_decorator.kwargs), CoroutineType[Any, Any, _R@_adb_exception_catcher | None]]`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_ADBDeviceT@_adb_decorator, _P@_adb_decorator, _R@_adb_decorator]`, found `_Wrapped[(_ADBDeviceT@_adb_decorator, /, *args: _P@_adb_decorator.args, **kwargs: _P@_adb_decorator.kwargs), Awaitable[_R@_adb_decorator], (self: _ADBDeviceT@_adb_exception_catcher, *args: _P@_adb_exception_catcher.args, **kwargs: _P@_adb_exception_catcher.kwargs), CoroutineType[Any, Any, _R@_adb_exception_catcher | None]]`

homeassistant/components/azure_storage/backup.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(AzureStorageBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(AzureStorageBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(AzureStorageBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(AzureStorageBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(AzureStorageBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`

homeassistant/components/cambridge_audio/entity.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_EntityT@command, /, *args: _P@command.args, **kwargs: _P@command.kwargs) -> Awaitable[None]` has no attribute `__name__`

homeassistant/components/cast/media_player.py

[error] unresolved-attribute - Object of type `(...) -> _R@api_error` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_CastDeviceT@api_error, /, *args: _P@api_error.args, **kwargs: _P@api_error.kwargs) -> _R@api_error` has no attribute `__name__`

homeassistant/components/denonavr/media_player.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[_R@async_log_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_DenonDeviceT@async_log_errors, /, *args: _P@async_log_errors.args, **kwargs: _P@async_log_errors.kwargs) -> Awaitable[_R@async_log_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Awaitable[_R@async_log_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_DenonDeviceT@async_log_errors, /, *args: _P@async_log_errors.args, **kwargs: _P@async_log_errors.kwargs) -> Awaitable[_R@async_log_errors]` has no attribute `__name__`

homeassistant/components/dlna_dmr/media_player.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[_R@catch_request_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_DlnaDmrEntityT@catch_request_errors, /, *args: _P@catch_request_errors.args, **kwargs: _P@catch_request_errors.kwargs) -> Awaitable[_R@catch_request_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Awaitable[_R@catch_request_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_DlnaDmrEntityT@catch_request_errors, /, *args: _P@catch_request_errors.args, **kwargs: _P@catch_request_errors.kwargs) -> Awaitable[_R@catch_request_errors]` has no attribute `__name__`

homeassistant/components/duotecno/entity.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_T@api_call, /, *args: _P@api_call.args, **kwargs: _P@api_call.kwargs) -> Awaitable[None]` has no attribute `__name__`

homeassistant/components/enphase_envoy/entity.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Any]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_EntityT@exception_handler, /, *args: _P@exception_handler.args, **kwargs: _P@exception_handler.kwargs) -> Coroutine[Any, Any, Any]` has no attribute `__name__`

homeassistant/components/guardian/util.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Any]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_GuardianEntityT@convert_exceptions_to_homeassistant_error, /, *args: _P@convert_exceptions_to_homeassistant_error.args, **kwargs: _P@convert_exceptions_to_homeassistant_error.kwargs) -> Coroutine[Any, Any, Any]` has no attribute `__name__`

homeassistant/components/hassio/addon_manager.py

[error] invalid-argument-type - Argument is incorrect: Expected `_AddonManagerT@handle_hassio_api_error`, found `_AddonManagerT@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@handle_hassio_api_error.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@handle_hassio_api_error.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `[_AddonManagerT'return, **_P'return, _R'return]((_AddonManagerT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Awaitable[_R'return], /) -> ((_AddonManagerT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return])`, found `def handle_hassio_api_error(func: _FuncType[_AddonManagerT@handle_hassio_api_error, _P@handle_hassio_api_error, _R@handle_hassio_api_error]) -> _ReturnFuncType[_AddonManagerT@handle_hassio_api_error, _P@handle_hassio_api_error, _R@handle_hassio_api_error]`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_AddonManagerT@api_error, _P@api_error, _R@handle_hassio_api_error]`, found `_Wrapped[(...), Awaitable[_R@handle_hassio_api_error], (self: _AddonManagerT@api_error, *args: _P@api_error.args, **kwargs: _P@api_error.kwargs), CoroutineType[Any, Any, _R@wrapper]]`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_AddonManagerT@handle_hassio_api_error, _P@handle_hassio_api_error, _R@handle_hassio_api_error]`, found `_Wrapped[(_AddonManagerT@handle_hassio_api_error, /, *args: _P@handle_hassio_api_error.args, **kwargs: _P@handle_hassio_api_error.kwargs), Awaitable[_R@handle_hassio_api_error], (self: _AddonManagerT@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs), CoroutineType[Any, Any, _R@wrapper]]`

homeassistant/components/homematicip_cloud/helpers.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Any]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_HomematicipGenericEntityT@handle_errors, /, *args: _P@handle_errors.args, **kwargs: _P@handle_errors.kwargs) -> Coroutine[Any, Any, Any]` has no attribute `__name__`

homeassistant/components/izone/climate.py

[error] invalid-return-type - Return type does not match returned value: expected `[_DeviceT'return, **_P'return, _R'return]((_DeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return, /) -> ((_DeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return | _T)`, found `def wrap(func: _FuncType[_DeviceT@wrap, _P@wrap, _R@wrap]) -> _FuncType[_DeviceT@wrap, _P@wrap, _R@wrap | _T@_return_on_connection_error]`
[error] invalid-argument-type - Argument is incorrect: Expected `_DeviceT@wrap`, found `_DeviceT@wrapped_f`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@wrap.args`, found `_P@wrapped_f.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@wrap.kwargs`, found `_P@wrapped_f.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_FuncType[_DeviceT@_return_on_connection_error, _P@_return_on_connection_error, _R@wrap | _T@_return_on_connection_error]`, found `def wrapped_f(self: _DeviceT@_return_on_connection_error, *args: _P@_return_on_connection_error.args, **kwargs: _P@_return_on_connection_error.kwargs) -> _R@wrapped_f | _T@_return_on_connection_error`
[error] invalid-return-type - Return type does not match returned value: expected `_FuncType[_DeviceT@wrap, _P@wrap, _R@wrap | _T@_return_on_connection_error]`, found `def wrapped_f(self: _DeviceT@wrapped_f, *args: _P@wrapped_f.args, **kwargs: _P@wrapped_f.kwargs) -> _R@wrapped_f | _T@_return_on_connection_error`

homeassistant/components/kodi/media_player.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[Any]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_KodiEntityT@cmd, /, *args: _P@cmd.args, **kwargs: _P@cmd.kwargs) -> Awaitable[Any]` has no attribute `__name__`

homeassistant/components/limitlessled/light.py

[error] invalid-argument-type - Argument is incorrect: Expected `_LimitlessLEDGroupT@decorator`, found `_LimitlessLEDGroupT@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `(_LimitlessLEDGroupT@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> None`, found `def wrapper(self: _LimitlessLEDGroupT@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs) -> None`
[error] invalid-return-type - Return type does not match returned value: expected `[_LimitlessLEDGroupT'return, **_P'return]((_LimitlessLEDGroupT'return, int, Unknown, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Any, /) -> ((_LimitlessLEDGroupT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> None)`, found `def decorator(function: (_LimitlessLEDGroupT@decorator, int, Unknown, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> Any) -> ((_LimitlessLEDGroupT@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> None)`

homeassistant/components/onedrive/backup.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(OneDriveBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(OneDriveBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`

homeassistant/components/onedrive_for_business/backup.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(OneDriveBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(OneDriveBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`

homeassistant/components/openhome/media_player.py

[error] invalid-return-type - Return type does not match returned value: expected `[_OpenhomeDeviceT'return, **_P'return, _R'return]((_OpenhomeDeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Awaitable[_R'return], /) -> ((_OpenhomeDeviceT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return | None])`, found `def call_wrapper(func: _FuncType[_OpenhomeDeviceT@call_wrapper, _P@call_wrapper, _R@call_wrapper]) -> _ReturnFuncType[_OpenhomeDeviceT@call_wrapper, _P@call_wrapper, _R@call_wrapper]`
[error] invalid-argument-type - Argument is incorrect: Expected `_OpenhomeDeviceT@call_wrapper`, found `_OpenhomeDeviceT@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@call_wrapper.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@call_wrapper.kwargs`, found `_P@wrapper.kwargs`
[error] unresolved-attribute - Object of type `(...) -> Awaitable[_R@call_wrapper]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_OpenhomeDeviceT@call_wrapper, /, *args: _P@call_wrapper.args, **kwargs: _P@call_wrapper.kwargs) -> Awaitable[_R@call_wrapper]` has no attribute `__name__`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_OpenhomeDeviceT@catch_request_errors, _P@catch_request_errors, _R@call_wrapper]`, found `_Wrapped[(...), Awaitable[_R@call_wrapper], (self: _OpenhomeDeviceT@catch_request_errors, *args: _P@catch_request_errors.args, **kwargs: _P@catch_request_errors.kwargs), CoroutineType[Any, Any, _R@wrapper | None]]`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_OpenhomeDeviceT@call_wrapper, _P@call_wrapper, _R@call_wrapper]`, found `_Wrapped[(_OpenhomeDeviceT@call_wrapper, /, *args: _P@call_wrapper.args, **kwargs: _P@call_wrapper.kwargs), Awaitable[_R@call_wrapper], (self: _OpenhomeDeviceT@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs), CoroutineType[Any, Any, _R@wrapper | None]]`

homeassistant/components/otbr/silabs_multiprotocol.py

[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return, _R'return]((HomeAssistant, OTBRData, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return], /) -> ((HomeAssistant, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, _R'return | _R_Def])`, found `def _async_get_otbr_data(orig_func: (HomeAssistant, OTBRData, /, *args: _P@_async_get_otbr_data.args, **kwargs: _P@_async_get_otbr_data.kwargs) -> Coroutine[Any, Any, _R@_async_get_otbr_data]) -> ((HomeAssistant, /, *args: _P@_async_get_otbr_data.args, **kwargs: _P@_async_get_otbr_data.kwargs) -> Coroutine[Any, Any, _R@_async_get_otbr_data | _R_Def@async_get_otbr_data])`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_async_get_otbr_data.args`, found `_P@async_get_otbr_data_wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@_async_get_otbr_data.kwargs`, found `_P@async_get_otbr_data_wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `(...) -> Coroutine[Any, Any, _R@_async_get_otbr_data | _R_Def@async_get_otbr_data]`, found `_Wrapped[(...), Coroutine[Any, Any, _R@_async_get_otbr_data], (hass: HomeAssistant, *args: _P@async_get_otbr_data.args, **kwargs: _P@async_get_otbr_data.kwargs), CoroutineType[Any, Any, _R@async_get_otbr_data_wrapper | _R_Def@async_get_otbr_data]]`
[error] invalid-return-type - Return type does not match returned value: expected `(HomeAssistant, /, *args: _P@_async_get_otbr_data.args, **kwargs: _P@_async_get_otbr_data.kwargs) -> Coroutine[Any, Any, _R@_async_get_otbr_data | _R_Def@async_get_otbr_data]`, found `_Wrapped[(HomeAssistant, OTBRData, /, *args: _P@_async_get_otbr_data.args, **kwargs: _P@_async_get_otbr_data.kwargs), Coroutine[Any, Any, _R@_async_get_otbr_data], (hass: HomeAssistant, *args: _P@async_get_otbr_data_wrapper.args, **kwargs: _P@async_get_otbr_data_wrapper.kwargs), CoroutineType[Any, Any, _R@async_get_otbr_data_wrapper | _R_Def@async_get_otbr_data]]`

homeassistant/components/rainmachine/switch.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_T@raise_on_request_error, /, *args: _P@raise_on_request_error.args, **kwargs: _P@raise_on_request_error.kwargs) -> Awaitable[None]` has no attribute `__name__`

homeassistant/components/recorder/util.py

[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return]((Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> bool, /) -> ((Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> bool)`, found `def decorator(job: _FuncType[_P@decorator, bool]) -> _FuncType[_P@decorator, bool]`
[error] invalid-return-type - Return type does not match returned value: expected `[_Self'return, **_P'return]((_Self'return, Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> bool, /) -> ((_Self'return, Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> bool)`, found `def decorator(job: _MethType[_Self@decorator, _P@decorator, bool]) -> _MethType[_Self@decorator, _P@decorator, bool]`
[error] invalid-return-type - Return type does not match returned value: expected `[**_P'return, _R'return]((Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return, /) -> ((Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return)`, found `def decorator(job: _FuncType[_P@decorator, _R@decorator]) -> _FuncType[_P@decorator, _R@decorator]`
[error] invalid-return-type - Return type does not match returned value: expected `[_Self'return, **_P'return, _R'return]((_Self'return, Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return, /) -> ((_Self'return, Recorder, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return)`, found `def decorator(job: _MethType[_Self@decorator, _P@decorator, _R@decorator]) -> _MethType[_Self@decorator, _P@decorator, _R@decorator]`

homeassistant/components/ring/entity.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@exception_wrap]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_RingBaseEntityT@exception_wrap, /, *args: _P@exception_wrap.args, **kwargs: _P@exception_wrap.kwargs) -> Coroutine[Any, Any, _R@exception_wrap]` has no attribute `__name__`

homeassistant/components/roku/helpers.py

[error] invalid-argument-type - Argument is incorrect: Expected `_RokuEntityT@decorator`, found `_RokuEntityT@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_RokuEntityT@decorator, _P@decorator]`, found `_Wrapped[(_RokuEntityT@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs), Awaitable[Any], (self: _RokuEntityT@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs), CoroutineType[Any, Any, None]]`
[error] invalid-return-type - Return type does not match returned value: expected `[_RokuEntityT'return, **_P'return]((_RokuEntityT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Awaitable[Any], /) -> ((_RokuEntityT'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> Coroutine[Any, Any, None])`, found `def decorator(func: _FuncType[_RokuEntityT@decorator, _P@decorator]) -> _ReturnFuncType[_RokuEntityT@decorator, _P@decorator]`

homeassistant/components/russound_rio/entity.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_EntityT@command, /, *args: _P@command.args, **kwargs: _P@command.kwargs) -> Awaitable[None]` has no attribute `__name__`

homeassistant/components/sonos/helpers.py

[error] invalid-argument-type - Argument is incorrect: Expected `_T@decorator`, found `_T@wrapper`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.args`, found `_P@wrapper.args`
[error] invalid-argument-type - Argument is incorrect: Expected `_P@decorator.kwargs`, found `_P@wrapper.kwargs`
[error] invalid-return-type - Return type does not match returned value: expected `[_T'return, **_P'return, _R'return]((_T'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return, /) -> ((_T'return, /, *args: _P'return.args, **kwargs: _P'return.kwargs) -> _R'return | None)`, found `def decorator(funct: _FuncType[_T@decorator, _P@decorator, _R@decorator]) -> _ReturnFuncType[_T@decorator, _P@decorator, _R@decorator]`
[error] unresolved-attribute - Object of type `(...) -> _R@decorator` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `(_T@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> _R@decorator` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `(...) -> _R@decorator` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `(_T@decorator, /, *args: _P@decorator.args, **kwargs: _P@decorator.kwargs) -> _R@decorator` has no attribute `__qualname__`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_T@soco_error, _P@soco_error, _R@decorator]`, found `def wrapper(self: _T@soco_error, *args: _P@soco_error.args, **kwargs: _P@soco_error.kwargs) -> _R@wrapper | None`
[error] invalid-return-type - Return type does not match returned value: expected `_ReturnFuncType[_T@decorator, _P@decorator, _R@decorator]`, found `def wrapper(self: _T@wrapper, *args: _P@wrapper.args, **kwargs: _P@wrapper.kwargs) -> _R@wrapper | None`

homeassistant/components/tplink/entity.py

[error] unresolved-attribute - Object of type `(...) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_T@async_refresh_after, /, *args: _P@async_refresh_after.args, **kwargs: _P@async_refresh_after.kwargs) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_T@async_refresh_after, /, *args: _P@async_refresh_after.args, **kwargs: _P@async_refresh_after.kwargs) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Awaitable[None]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_T@async_refresh_after, /, *args: _P@async_refresh_after.args, **kwargs: _P@async_refresh_after.kwargs) -> Awaitable[None]` has no attribute `__name__`

homeassistant/components/webdav/backup.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(WebDavBackupAgent, /, *args: P@handle_backup_errors.args, **kwargs: P@handle_backup_errors.kwargs) -> Coroutine[Any, Any, _R@handle_backup_errors]` has no attribute `__name__`

homeassistant/components/webostv/media_player.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(LgWebOSMediaPlayerEntity, /, *args: _P@cmd.args, **kwargs: _P@cmd.kwargs) -> Coroutine[Any, Any, _R@cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(LgWebOSMediaPlayerEntity, /, *args: _P@cmd.args, **kwargs: _P@cmd.kwargs) -> Coroutine[Any, Any, _R@cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(LgWebOSMediaPlayerEntity, /, *args: _P@cmd.args, **kwargs: _P@cmd.kwargs) -> Coroutine[Any, Any, _R@cmd]` has no attribute `__name__`

homeassistant/components/yeelight/light.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@_async_cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_YeelightBaseLightT@_async_cmd, /, *args: _P@_async_cmd.args, **kwargs: _P@_async_cmd.kwargs) -> Coroutine[Any, Any, _R@_async_cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@_async_cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_YeelightBaseLightT@_async_cmd, /, *args: _P@_async_cmd.args, **kwargs: _P@_async_cmd.kwargs) -> Coroutine[Any, Any, _R@_async_cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, _R@_async_cmd]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(_YeelightBaseLightT@_async_cmd, /, *args: _P@_async_cmd.args, **kwargs: _P@_async_cmd.kwargs) -> Coroutine[Any, Any, _R@_async_cmd]` has no attribute `__name__`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

tests/tracer/test_utils.py

[error] invalid-argument-type - Argument to function `callonce` is incorrect: Expected `() -> Any`, found `def _(a, b=None, *args, **kwargs) -> Unknown`

discord.py (https://github.com/Rapptz/discord.py)

discord/app_commands/commands.py

[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] invalid-type-form - `...` is not allowed in this context in a type expression
[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Unknown]` has no attribute `__self__`
[error] unresolved-attribute - Object of type `((GroupT@Command, Interaction[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Interaction[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__self__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Unknown]` has no attribute `__func__`
[error] unresolved-attribute - Object of type `((GroupT@Command, Interaction[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Interaction[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__func__`
[error] unresolved-attribute - Attribute `__globals__` is not defined on `(...) -> Coroutine[Any, Any, Unknown]` in union `((...) -> Coroutine[Any, Any, Unknown]) | Unknown`
[error] unresolved-attribute - Attribute `__globals__` is not defined on `(GroupT@Command, Interaction[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]`, `(Interaction[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]` in union `((GroupT@Command, Interaction[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Interaction[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | Unknown`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Unknown]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((GroupT@decorator, Interaction[Any], /, *args: P@decorator.args, **kwargs: P@decorator.kwargs) -> Coroutine[Any, Any, T@decorator]) | ((Interaction[Any], /, *args: P@decorator.args, **kwargs: P@decorator.kwargs) -> Coroutine[Any, Any, T@decorator])` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Unknown]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((GroupT@decorator, Interaction[Any], /, *args: P@decorator.args, **kwargs: P@decorator.kwargs) -> Coroutine[Any, Any, T@decorator]) | ((Interaction[Any], /, *args: P@decorator.args, **kwargs: P@decorator.kwargs) -> Coroutine[Any, Any, T@decorator])` has no attribute `__name__`

discord/app_commands/errors.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Unknown]` has no attribute `__qualname__`
[error] unresolved-attribute - Object of type `Top[(...) -> Coroutine[Any, Any, object]]` has no attribute `__qualname__`

discord/app_commands/tree.py

[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] invalid-type-arguments - Too many type arguments: expected 1, got 3
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Unknown]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((Group, Interaction[Any], /, *args: P@decorator.args, **kwargs: P@decorator.kwargs) -> Coroutine[Any, Any, T@decorator]) | ((Interaction[Any], /, *args: P@decorator.args, **kwargs: P@decorator.kwargs) -> Coroutine[Any, Any, T@decorator])` has no attribute `__name__`

discord/ext/commands/bot.py

[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4

discord/ext/commands/cog.py

[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, Any]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((Self@__new__, Context[Any], /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any]) | ((Context[Any], /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, Any])` has no attribute `__name__`

discord/ext/commands/core.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__commands_checks__`
[error] unresolved-attribute - Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__commands_checks__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__commands_cooldown__`
[error] unresolved-attribute - Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__commands_cooldown__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__commands_max_concurrency__`
[error] unresolved-attribute - Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__commands_max_concurrency__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__before_invoke__`
[error] unresolved-attribute - Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__before_invoke__`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, T@Command]` has no attribute `__after_invoke__`
[error] unresolved-attribute - Object of type `((CogT@Command, Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command]) | ((Context[Any], /, *args: P@Command.args, **kwargs: P@Command.kwargs) -> Coroutine[Any, Any, T@Command])` has no attribute `__after_invoke__`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: Command[Any, (...), Any] | ((...) -> Coroutine[Any, Any, Any])) -> Command[Any, (...), Any] | ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: (...) -> Coroutine[Any, Any, Any]) -> ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: Command[Any, (...), Any] | ((...) -> Coroutine[Any, Any, Any])) -> Command[Any, (...), Any] | ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: (...) -> Coroutine[Any, Any, Any]) -> ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])) -> Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: (...) -> Coroutine[Any, Any, Any]) -> ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])) -> Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: (...) -> Coroutine[Any, Any, Any]) -> ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])) -> Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: (...) -> Coroutine[Any, Any, Any]) -> ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])) -> Command[Unknown, (...), Unknown] | ((...) -> Coroutine[Any, Any, Any])`
[error] unresolved-attribute - Unresolved attribute `predicate` on type `def decorator(func: (...) -> Coroutine[Any, Any, Any]) -> ((...) -> Coroutine[Any, Any, Any])`

discord/ext/commands/hybrid.py

[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] invalid-type-arguments - Too many type arguments: expected 1, got 4
[error] unresolved-attribute - Unresolved attribute `__signature__` on type `(...) -> Coroutine[Any, Any, T@HybridAppCommand]`
[error] invalid-assignment - Object of type `Signature` is not assignable to attribute `__signature__` on type `((CogT@HybridAppCommand, Context[Any], /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, T@HybridAppCommand]) | ((Context[Any], /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, T@HybridAppCommand])`
[error] unresolved-attribute - Object of type `(...) -> Coroutine[Any, Any, T@HybridAppCommand]` has no attribute `__signature__`
[error] unresolved-attribute - Object of type `((CogT@HybridAppCommand, Context[Any], /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, T@HybridAppCommand]) | ((Context[Any], /, *args: Any, **kwargs: Any) -> Coroutine[Any, Any, T@HybridAppCommand])` has no attribute `__signature__`

django-stubs (https://github.com/typeddjango/django-stubs)

django-stubs/db/models/sql/query.pyi

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

tests/assert_type/utils/test_decorators.py

[error] invalid-argument-type - Argument to function `decorator_from_middleware` is incorrect: Expected `_MiddlewareClass`, found `<class 'CacheMiddleware'>`
[error] invalid-argument-type - Argument to function `decorator_from_middleware_with_args` is incorrect: Expected `_MiddlewareClass`, found `<class 'CacheMiddleware'>`

hydpy (https://github.com/hydpy-dev/hydpy)

hydpy/core/importtools.py

[error] unresolved-attribute - Object of type `(...) -> None` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(TM_contra@TargetParameterUpdater, /, *args: P_@TargetParameterUpdater.args, **kwargs: P_@TargetParameterUpdater.kwargs) -> None` has no attribute `__name__`

ignite (https://github.com/pytorch/ignite)

ignite/handlers/early_stopping.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

ignite/handlers/checkpoint.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

jax (https://github.com/google/jax)

jax/_src/buffer_callback.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _buffer_callback_lowering(ctx: LoweringRuleContext, *args: Any, *, callback, in_tree: Any, out_tree: Any, has_side_effect: bool, input_output_aliases: Sequence[tuple[int, int]], command_buffer_compatible: bool, **_) -> Unknown`

jax/_src/pallas/mosaic/random.py

[error] invalid-argument-type - Argument to function `_make_stateful_sampler` is incorrect: Expected `SampleFn`, found `def bits(key: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements, shape: Sequence[int] = ..., dtype: str | type[Any] | dtype[Any] | SupportsDType | None = None, *, out_sharding=None) -> Array`
[error] invalid-argument-type - Argument to function `_make_stateful_sampler` is incorrect: Expected `SampleFn`, found `def uniform(key: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements, shape: Sequence[int] = ..., dtype: str | type[Any] | dtype[Any] | SupportsDType | None = None, minval: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements = ..., maxval: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements = ..., *, out_sharding=None) -> Array`
[error] invalid-argument-type - Argument to function `_make_stateful_sampler` is incorrect: Expected `SampleFn`, found `def bernoulli(key: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements, p: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements = ..., shape: Sequence[int] | None = None, mode: str = "low", *, out_sharding=None) -> Array`
[error] invalid-argument-type - Argument to function `_make_stateful_sampler` is incorrect: Expected `SampleFn`, found `def normal(key: Array | ndarray[tuple[Any, ...], dtype[Any]] | bool[bool] | ... omitted 4 union elements, shape: Sequence[int] = ..., dtype: str | type[Any] | dtype[Any] | SupportsDType | None = None, *, out_sharding=None) -> Array`

jax/_src/callback.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def pure_callback_lowering(ctx, *args, *, callback: _FlatCallback, sharding: SingleDeviceSharding | None, **params) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def io_callback_lowering(ctx, *args, *, callback, sharding, ordered, **params) -> Unknown`

jax/_src/checkify.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def check_lowering_rule_unsupported(*a, *, debug, **k) -> Unknown`

jax/_src/custom_derivatives.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _custom_jvp_vjp_call_lowering(ctx: LoweringRuleContext, *args, *, call_jaxpr: ClosedJaxpr, **_) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _custom_jvp_vjp_call_lowering(ctx: LoweringRuleContext, *args, *, call_jaxpr: ClosedJaxpr, **_) -> Unknown`

jax/_src/debugging.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def debug_callback_lowering(ctx, *args, *, effect, partitioned, callback, **params) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def debug_callback_lowering(ctx, *args, *, effect, partitioned, callback, **params) -> Unknown`
[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def debug_callback_lowering(ctx, *args, *, effect, partitioned, callback, **params) -> Unknown`

jax/_src/ffi.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def ffi_call_lowering(ctx: LoweringRuleContext, *operands: Unknown, *, target_name: str, has_side_effect: bool, input_layouts: Sequence[Sequence[int]], output_layouts: Sequence[Sequence[int]], input_output_aliases: Sequence[tuple[int, int]], custom_call_api_version: int, legacy_backend_config: str | None, attributes: Sequence[tuple[str, Any]], **_) -> Sequence[Unknown | Sequence[Unknown]]`

jax/_src/lax/control_flow/conditionals.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _cond_lowering(ctx, index, *args, *, branches, **params) -> Unknown`

jax/_src/pallas/core.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def core_map_lowering_rule(ctx: LoweringRuleContext, *args, *, jaxpr, **kwargs) -> Unknown`

jax/_src/pallas/pallas_call.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _pallas_call_lowering(ctx: LoweringRuleContext, *in_nodes, *, interpret: Any, **params) -> Unknown`

jax/experimental/scheduling_groups.py

[error] invalid-argument-type - Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _xla_metadata_call_lowering(ctx, *args, *, jaxpr, **meta) -> Unknown`

manticore (https://github.com/trailofbits/manticore)

tests/native/test_aarch64cpu.py

[error] invalid-method-override - Invalid override of method `assertEqual`: Definition is incompatible with `TestCase.assertEqual`

mkdocs (https://github.com/mkdocs/mkdocs)

mkdocs/plugins.py

[error] unresolved-attribute - Attribute `__get__` is not defined on `(...) -> T@CombinedEvent` in union `Unknown | ((...) -> T@CombinedEvent)`
[error] unresolved-attribute - Attribute `__get__` is not defined on `(Any, /, *args: P@CombinedEvent.args, **kwargs: P@CombinedEvent.kwargs) -> T@CombinedEvent` in union `Unknown | ((Any, /, *args: P@CombinedEvent.args, **kwargs: P@CombinedEvent.kwargs) -> T@CombinedEvent)`

pandas (https://github.com/pandas-dev/pandas)

pandas/core/indexes/accessors.py

[error] invalid-method-override - Invalid override of method `_delegate_property_get`: Definition is incompatible with `PandasDelegate._delegate_property_get`
[error] invalid-method-override - Invalid override of method `_delegate_property_get`: Definition is incompatible with `PandasDelegate._delegate_property_get`

pandas/core/arrays/categorical.py

[error] invalid-method-override - Invalid override of method `_delegate_property_get`: Definition is incompatible with `PandasDelegate._delegate_property_get`
[error] invalid-method-override - Invalid override of method `_delegate_property_set`: Definition is incompatible with `PandasDelegate._delegate_property_set`

pandas/core/arrays/datetimes.py

[error] invalid-method-override - Invalid override of method `_generate_range`: Definition is incompatible with `TimelikeOps._generate_range`

pandas/core/arrays/timedeltas.py

[error] invalid-method-override - Invalid override of method `_generate_range`: Definition is incompatible with `TimelikeOps._generate_range`

pandas/core/frame.py

[error] invalid-method-override - Invalid override of method `cummin`: Definition is incompatible with `NDFrame.cummin`
[error] invalid-method-override - Invalid override of method `cummax`: Definition is incompatible with `NDFrame.cummax`
[error] invalid-method-override - Invalid override of method `cumsum`: Definition is incompatible with `NDFrame.cumsum`
[error] invalid-method-override - Invalid override of method `cumprod`: Definition is incompatible with `NDFrame.cumprod`

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)

pandas-stubs/core/window/ewm.pyi

[warning] unused-ignore-comment - Unused `ty: ignore` directive
[warning] unused-ignore-comment - Unused `ty: ignore` directive

tests/test_styler.py

[error] type-assertion-failure - Type `Unknown` does not match asserted type `Styler`
[error] no-matching-overload - No overload of bound method `apply` matches arguments
[error] type-assertion-failure - Type `Unknown` does not match asserted type `Styler`
[error] invalid-argument-type - Argument to bound method `map` is incorrect: Expected `_MapCallable`, found `def color_negative(v: str | bytes | date | ... omitted 9 union elements, /, color: str) -> str | None`

tests/frame/test_frame.py

[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments

tests/frame/test_groupby.py

[error] type-assertion-failure - Type `Unknown` does not match asserted type `Series[Any]`
[error] no-matching-overload - No overload of bound method `apply` matches arguments
[error] type-assertion-failure - Type `Unknown` does not match asserted type `Series[Any]`
[error] no-matching-overload - No overload of bound method `apply` matches arguments
[error] type-assertion-failure - Type `Unknown` does not match asserted type `DataFrame`
[error] no-matching-overload - No overload of bound method `apply` matches arguments
[error] type-assertion-failure - Type `Unknown` does not match asserted type `DataFrame`
[error] no-matching-overload - No overload of bound method `apply` matches arguments
[error] no-matching-overload - No overload of bound method `apply` matches arguments

tests/series/test_series.py

[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] type-assertion-failure - Type `Unknown` does not match asserted type `Series[int | float]`

tests/test_groupby.py

[error] type-assertion-failure - Type `Unknown` does not match asserted type `DataFrame`
[error] no-matching-overload - No overload of bound method `apply` matches arguments
[error] type-assertion-failure - Type `Unknown` does not match asserted type `DataFrame`
[error] no-matching-overload - No overload of bound method `apply` matches arguments
[error] type-assertion-failure - Type `Unknown` does not match asserted type `DataFrame`
[error] no-matching-overload - No overload of bound method `apply` matches arguments

tests/test_resampler.py

[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments
[error] no-matching-overload - No overload of bound method `pipe` matches arguments

prefect (https://github.com/PrefectHQ/prefect)

src/prefect/cli/_prompts.py

[error] missing-argument - No argument provided for required parameter `**kwargs`

src/prefect/cli/deploy/_actions.py

[error] missing-argument - No argument provided for required parameter `*args`
[error] missing-argument - No argument provided for required parameter `*args`

src/prefect/cli/deploy/_core.py

[error] missing-argument - No argument provided for required parameter `**kwargs`
[error] missing-argument - No argument provided for required parameter `*args`

src/prefect/client/utilities.py

[error] invalid-return-type - Return type does not match returned value: expected `[**P'return](**P'return) -> Coroutine[Any, Any, R]`, found `_Wrapped[(...), Coroutine[Any, Any, R@client_injector], P@wrapper, CoroutineType[Any, Any, R@client_injector]]`

src/prefect/input/actions.py

[error] missing-argument - No argument provided for required parameter `*args`
[error] missing-argument - No argument provided for required parameter `*args`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `str`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `UUID | None`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `str | None`
[error] invalid-argument-type - Argument is incorrect: Expected `(**P'return@client_injector) -> None`, found `def create_flow_run_input(key: str, value: Any, flow_run_id: UUID | None = None, sender: str | None = None) -> None`
[error] invalid-argument-type - Argument is incorrect: Expected `(**P'return@client_injector) -> list[FlowRunInput]`, found `def filter_flow_run_input(key_prefix: str, limit: int = 1, exclude_keys: set[str] | None = None, flow_run_id: UUID | None = None) -> list[FlowRunInput]`
[error] invalid-argument-type - Argument is incorrect: Expected `(**P'return@client_injector) -> Any`, found `def read_flow_run_input(key: str, flow_run_id: UUID | None = None) -> Any`
[error] invalid-argument-type - Argument is incorrect: Expected `(**P'return@client_injector) -> None`, found `def delete_flow_run_input(key: str, flow_run_id: UUID | None = None) -> None`

src/prefect/input/run_input.py

[error] missing-argument - No argument provided for required parameter `*args`
[error] missing-argument - No argument provided for required parameter `*args`
[error] missing-argument - No argument provided for required parameter `*args`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `str`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `dict[str, Any] | Unknown`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `UUID | None`
[error] missing-argument - No argument provided for required parameter `*args`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `str`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `str & ~AlwaysFalsy`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `UUID | None`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.args`, found `str`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `UUID`
[error] missing-argument - No argument provided for required parameter `*args`
[error] missing-argument - No argument provided for required parameter `*args`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `str`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `Literal[1]`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `set[str]`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `UUID`
[error] missing-argument - No argument provided for required parameter `*args`
[error] missing-argument - No argument provided for required parameter `*args`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `str`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `Literal[1]`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `set[str]`
[error] invalid-argument-type - Argument is incorrect: Expected `P'return@client_injector.kwargs`, found `UUID`

src/prefect/runner/runner.py

[error] invalid-argument-type - Argument is incorrect: Expected `FlowRun`, found `Unknown | PrefectClient`
[error] invalid-argument-type - Argument is incorrect: Expected `bool`, found `FlowRun`

src/prefect/server/api/artifacts.py

[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.Artifact`, found `prefect.server.database.orm_models.Artifact`
[error] invalid-return-type - Return type does not match returned value: expected `Artifact`, found `ArtifactCollection`
[error] invalid-return-type - Return type does not match returned value: expected `list[prefect.server.schemas.core.Artifact]`, found `Sequence[prefect.server.database.orm_models.Artifact]`
[error] invalid-return-type - Return type does not match returned value: expected `list[prefect.server.schemas.core.ArtifactCollection]`, found `Sequence[prefect.server.database.orm_models.ArtifactCollection]`

src/prefect/server/api/block_documents.py

[error] invalid-argument-type - Argument is incorrect: Expected `BlockDocumentSort`, found `BlockDocumentSort | None`

src/prefect/server/api/block_schemas.py

[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.BlockSchema`, found `prefect.server.schemas.core.BlockSchema | prefect.server.database.orm_models.BlockSchema`
[error] unresolved-attribute - Attribute `is_protected` is not defined on `None` in union `BlockType | None`

src/prefect/server/api/block_types.py

[error] invalid-argument-type - Argument is incorrect: Expected `prefect.server.schemas.core.BlockType | prefect.client.schemas.objects.BlockType`, found `BlockTypeCreate`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.BlockType`, found `prefect.server.database.orm_models.BlockType | None`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.BlockType`, found `prefect.server.database.orm_models.BlockType & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.BlockType`, found `prefect.server.database.orm_models.BlockType & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `list[prefect.server.schemas.core.BlockType]`, found `Sequence[prefect.server.database.orm_models.BlockType]`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `UUID`
[error] invalid-argument-type - Argument is incorrect: Expected `BlockDocumentFilterBlockTypeId | None`, found `dict[str, list[Unknown]]`
[error] invalid-argument-type - Argument is incorrect: Expected `BlockDocumentFilterBlockTypeId | None`, found `dict[str, list[UUID]]`

src/prefect/server/api/concurrency_limits.py

[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.ConcurrencyLimit`, found `prefect.server.database.orm_models.ConcurrencyLimit & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.ConcurrencyLimit`, found `prefect.server.database.orm_models.ConcurrencyLimit & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `Sequence[prefect.server.schemas.core.ConcurrencyLimit]`, found `list[prefect.server.database.orm_models.ConcurrencyLimit | prefect.server.schemas.core.ConcurrencyLimit]`

src/prefect/server/api/deployments.py

[error] invalid-argument-type - Argument to function `validate_job_variables_for_deployment` is incorrect: Expected `prefect.server.schemas.core.WorkPool`, found `prefect.server.database.orm_models.WorkPool`
[error] unresolved-attribute - Attribute `created` is not defined on `None` in union `Deployment | None`
[error] unresolved-attribute - Attribute `base_job_template` is not defined on `None` in union `WorkPool | None`
[error] invalid-argument-type - Argument is incorrect: Expected `timedelta | None`, found `int | float`
[error] invalid-argument-type - Argument is incorrect: Expected `FlowRun`, found `DeploymentFlowRunCreate`
[error] invalid-return-type - Return type does not match returned value: expected `list[prefect.server.schemas.core.WorkQueue]`, found `Sequence[prefect.server.database.orm_models.WorkQueue]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[str]`, found `set[Unknown | str]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[str]`, found `set[str]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[str]`, found `set[Unknown | str]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[str]`, found `set[str]`

src/prefect/server/api/flow_run_states.py

[error] invalid-return-type - Return type does not match returned value: expected `State`, found `FlowRunState & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `list[State]`, found `Sequence[FlowRunState]`

src/prefect/server/api/flow_runs.py

[error] unresolved-attribute - Attribute `state` is not defined on `None` in union `FlowRun | None`
[error] invalid-argument-type - Argument is incorrect: Expected `State | None`, found `FlowRunState`
[error] unresolved-attribute - Attribute `id` is not defined on `None` in union `FlowRun | None`
[error] invalid-argument-type - Argument is incorrect: Expected `State | None`, found `FlowRunState`
[error] invalid-argument-type - Argument is incorrect: Expected `State | None`, found `FlowRunState`
[error] invalid-argument-type - Argument is incorrect: Expected `State | None`, found `FlowRunState`
[error] invalid-argument-type - Argument is incorrect: Expected `State | None`, found `FlowRunState`

src/prefect/server/api/flows.py

[error] invalid-argument-type - Argument is incorrect: Expected `Flow`, found `FlowCreate`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.Flow`, found `prefect.server.database.orm_models.Flow`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.Flow`, found `prefect.server.database.orm_models.Flow & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.Flow`, found `prefect.server.database.orm_models.Flow & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `list[prefect.server.schemas.core.Flow]`, found `Sequence[prefect.server.database.orm_models.Flow]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[prefect.server.schemas.core.Flow]`, found `Sequence[prefect.server.database.orm_models.Flow]`

src/prefect/server/api/saved_searches.py

[error] invalid-argument-type - Argument is incorrect: Expected `SavedSearch`, found `SavedSearchCreate`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.SavedSearch`, found `prefect.server.database.orm_models.SavedSearch`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.SavedSearch`, found `prefect.server.database.orm_models.SavedSearch & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `list[prefect.server.schemas.core.SavedSearch]`, found `Sequence[prefect.server.database.orm_models.SavedSearch]`

src/prefect/server/api/task_run_states.py

[error] invalid-return-type - Return type does not match returned value: expected `State`, found `TaskRunState & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `list[State]`, found `Sequence[TaskRunState]`

src/prefect/server/api/task_runs.py

[error] invalid-argument-type - Argument is incorrect: Expected `TaskRun`, found `TaskRunCreate`
[error] invalid-return-type - Return type does not match returned value: expected `prefect.server.schemas.core.TaskRun`, found `prefect.server.database.orm_models.TaskRun & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `list[prefect.server.schemas.core.TaskRun]`, found `Sequence[prefect.server.database.orm_models.TaskRun]`

src/prefect/server/api/ui/flow_runs.py

[error] invalid-argument-type - Argument is incorrect: Expected `list[str] | None`, found `list[InstrumentedAttribute[UUID] | InstrumentedAttribute[StateType | None] | InstrumentedAttribute[Unknown | None] | InstrumentedAttribute[timedelta]]`
[error] invalid-argument-type - Argument is incorrect: Expected `StateType`, found `StateType | None`

src/prefect/server/api/variables.py

[error] invalid-return-type - Return type does not match returned value: expected `list[prefect.server.schemas.core.Variable]`, found `Sequence[prefect.server.database.orm_models.Variable]`

src/prefect/server/api/work_queues.py

[error] invalid-return-type - Return type does not match returned value: expected `list[FlowRunResponse]`, found `Sequence[FlowRun]`
[error] invalid-return-type - Return type does not match returned value: expected `list[FlowRunResponse]`, found `Sequence[FlowRun]`

src/prefect/server/api/workers.py

[error] invalid-return-type - Return type does not match returned value: expected `list[WorkerFlowRunResponse]`, found `Sequence[WorkerFlowRunResponse]`
[error] invalid-return-type - Return type does not match returned value: expected `list[WorkerResponse]`, found `Sequence[Worker]`

src/prefect/server/database/_migrations/env.py

[error] invalid-argument-type - Argument to bound method `run_sync` is incorrect: Expected `(Connection, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def do_run_migrations(connection: AsyncEngine) -> None`

src/prefect/server/events/triggers.py

[error] invalid-argument-type - Argument is incorrect: Expected `tuple[str, ...]`, found `list[str]`

src/prefect/server/models/flow_runs.py

[error] invalid-argument-type - Argument is incorrect: Expected `list[TaskRunResult]`, found `list[TaskRunResult | FlowRunResult | Parameter | Constant]`
[error] invalid-argument-type - Argument is incorrect: Expected `State | None`, found `TaskRunState | None`

src/prefect/server/models/work_queues.py

[error] invalid-argument-type - Argument is incorrect: Expected `uuid.UUID | prefect.server.utilities.database.UUID`, found `uuid.UUID | None`
[error] invalid-argument-type - Argument is incorrect: Expected `uuid.UUID | prefect.server.utilities.database.UUID`, found `uuid.UUID | None`

src/prefect/server/orchestration/core_policy.py

[error] invalid-argument-type - Argument is incorrect: Expected `list[UUID]`, found `list[UUID | None]`
[error] invalid-argument-type - Argument to bound method `create_lease` is incorrect: Expected `list[UUID]`, found `list[UUID | None]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[UUID]`, found `list[UUID | None]`

src/prefect/server/services/task_run_recorder.py

[error] invalid-argument-type - Argument is incorrect: Expected `list[TaskRun]`, found `list[TaskRun | dict[str, Any] | ReceivedEvent]`

src/integrations/prefect-docker/tests/test_containers.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-docker/tests/test_images.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/prefect_kubernetes/jobs.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_custom_objects.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_deployments.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_jobs.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_pods.py

flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable
flaky
(1/10)
[error] invalid-await - `object` is not awaitable

src/prefect/utilities/_engine.py

flaky
(1/10)
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `object`

pytest-robotframework (https://github.com/detachhead/pytest-robotframework)

pytest_robotframework/_internal/utils.py

[error] invalid-return-type - Return type does not match returned value: expected `[**P'return](**P'return) -> T`, found `_Wrapped[(...), T@decorator, P@new_fn, T@decorator]`

schemathesis (https://github.com/schemathesis/schemathesis)

src/schemathesis/specs/graphql/schemas.py

[error] missing-argument - No argument provided for required parameter `*args`

src/schemathesis/specs/openapi/_hypothesis.py

[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`
[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`

src/schemathesis/specs/openapi/adapter/parameters.py

[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`
[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`
[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`
[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`
[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`
[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`

src/schemathesis/specs/openapi/examples.py

[error] missing-argument - No argument provided for required parameter `*args`

src/schemathesis/specs/openapi/negative/__init__.py

[error] missing-argument - No argument provided for required parameter `*args`
[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`

src/schemathesis/specs/openapi/schemas.py

[error] missing-argument - No argument provided for required parameter `*args`

src/schemathesis/specs/openapi/stateful/__init__.py

[error] missing-argument - No arguments provided for required parameters `*args`, `**kwargs`
[error] missing-argument - No argument provided for required parameter `*args`

scikit-learn (https://github.com/scikit-learn/scikit-learn)

sklearn/_loss/tests/test_loss.py

[error] no-matching-overload - No overload of function `newton` matches arguments

scipy (https://github.com/scipy/scipy)

scipy/_build_utils/tempita/_tempita.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(type[Unknown], /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def from_filename(cls, filename, namespace=None, encoding=None, default_inherit=None, get_template=...) -> Unknown`

scipy/stats/_distribution_infrastructure.py

[error] invalid-method-override - Invalid override of method `_logpxf_dispatch`: Definition is incompatible with `ContinuousDistribution._logpxf_dispatch`
[error] invalid-method-override - Invalid override of method `_pxf_dispatch`: Definition is incompatible with `ContinuousDistribution._pxf_dispatch`
[error] invalid-method-override - Invalid override of method `_support`: Definition is incompatible with `UnivariateDistribution._support`

scipy-stubs (https://github.com/scipy/scipy-stubs)

tests/differentiate/test_differentiate.pyi

[error] type-assertion-failure - Type `_DerivativeResult0D[float64]` does not match asserted type `_DerivativeResult0D[floating[_32Bit]]`

tests/optimize/test__minpack_py.pyi

[error] type-assertion-failure - Type `complex128` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `complex128` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `complex128` does not match asserted type `Unknown`

tests/integrate/test_quad_vec.pyi

[error] type-assertion-failure - Type `tuple[Unknown, int | float]` does not match asserted type `tuple[float64, int | float]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `float64`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[Unknown, int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[Unknown, int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[Unknown, int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[Unknown, int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[Unknown, int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `Unknown`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[int | float, int | float]`
[error] type-assertion-failure - Type `tuple[Unknown, int | float]` does not match asserted type `tuple[int | float, int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `int | float`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `int | float`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[int | float | complex, int | float]`
[error] type-assertion-failure - Type `tuple[Unknown, int | float]` does not match asserted type `tuple[int | float | complex, int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `int | float | complex`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `int | float | complex`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[floating[_32Bit], int | float]`
[error] type-assertion-failure - Type `tuple[Unknown, int | float]` does not match asserted type `tuple[floating[_32Bit], int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `floating[_32Bit]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `floating[_32Bit]`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[complexfloating[_32Bit, _32Bit], int | float]`
[error] type-assertion-failure - Type `tuple[Unknown, int | float]` does not match asserted type `tuple[complexfloating[_32Bit, _32Bit], int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `complexfloating[_32Bit, _32Bit]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `complexfloating[_32Bit, _32Bit]`
[error] type-assertion-failure - Type `tuple[float64, int | float]` does not match asserted type `tuple[complex128, int | float]`
[error] type-assertion-failure - Type `tuple[Unknown, int | float]` does not match asserted type `tuple[complex128, int | float]`
[error] type-assertion-failure - Type `float64` does not match asserted type `complex128`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `complex128`

scrapy (https://github.com/scrapy/scrapy)

scrapy/middleware.py

[error] invalid-argument-type - Argument is incorrect: Expected `_P@methods.args`, found `Spider`

scrapy/utils/python.py

[error] unbound-type-variable - Type variable `_SelfT` is not bound to any outer generic context

tests/test_contracts.py

[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMetaMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `<class 'ResponseMetaMock'>`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMetaMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`
[error] invalid-argument-type - Argument is incorrect: Expected `Response`, found `ResponseMock`

tests/test_crawler.py

[error] invalid-method-override - Invalid override of method `from_crawler`: Definition is incompatible with `Spider.from_crawler`
[error] invalid-method-override - Invalid override of method `from_crawler`: Definition is incompatible with `Spider.from_crawler`
[error] invalid-method-override - Invalid override of method `from_crawler`: Definition is incompatible with `Spider.from_crawler`
[error] invalid-method-override - Invalid override of method `from_crawler`: Definition is incompatible with `Spider.from_crawler`
[error] invalid-method-override - Invalid override of method `from_crawler`: Definition is incompatible with `Spider.from_crawler`
[error] invalid-method-override - Invalid override of method `from_crawler`: Definition is incompatible with `Spider.from_crawler`
[error] invalid-method-override - Invalid override of method `from_crawler`: Definition is incompatible with `Spider.from_crawler`
[error] invalid-method-override - Invalid override of method `from_crawler`: Definition is incompatible with `Spider.from_crawler`

tests/test_downloadermiddleware_offsite.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((Response, /, *args: Any, **kwargs: Any) -> Any) | None`, found `dict[Unknown, Unknown]`

tests/test_http_request.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((Response, /, *args: Any, **kwargs: Any) -> Any) | None`, found `def somecallback() -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((Response, /, *args: Any, **kwargs: Any) -> Any) | None`, found `def a_function() -> Unknown`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((Response, /, *args: Any, **kwargs: Any) -> Any) | None`, found `Literal["a_function"]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((Response, /, *args: Any, **kwargs: Any) -> Any) | None`, found `Literal["a_function"]`

tests/test_request_dict.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((Response, /, *args: Any, **kwargs: Any) -> Any) | None`, found `Unknown | (bound method MethodsSpider.parse_item() -> Unknown)`

spack (https://github.com/spack/spack)

lib/spack/spack/vendor/jsonschema/_format.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(type[Unknown], /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def checks(self, format, raises=...) -> Unknown`

lib/spack/spack/vendor/macholib/MachOStandalone.py

[error] invalid-method-override - Invalid override of method `createNode`: Definition is incompatible with `ObjectGraph.createNode`

starlette (https://github.com/encode/starlette)

starlette/applications.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ServerErrorMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ExceptionMiddleware'>`

tests/middleware/test_cors.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CORSMiddleware'>`

tests/middleware/test_https_redirect.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'HTTPSRedirectMiddleware'>`

tests/middleware/test_middleware.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CustomMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CustomMiddleware'>`

tests/middleware/test_session.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SessionMiddleware'>`

tests/middleware/test_trusted_host.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'TrustedHostMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'TrustedHostMiddleware'>`

tests/middleware/test_base.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CustomMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'aMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'bMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'cMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CustomMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CustomMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'BaseHTTPMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'BaseHTTPMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'BaseHTTPMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'BaseHTTPMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'BaseHTTPMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ContextManagerMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ConsumingMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ConsumingMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ConsumingMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ConsumingMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ConsumingMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ConsumingMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ConsumingMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'ConsumingMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'MyMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'BaseHTTPMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'PassthroughMiddleware'>`

tests/middleware/test_gzip.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'GZipMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'GZipMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'GZipMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'GZipMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'GZipMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'GZipMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'GZipMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'GZipMiddleware'>`

tests/test_applications.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'TrustedHostMiddleware'>`
[error] invalid-argument-type - Argument to bound method `add_middleware` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'SimpleInitializableMiddleware'>`
[error] invalid-argument-type - Argument to bound method `add_middleware` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'NoOpMiddleware'>`
[error] invalid-argument-type - Argument to bound method `add_middleware` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'MiddlewareWithArgs'>`
[error] invalid-argument-type - Argument to bound method `add_middleware` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'MiddlewareWithArgs'>`
[error] invalid-argument-type - Argument to bound method `add_middleware` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `def _middleware_factory(app: (MutableMapping[str, Any], () -> Awaitable[MutableMapping[str, Any]], (MutableMapping[str, Any], /) -> Awaitable[None], /) -> Awaitable[None], arg: str) -> ((MutableMapping[str, Any], () -> Awaitable[MutableMapping[str, Any]], (MutableMapping[str, Any], /) -> Awaitable[None], /) -> Awaitable[None])`
[error] invalid-argument-type - Argument to bound method `add_middleware` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `((MutableMapping[str, Any], () -> Awaitable[MutableMapping[str, Any]], (MutableMapping[str, Any], /) -> Awaitable[None], /) -> Awaitable[None], str, /) -> ((MutableMapping[str, Any], () -> Awaitable[MutableMapping[str, Any]], (MutableMapping[str, Any], /) -> Awaitable[None], /) -> Awaitable[None])`

tests/test_authentication.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'AuthenticationMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'AuthenticationMiddleware'>`

tests/test_requests.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CustomMiddleware'>`

tests/test_routing.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CustomMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'AddHeadersMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'AddHeadersMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'AddHeadersMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'NamedMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'NamedMiddleware'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'WebsocketMiddleware'>`

tests/test_staticfiles.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'BaseHTTPMiddleware'>`

tests/test_templates.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'CustomMiddleware'>`

tests/test_testclient.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `_MiddlewareFactory[(...)]`, found `<class 'BrokenMiddleware'>`

svcs (https://github.com/hynek/svcs)

tests/typing/starlette.py

[warning] unused-ignore-comment - Unused `ty: ignore` directive

sympy (https://github.com/sympy/sympy)

sympy/core/numbers.py

[error] invalid-method-override - Invalid override of method `invert`: Definition is incompatible with `Expr.invert`

sympy/physics/control/lti.py

[error] invalid-method-override - Invalid override of method `from_rational_expression`: Definition is incompatible with `TransferFunctionBase.from_rational_expression`
[error] invalid-method-override - Invalid override of method `from_coeff_lists`: Definition is incompatible with `TransferFunctionBase.from_coeff_lists`
[error] invalid-method-override - Invalid override of method `from_zpk`: Definition is incompatible with `TransferFunctionBase.from_zpk`
[error] invalid-method-override - Invalid override of method `from_rational_expression`: Definition is incompatible with `TransferFunctionBase.from_rational_expression`
[error] invalid-method-override - Invalid override of method `from_coeff_lists`: Definition is incompatible with `TransferFunctionBase.from_coeff_lists`
[error] invalid-method-override - Invalid override of method `from_zpk`: Definition is incompatible with `TransferFunctionBase.from_zpk`

sympy/vector/basisdependent.py

[error] invalid-method-override - Invalid override of method `_new_rawargs`: Definition is incompatible with `AssocOp._new_rawargs`

trio (https://github.com/python-trio/trio)

src/trio/_path.py

[error] unresolved-attribute - Object of type `(...) -> Iterable[Path]` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(Path, /, *args: P@_wrap_method_path_iterable.args, **kwargs: P@_wrap_method_path_iterable.kwargs) -> Iterable[Path]` has no attribute `__name__`

src/trio/_socket.py

[error] missing-argument - No argument provided for required parameter 1
[error] invalid-argument-type - Argument to bound method `_nonblocking_helper` is incorrect: Expected `Buffer`, found `object`
[error] invalid-argument-type - Argument to bound method `_nonblocking_helper` is incorrect: Expected `tuple[Any, ...] | str | Buffer`, found `object`
[error] unresolved-attribute - Object of type `(...) -> T@_make_simple_sock_method_wrapper` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(socket, /, *args: P@_make_simple_sock_method_wrapper.args, **kwargs: P@_make_simple_sock_method_wrapper.kwargs) -> T@_make_simple_sock_method_wrapper` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> T@_make_simple_sock_method_wrapper` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(socket, /, *args: P@_make_simple_sock_method_wrapper.args, **kwargs: P@_make_simple_sock_method_wrapper.kwargs) -> T@_make_simple_sock_method_wrapper` has no attribute `__name__`
[error] invalid-assignment - Object of type `(...) -> Awaitable[bytes]` is not assignable to `def recv(self, buflen: int, flags: int = 0, /) -> Awaitable[bytes]`
[error] invalid-assignment - Object of type `(_SocketType, bufsize: int, flags: int = 0, /) -> Awaitable[bytes]` is not assignable to `def recv(self, buflen: int, flags: int = 0, /) -> Awaitable[bytes]`
[error] invalid-assignment - Object of type `(...) -> Awaitable[int]` is not assignable to `def recv_into(self, /, buffer: Buffer, nbytes: int = 0, flags: int = 0) -> Awaitable[int]`
[error] invalid-assignment - Object of type `(_SocketType, /, buffer: Buffer, nbytes: int = 0, flags: int = 0) -> Awaitable[int]` is not assignable to `def recv_into(self, /, buffer: Buffer, nbytes: int = 0, flags: int = 0) -> Awaitable[int]`
[error] invalid-assignment - Object of type `(...) -> Awaitable[tuple[bytes, Any]]` is not assignable to `def recvfrom(self, bufsize: int, flags: int = 0, /) -> Awaitable[tuple[bytes, Any]]`
[error] invalid-assignment - Object of type `(_SocketType, bufsize: int, flags: int = 0, /) -> Awaitable[tuple[bytes, Any]]` is not assignable to `def recvfrom(self, bufsize: int, flags: int = 0, /) -> Awaitable[tuple[bytes, Any]]`
[error] invalid-assignment - Object of type `(...) -> Awaitable[tuple[int, Any]]` is not assignable to `def recvfrom_into(self, /, buffer: Buffer, nbytes: int = 0, flags: int = 0) -> Awaitable[tuple[int, Any]]`
[error] invalid-assignment - Object of type `(_SocketType, /, buffer: Buffer, nbytes: int = 0, flags: int = 0) -> Awaitable[tuple[int, Any]]` is not assignable to `def recvfrom_into(self, /, buffer: Buffer, nbytes: int = 0, flags: int = 0) -> Awaitable[tuple[int, Any]]`
[error] invalid-assignment - Object of type `(...) -> Awaitable[tuple[bytes, list[tuple[int, int, bytes]], int, Any]]` is not assignable to `def recvmsg(self, bufsize: int, ancbufsize: int = 0, flags: int = 0, /) -> Awaitable[tuple[bytes, list[tuple[int, int, bytes]], int, object]]`
[error] invalid-assignment - Object of type `(_SocketType, bufsize: int, ancbufsize: int = 0, flags: int = 0, /) -> Awaitable[tuple[bytes, list[tuple[int, int, bytes]], int, Any]]` is not assignable to `def recvmsg(self, bufsize: int, ancbufsize: int = 0, flags: int = 0, /) -> Awaitable[tuple[bytes, list[tuple[int, int, bytes]], int, object]]`
[error] invalid-assignment - Object of type `(...) -> Awaitable[tuple[int, list[tuple[int, int, bytes]], int, Any]]` is not assignable to `def recvmsg_into(self, buffers: Iterable[Buffer], ancbufsize: int = 0, flags: int = 0, /) -> Awaitable[tuple[int, list[tuple[int, int, bytes]], int, object]]`
[error] invalid-assignment - Object of type `(_SocketType, buffers: Iterable[Buffer], ancbufsize: int = 0, flags: int = 0, /) -> Awaitable[tuple[int, list[tuple[int, int, bytes]], int, Any]]` is not assignable to `def recvmsg_into(self, buffers: Iterable[Buffer], ancbufsize: int = 0, flags: int = 0, /) -> Awaitable[tuple[int, list[tuple[int, int, bytes]], int, object]]`
[error] invalid-assignment - Object of type `(...) -> Awaitable[int]` is not assignable to `def send(self, bytes: Buffer, flags: int = 0, /) -> Awaitable[int]`
[error] invalid-assignment - Object of type `(_SocketType, data: Buffer, flags: int = 0, /) -> Awaitable[int]` is not assignable to `def send(self, bytes: Buffer, flags: int = 0, /) -> Awaitable[int]`

src/trio/_tests/test_path.py

[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter `data`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal[b""]`
[error] missing-argument - No argument provided for required parameter `data`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal[b""]`
[error] missing-argument - No argument provided for required parameter `data`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal[b""]`
[error] missing-argument - No argument provided for required parameter `pattern`
[error] invalid-argument-type - Argument is incorrect: Argument type `str` does not satisfy upper bound `Path` of type variable `PathT'return`
[error] missing-argument - No argument provided for required parameter `pattern`
[error] invalid-argument-type - Argument is incorrect: Argument type `Literal["*.txt"]` does not satisfy upper bound `Path` of type variable `PathT'return`
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter `data`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal[b""]`
[error] missing-argument - No argument provided for required parameter 1
[error] unresolved-attribute - Attribute `__name__` is not defined on `[PathT'return](...) -> Awaitable[PathT'return]` in union `Unknown | ([PathT'return](...) -> Awaitable[PathT'return])`
[error] unresolved-attribute - Attribute `__name__` is not defined on `[PathT'return](PathT'return, /, strict: bool = False) -> Awaitable[PathT'return]` in union `Unknown | ([PathT'return](PathT'return, /, strict: bool = False) -> Awaitable[PathT'return])`
[error] unresolved-attribute - Attribute `__qualname__` is not defined on `[PathT'return](...) -> Awaitable[PathT'return]` in union `Unknown | ([PathT'return](...) -> Awaitable[PathT'return])`
[error] unresolved-attribute - Attribute `__qualname__` is not defined on `[PathT'return](PathT'return, /, strict: bool = False) -> Awaitable[PathT'return]` in union `Unknown | ([PathT'return](PathT'return, /, strict: bool = False) -> Awaitable[PathT'return])`
[error] unresolved-attribute - Attribute `__qualname__` is not defined on `[PathT'return](...) -> Awaitable[PathT'return]` in union `Unknown | ([PathT'return](...) -> Awaitable[PathT'return])`
[error] unresolved-attribute - Attribute `__qualname__` is not defined on `[PathT'return](PathT'return, /, strict: bool = False) -> Awaitable[PathT'return]` in union `Unknown | ([PathT'return](PathT'return, /, strict: bool = False) -> Awaitable[PathT'return])`

src/trio/_tests/type_tests/path.py

[error] missing-argument - No argument provided for required parameter `pattern`
[error] invalid-argument-type - Argument is incorrect: Argument type `Literal["*.py"]` does not satisfy upper bound `Path` of type variable `PathT'return`
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter `pattern`
[error] invalid-argument-type - Argument is incorrect: Argument type `Literal["*.py"]` does not satisfy upper bound `Path` of type variable `PathT'return`
[error] missing-argument - No argument provided for required parameter `pattern`
[error] invalid-argument-type - Argument is incorrect: Argument type `Literal["*.py"]` does not satisfy upper bound `Path` of type variable `PathT'return`
[error] missing-argument - No argument provided for required parameter `data`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal["hello"]`
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter `mode`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal[511]`
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter `mode`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal[73]`
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter `target`
[error] invalid-argument-type - Argument is incorrect: Argument type `Literal["another"]` does not satisfy upper bound `Path` of type variable `PathT'return`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `Path`
[error] type-assertion-failure - Type `Unknown | Path` does not match asserted type `Path`
[error] missing-argument - No argument provided for required parameter `target`
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter `other_path`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal["something_else"]`
[error] missing-argument - No argument provided for required parameter `target`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal["somewhere"]`
[error] missing-argument - No argument provided for required parameter `target`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal["elsewhere"]`
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter 1
[error] missing-argument - No argument provided for required parameter `data`
[error] invalid-argument-type - Argument is incorrect: Expected `Path`, found `Literal[b"123"]`

websockets (https://github.com/aaugustin/websockets)

src/websockets/legacy/auth.py

[warning] redundant-cast - Value is already of type `(...) -> BasicAuthWebSocketServerProtocol`

xarray (https://github.com/pydata/xarray)

xarray/backends/memory.py

[error] invalid-method-override - Invalid override of method `prepare_variable`: Definition is incompatible with `AbstractWritableDataStore.prepare_variable`

zulip (https://github.com/zulip/zulip)

zerver/tests/test_parallel.py

[error] invalid-argument-type - Argument to function `run_parallel` is incorrect: Expected `(int, /) -> None`, found `[**P'return](**P'return) -> None`
[error] invalid-argument-type - Argument to function `run_parallel` is incorrect: Expected `(int, /) -> None`, found `[**P'return](**P'return) -> None`
[error] invalid-argument-type - Argument to function `run_parallel` is incorrect: Expected `(int, /) -> None`, found `[**P'return](**P'return) -> None`
[error] invalid-argument-type - Argument to function `run_parallel` is incorrect: Expected `(int, /) -> None`, found `[**P'return](**P'return) -> None`

zerver/decorator.py

[error] invalid-argument-type - Argument is incorrect: Expected `UserProfile | AnonymousUser`, found `AbstractBaseUser | AnonymousUser`
[error] invalid-argument-type - Argument is incorrect: Expected `UserProfile`, found `AbstractBaseUser | AnonymousUser`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] unresolved-attribute - Object of type `(...) -> HttpResponse` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(HttpRequest, /, *args: ParamT@log_view_func.args, **kwargs: ParamT@log_view_func.kwargs) -> HttpResponse` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> HttpResponse` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(HttpRequest, /, *args: ParamT@add_logging_data.args, **kwargs: ParamT@add_logging_data.kwargs) -> HttpResponse` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> HttpResponse` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(HttpRequest, UserProfile | AnonymousUser, /, *args: ParamT@public_json_view.args, **kwargs: ParamT@public_json_view.kwargs) -> HttpResponse` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> HttpResponse` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(HttpRequest, UserProfile, /, *args: ParamT@authenticated_json_view.args, **kwargs: ParamT@authenticated_json_view.kwargs) -> HttpResponse` has no attribute `__name__`

zerver/lib/import_realm.py

[error] invalid-argument-type - Argument to function `run_parallel` is incorrect: Expected `(dict[str, Any], /) -> None`, found `(def process_avatars(record: dict[str, Any]) -> None) | ([**P'return](**P'return) -> None)`

zerver/lib/parallel.py

[error] missing-argument - No argument provided for required parameter `**kwargs`
[error] invalid-argument-type - Argument to bound method `submit` is incorrect: Expected `(**P'return@partial) -> None`, found `([**P'return](**P'return) -> None) | ((ParallelRecordType@run_parallel_queue, /) -> None)`
[error] invalid-argument-type - Argument to bound method `submit` is incorrect: Expected `P'return@partial.args`, found `ParallelRecordType@run_parallel_queue`

zerver/lib/rest.py

[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(...) -> HttpResponse`
[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(HttpRequest, /, *args: Any, **kwargs: Any) -> HttpResponse`
[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(...) -> HttpResponse`
[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(HttpRequest, /, *args: Any, **kwargs: Any) -> HttpResponse`
[error] invalid-argument-type - Argument to function `process_as_post` is incorrect: Expected `(...) -> HttpResponse`, found `((...) -> HttpResponse) | TypeVar`
[error] invalid-argument-type - Argument to function `process_as_post` is incorrect: Expected `(HttpRequest, /, *args: Unknown, **kwargs: Unknown) -> HttpResponse`, found `((HttpRequest, /, *args: Any, **kwargs: Any) -> HttpResponse) | TypeVar`

zerver/lib/test_runner.py

[error] invalid-argument-type - Argument to function `process_instrumented_calls` is incorrect: Expected `(dict[str, Any], /) -> None`, found `[**P'return](**P'return) -> Any`

zerver/lib/typed_endpoint.py

[error] unresolved-attribute - Object of type `(...) -> object` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(HttpRequest, /, *args: ParamT@parse_view_func_signature.args, **kwargs: ParamT@parse_view_func_signature.kwargs) -> object` has no attribute `__name__`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `object` on object of type `ParamT@_wrapped_view_func.kwargs`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `object` on object of type `ParamT@typed_endpoint.kwargs`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `object` on object of type `ParamT@_wrapped_view_func.kwargs`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `object` on object of type `ParamT@typed_endpoint.kwargs`

zerver/tests/test_event_queue.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

zerver/views/report.py

[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(...) -> HttpResponse`
[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(HttpRequest, *, /, csp_report: Unknown) -> HttpResponse`

zerver/views/video_calls.py

[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(...) -> HttpResponse`
[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(HttpRequest, /) -> HttpResponse`

zerver/webhooks/bitbucket/view.py

[error] invalid-assignment - Object of type `dict[str, BodyGetter | ([**P'return](**P'return) -> str)]` is not assignable to `dict[str, BodyGetter]`

zerver/webhooks/github/view.py

[error] invalid-assignment - Object of type `dict[str, ((Helper, /) -> str) | ([**P'return](**P'return) -> str)]` is not assignable to `dict[str, (Helper, /) -> str]`

zerver/webhooks/gitlab/view.py

[error] invalid-assignment - Object of type `dict[str, EventFunction | ([**P'return](**P'return) -> str)]` is not assignable to `dict[str, EventFunction]`

zerver/webhooks/groove/view.py

[error] invalid-assignment - Object of type `dict[str, ((WildValue, /) -> str | None) | ([**P'return](**P'return) -> str)]` is not assignable to `dict[str, (WildValue, /) -> str | None]`

zerver/webhooks/shortcut/view.py

[error] invalid-assignment - Object of type `dict[str, ((WildValue, WildValue, /) -> str | None) | ([**P'return](**P'return) -> str)]` is not assignable to `dict[str, (WildValue, WildValue, /) -> str | None]`
[error] invalid-assignment - Object of type `dict[str, ((WildValue, WildValue, /) -> str | None) | ([**P'return](**P'return) -> str | None)]` is not assignable to `dict[str, (WildValue, WildValue, /) -> str | None]`
[error] invalid-assignment - Object of type `dict[str, ((WildValue, /) -> Iterator[WildValue]) | ([**P'return](**P'return) -> Iterator[WildValue])]` is not assignable to `dict[str, (WildValue, /) -> Iterator[WildValue]]`

zerver/worker/base.py

[error] invalid-argument-type - Argument to function `signal` is incorrect: Expected `((int, FrameType | None, /) -> Any) | int | None`, found `[**P'return](**P'return) -> None`

zilencer/management/commands/profile_request.py

[error] invalid-argument-type - Argument to bound method `runcall` is incorrect: Expected `UserProfile | AnonymousUser`, found `AbstractBaseUser | AnonymousUser`