Ecosystem report

Old: main (merge base) 1f380c82 New: 23119/merge 605fc420
Lint Rule Removed Added Changed
Total 225 355 131
invalid-argument-type 114 219 8
missing-argument 31 49 0
unresolved-attribute 1 5 65
invalid-return-type 2 47 6
no-matching-overload 10 24 0
invalid-context-manager 0 0 32
type-assertion-failure 18 3 11
invalid-type-arguments 24 0 0
invalid-assignment 8 3 9
unused-type-ignore-comment 17 0 0
too-many-positional-arguments 0 4 0
unused-ignore-comment 0 1 0
Project Removed Added Changed
Total 225 355 131
prefect flaky 39 64 3
Expression flaky 0 102 0
trio 0 68 14
starlette 81 0 0
core flaky 0 37 43
discord.py 31 3 14
altair 3 3 33
pandas-stubs flaky 16 22 0
zulip 19 4 12
scrapy 2 25 0
scipy-stubs 10 2 10
schemathesis 15 0 0
Tanjun 1 9 0
antidote 6 2 0
asynq 1 4 0
mypy 0 2 0
pytest-robotframework 1 1 0
scikit-learn flaky 0 2 0
async-utils 0 1 0
hydpy 0 0 1

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

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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> bool`, found `def contains_key[_Key](table: Map[_Key, Any], key: _Key) -> bool`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def find[_Key, _Value](table: Map[_Key, _Value], key: _Key) -> _Value`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def try_pick[_Key, _Value, _Result](table: Map[_Key, _Value], chooser: (_Key, _Value, /) -> Option[_Result]) -> Option[_Result]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def pick[_Key, _Value, _Result](table: Map[_Key, _Value], chooser: (_Key, _Value, /) -> Option[_Result]) -> _Result`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> bool`, found `def exists[_Key, _Value](table: Map[_Key, _Value], predicate: (_Key, _Value, /) -> bool) -> bool`
[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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> bool`, found `def for_all[_Key, _Value](table: Map[_Key, _Value], predicate: (_Key, _Value, /) -> bool) -> bool`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def fold[_Key, _Value, _Result](table: Map[_Key, _Value], folder: (_Result, tuple[_Key, _Value], /) -> _Result, state: _Result) -> _Result`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def partition[_Key, _Value](table: Map[_Key, _Value], predicate: (_Key, _Value, /) -> bool) -> tuple[Map[_Key, _Value], 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]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def try_find[_Key, _Value](table: Map[_Key, _Value], key: _Key) -> Option[_Value]`
flaky
(8/10)
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def map[_Key, _Value, _Result](table: Map[_Key, _Value], mapping: (_Key, _Value, /) -> _Result) -> Map[_Key, _Result]`
(2/10)
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map[_Key, _Value, _Result](table: Map[_Key, _Value], mapping: (_Key, _Value, /) -> _Result) -> Map[_Key, _Result]`
flaky
(9/10)
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, *args: Unknown, **kwargs: Unknown) -> Never`, found `def fold_back[_Result, _Key, _Value](state: _Result, folder: (tuple[_Key, _Value], _Result, /) -> _Result, table: Map[_Key, _Value]) -> _Result`
(1/10)
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def fold_back[_Result, _Key, _Value](state: _Result, folder: (tuple[_Key, _Value], _Result, /) -> _Result, table: Map[_Key, _Value]) -> _Result`

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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def choose[_TSource, _TResult](source: Iterable[_TSource], chooser: (_TSource, /) -> Option[_TResult]) -> Iterable[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def collect[_TSource, _TResult](source: Iterable[_TSource], mapping: (_TSource, /) -> Iterable[_TResult]) -> Iterable[_TResult]`
[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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def fold[_TSource, _TState](source: Iterable[_TSource], folder: (_TState, _TSource, /) -> _TState, state: _TState) -> _TState`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> None`, found `def iter[_TSource](source: Iterable[_TSource], action: (_TSource, /) -> None) -> None`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map[_TSource, _TResult](source: Iterable[_TSource], mapper: (_TSource, /) -> _TResult) -> Iterable[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def mapi[_TSource, _TResult](source: Iterable[_TSource], mapping: (int, _TSource, /) -> _TResult) -> Iterable[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def max_by[_TSource, _TSupportsGreaterThan](source: Iterable[_TSource], projection: (_TSource, /) -> _TSupportsGreaterThan) -> _TSupportsGreaterThan`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def min_by[_TSource, _TSupportsLessThan](source: Iterable[_TSource], projection: (_TSource, /) -> _TSupportsLessThan) -> _TSupportsLessThan`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def scan[_TSource, _TState](source: Iterable[_TSource], scanner: (_TState, _TSource, /) -> _TState, state: _TState) -> Iterable[_TState]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, count: int) -> Never`, found `def skip[_TSource](source: Iterable[_TSource], count: int) -> Iterable[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def sum_by[_TSource, _TSupportsSum](source: Iterable[_TSource], projection: (_TSource, /) -> _TSupportsSum) -> _TSupportsSum`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, count: int) -> Never`, found `def take[_TSource](source: Iterable[_TSource], count: int) -> Iterable[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def unfold[_TState, _TSource](state: _TState, generator: (_TState, /) -> Option[tuple[_TSource, _TState]]) -> Iterable[_TSource]`

expression/collections/array.py

[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map[_TSource, _TResult](source: TypedArray[_TSource], mapper: (_TSource, /) -> _TResult) -> TypedArray[_TResult]`
[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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def fold[_TSource, _TState](source: TypedArray[_TSource], folder: (_TState, _TSource, /) -> _TState, state: _TState) -> _TState`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> int`, found `def sum_by[_TSource, _TSourceSum](source: TypedArray[_TSource], projection: (_TSource, /) -> _TSourceSum) -> int`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, count: int) -> Never`, found `def take[_TSource](source: TypedArray[_TSource], count: int) -> TypedArray[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, count: int) -> Never`, found `def take_last[_TSource](source: TypedArray[_TSource], count: int) -> TypedArray[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def unfold[_TState, _TSource](state: _TState, generator: (_TState, /) -> Option[tuple[_TSource, _TState]]) -> TypedArray[_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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def choose[_TSource, _TResult](source: Block[_TSource], chooser: (_TSource, /) -> Option[_TResult]) -> Block[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def collect[_TSource, _TResult](source: Block[_TSource], mapping: (_TSource, /) -> Block[_TResult]) -> Block[_TResult]`
[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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def fold[_TSource, _TState](source: Block[_TSource], folder: (_TState, _TSource, /) -> _TState, state: _TState) -> _TState`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> bool`, found `def forall[_TSource](source: Block[_TSource], predicate: (_TSource, /) -> bool) -> bool`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map[_TSource, _TResult](source: Block[_TSource], mapper: (_TSource, /) -> _TResult) -> Block[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def reduce[_TSource](source: Block[_TSource], reduction: (_TSource, _TSource, /) -> _TSource) -> _TSource`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def mapi[_TSource, _TResult](source: Block[_TSource], mapper: (int, _TSource, /) -> _TResult) -> Block[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def partition[_TSource](source: Block[_TSource], predicate: (_TSource, /) -> bool) -> tuple[Block[_TSource], Block[_TSource]]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, count: int) -> Never`, found `def skip[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, count: int) -> Never`, found `def skip_last[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def sum_by[_TSourceSum, _TResult](source: Block[_TSourceSum], projection: (_TSourceSum, /) -> _TResult) -> _TResult`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, count: int) -> Never`, found `def take[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Never, /, count: int) -> Never`, found `def take_last[_TSource](source: Block[_TSource], count: int) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def unfold[_TState, _TSource](state: _TState, generator: (_TState, /) -> Option[tuple[_TSource, _TState]]) -> Block[_TSource]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def zip[_TSource, _TResult](source: Block[_TSource], other: Block[_TResult]) -> Block[tuple[_TSource, _TResult]]`

expression/core/option.py

[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def bind[_TSource, _TResult](option: Option[_TSource], mapper: (_TSource, /) -> Option[_TResult]) -> Option[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def default_value[_TSource, _T1](option: Option[_TSource], value: _T1) -> _TSource | _T1`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map[_TSource, _TResult](option: Option[_TSource], mapper: (_TSource, /) -> _TResult) -> Option[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map2[_T1, _T2, _TResult](opt1: Option[_T1], opt2: Option[_T2], mapper: (_T1, _T2, /) -> _TResult) -> Option[_TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Option[tuple[@Todo(TypeVarTuple), ...]], /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def starmap[_TResult](option: Option[tuple[@Todo(TypeVarTuple), ...]], mapper: (...) -> _TResult) -> Option[_TResult]`

expression/core/result.py

[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map[_TSource, _TError, _TResult](result: Result[_TSource, _TError], mapper: (_TSource, /) -> _TResult) -> Result[_TResult, _TError]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map2[_TSource, _TError, _TOther, _TResult](x: Result[_TSource, _TError], y: Result[_TOther, _TError], mapper: (_TSource, _TOther, /) -> _TResult) -> Result[_TResult, _TError]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map_error[_TSource, _TError, _TResult](result: Result[_TSource, _TError], mapper: (_TError, /) -> _TResult) -> Result[_TSource, _TResult]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def bind[_TSource, _TError, _TResult](result: Result[_TSource, _TError], mapper: (_TSource, /) -> Result[_TResult, Any]) -> Result[_TResult, _TError]`
[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 `(_A'return@curry & Parser[Any]) | (_B'return@curry & Parser[Any])`, found `Parser[_A@Parser]`
[error] invalid-argument-type - Argument is incorrect: Expected `(_A'return@curry & Parser[Any]) | (_B'return@curry & Parser[Any])`, found `Parser[Any]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def and_then[_B, _A](p2: Parser[_B], p1: Parser[_A]) -> Parser[tuple[_A, _B]]`
[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 `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def map[_A, _B](mapper: (_A, /) -> _B, parser: Parser[_A]) -> Parser[_B]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def starmap[_A, _B, _C](mapper: (_A, _B, /) -> _C, parser: Parser[tuple[_A, _B]]) -> Parser[_C]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def starmap[_A, _B, _C, _D](mapper: (_A, _B, _C, /) -> _D, parser: Parser[tuple[_A, _B, _C]]) -> Parser[_D]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def lift2[_A, _B, _C](fn: (_A, /) -> ((_B, /) -> _C), xP: Parser[_A], yP: Parser[_B]) -> Parser[_C]`
[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 `(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 `((_A'return@curry & Parser[Any]) | (_B'return@curry & Parser[Any]), (_A'return@curry & Parser[Any]) | (_B'return@curry & Parser[Any]), /, *args: Unknown, **kwargs: Unknown) -> (_A'return@curry & Parser[Any]) | (_B'return@curry & Parser[Any])`, found `def between[_A](popen: Parser[Any], pclose: Parser[Any], p: Parser[_A]) -> Parser[_A]`
[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]`
[error] invalid-argument-type - Argument is incorrect: Expected `(Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def bind[_A, _B](f: (_A, /) -> Parser[_B], p: Parser[_A]) -> Parser[_B]`

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`
flaky
(8/10)
[error] invalid-argument-type - Argument to bound method `pipe` is incorrect: Expected `(Map[str, int], /) -> 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/hooks.py

[error] invalid-argument-type - Argument to bound method `count` is incorrect: Expected `None | Coroutine[Any, Any, bool | None]`, found `Literal[True]`
[error] invalid-argument-type - Argument to bound method `count` is incorrect: Expected `None | Coroutine[Any, Any, bool | None]`, found `Literal[False]`

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)`

tanjun/commands/slash.py

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

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)

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__`

altair/vegalite/v6/data.py

[error] invalid-argument-type - Argument to bound method `register` is incorrect: Expected `((dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown) | None`, found `Overload[(data: None = ..., max_rows: int = ...) -> ((dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /) -> dict[str, dict[Any, Any] | list[dict[Any, Any]]]), (data: dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, max_rows: int = ...) -> dict[str, dict[Any, Any] | list[dict[Any, Any]]]]`
[error] invalid-argument-type - Argument to bound method `register` is incorrect: Expected `((dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown) | None`, found `Overload[(data: None = ..., prefix: str = ..., extension: str = ..., filename: str = ..., urlpath: str = ...) -> partial[Unknown], (data: dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, prefix: str = ..., extension: str = ..., filename: str = ..., urlpath: str = ...) -> _ToFormatReturnUrlDict]`
[error] invalid-argument-type - Argument to bound method `register` is incorrect: Expected `((dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | ... omitted 3 union elements, /, *args: Unknown, **kwargs: Unknown) -> Unknown) | None`, found `Overload[(data: None = ..., max_rows: int = ...) -> ((...) -> Any), (data: altair.utils.core.DataFrameLike, max_rows: int = ...) -> dict[str, dict[Any, Any] | list[dict[Any, Any]]], (data: dict[Unknown, Unknown] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | Unknown | SupportsGeoInterface, max_rows: int = ...) -> _ToVegaFusionReturnUrlDict | dict[str, dict[Any, Any] | list[dict[Any, Any]]]]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

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: Unknown, **kwargs: Unknown) -> Unknown`, 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

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

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__`

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-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/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__`

discord/ext/commands/help.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((Unknown, Context[Any], /, *args: Unknown, **kwargs: Unknown) -> Coroutine[Any, Any, Unknown]) | ((Context[Any], /, *args: Unknown, **kwargs: Unknown) -> Coroutine[Any, Any, Unknown])`, found `bound method HelpCommand.command_callback[BotT](ctx: Context[BotT], *, /, command: str | None = None) -> CoroutineType[Any, Any, None]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `callback` on type `Self@prepare` with custom `__set__` method

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
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[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__`

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__`

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)`

mypy (https://github.com/python/mypy)

mypy/typeshed/stdlib/builtins.pyi

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(@Todo, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def fromkeys[_T](cls, iterable: Iterable[_T], value: None = None, /) -> dict[_T, Any | None]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `(@Todo, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def fromkeys[_T, _S](cls, iterable: Iterable[_T], value: _S, /) -> dict[_T, _S]`

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

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]`
flaky
(1/10)
[error] type-assertion-failure - Type `Unknown` does not match asserted type `Series[Timestamp]`

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

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

tests/pandas/test_schema_components.py

[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/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[Unknown | 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[Unknown | 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[Unknown | 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/database/dependencies.py

[error] invalid-return-type - Return type does not match returned value: expected `((T@db_injector, /, *args: P@db_injector.args, **kwargs: P@db_injector.kwargs) -> R@db_injector) | ((**P@db_injector) -> R@db_injector)`, found `DBInjector[T@db_injector, ((**P@db_injector)) | ((...)), R@db_injector]`

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 | Unknown | dict[str, Any] | ReceivedEvent]`

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]`

pytest_robotframework/_internal/pytest/robot_file_support.py

[error] invalid-argument-type - Argument is incorrect: Expected `((...) -> Unknown, /, *args: Unknown, **kwargs: Unknown) -> Unknown`, found `def _get_failure[**P](og: (Unknown, /, *args: P.args, **kwargs: P.kwargs) -> object, self: Unknown, *args: P.args, **kwargs: P.kwargs) -> Unknown`

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

sklearn/gaussian_process/kernels.py

[error] no-matching-overload - No overload of function `apply_along_axis` 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-stubs (https://github.com/scipy/scipy-stubs)

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] invalid-assignment - Invalid subscript assignment with key of type `_SelfT@new_method` and value of type `_T@memoizemethod_noargs` on object of type `WeakKeyDictionary[TypeVar, _T@memoizemethod_noargs]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method WeakKeyDictionary[TypeVar, _T@memoizemethod_noargs].__getitem__(key: TypeVar) -> _T@memoizemethod_noargs` cannot be called with key of type `_SelfT@new_method` on object of type `WeakKeyDictionary[TypeVar, _T@memoizemethod_noargs]`

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_downloadermiddleware_offsite.py

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

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`

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'>`

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

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 `Unknown | 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"]`

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] invalid-argument-type - Argument to function `partial` is incorrect: Expected `((ParallelRecordType@run_parallel_queue, /) -> None, /, *args: Unknown, **kwargs: Unknown) -> None`, found `def func_with_catch[ParallelRecordType](func: (ParallelRecordType, /) -> None, item: ParallelRecordType) -> None`
[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: Unknown, **kwargs: Unknown) -> HttpResponse`
[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(...) -> HttpResponse`
[error] invalid-argument-type - Argument is incorrect: Expected `TypeVar`, found `(HttpRequest, /, *args: Unknown, **kwargs: Unknown) -> HttpResponse`
[error] invalid-argument-type - Argument to function `process_as_post` is incorrect: Expected `(...) -> HttpResponse`, found `((...) -> HttpResponse) | ((...) -> HttpResponse) | TypeVar`
[error] invalid-argument-type - Argument to function `process_as_post` is incorrect: Expected `(HttpRequest, /, *args: Unknown, **kwargs: Unknown) -> HttpResponse`, found `((HttpRequest, /, *args: Unknown, **kwargs: Unknown) -> HttpResponse) | ((...) -> 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`