Summary

Comparing branches/commits:
Old: main (merge base) c20d9065
New: 19964/merge e4d3167b
Lint Rule Removed Added Changed
Total 2 38 5
invalid-argument-type 0 14 0
invalid-assignment 0 9 0
no-matching-overload 2 7 0
possibly-unbound-attribute 0 0 4
call-non-callable 0 3 0
unresolved-attribute 0 2 0
invalid-return-type 0 1 0
missing-argument 0 1 0
possibly-unbound-implicit-call 0 0 1
redundant-cast 0 1 0

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

tests/test_make.py

[error] unresolved-attribute - :146:14 - Type `Literal[42]` has no attribute `default`

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

colour/plotting/diagrams.py

[error] invalid-argument-type - :448:13 - Argument to bound method `__init__` is incorrect: Expected `Sequence[@Todo(Support for `typing.TypeAlias`)]`, found `ndarray[tuple[int, int, int], dtype[Unknown]]`
[error] invalid-argument-type - :462:13 - Argument to bound method `__init__` is incorrect: Expected `Sequence[@Todo(Support for `typing.TypeAlias`)]`, found `ndarray[tuple[int, int, int], dtype[Unknown]]`

colour/plotting/models.py

[error] invalid-argument-type - :419:13 - Argument to bound method `__init__` is incorrect: Expected `Sequence[@Todo(Support for `typing.TypeAlias`)]`, found `ndarray[tuple[int, int, int], dtype[Unknown]]`

colour/plotting/temperature.py

[error] invalid-argument-type - :230:9 - Argument to bound method `__init__` is incorrect: Expected `Sequence[@Todo(Support for `typing.TypeAlias`)]`, found `ndarray[tuple[int, int, int], dtype[Unknown]]`
[error] invalid-argument-type - :474:13 - Argument to bound method `__init__` is incorrect: Expected `Sequence[@Todo(Support for `typing.TypeAlias`)]`, found `ndarray[tuple[int, int, int], dtype[Unknown]]`
[error] invalid-argument-type - :495:17 - Argument to bound method `__init__` is incorrect: Expected `Sequence[@Todo(Support for `typing.TypeAlias`)]`, found `ndarray[tuple[int, int, int], dtype[Unknown]]`
[error] invalid-argument-type - :513:13 - Argument to bound method `text` is incorrect: Expected `int | float`, found `ndarray[@Todo(Support for `typing.TypeAlias`), dtype[Unknown]]`
[error] invalid-argument-type - :514:13 - Argument to bound method `text` is incorrect: Expected `int | float`, found `ndarray[@Todo(Support for `typing.TypeAlias`), dtype[Unknown]]`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)

src/hydra_zen/wrapper/_implementations.py

[error] invalid-return-type - :945:16 - Return type does not match returned value: expected `DataClass_ | type[@Todo(type[T] for protocols)] | ListConfig | DictConfig`, found `@Todo(unsupported type[X] special form) | (((...) -> Any) & dict[Unknown, Unknown]) | (DataClass_ & dict[Unknown, Unknown]) | dict[Any, Any] | (ListConfig & dict[Unknown, Unknown]) | (DictConfig & dict[Unknown, Unknown]) | (((...) -> Any) & list[Unknown]) | (DataClass_ & list[Unknown]) | list[Any] | (ListConfig & list[Unknown]) | (DictConfig & list[Unknown])`

tests/annotations/behaviors.py

[error] call-non-callable - :60:28 - Object of type `Path` is not callable
[error] call-non-callable - :64:21 - Object of type `Path` is not callable

tests/annotations/declarations.py

[error] call-non-callable - :167:17 - Object of type `Path` is not callable
[error] unresolved-attribute - :524:17 - Type `<class 'int'>` has no attribute `_target_`

jinja (https://github.com/pallets/jinja)

src/jinja2/bccache.py

[error] invalid-argument-type - :298:39 - Argument to bound method `write_bytecode` is incorrect: Expected `IO[bytes]`, found `_TemporaryFileWrapper[str]`

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

optuna/_gp/search_space.py

[error] invalid-argument-type - :181:53 - Argument to function `_round_one_normalized_param` is incorrect: Expected `tuple[int | float, int | float]`, found `tuple[Unknown | ndarray[Unknown, <class 'float'>], Unknown | ndarray[Unknown, <class 'float'>]]`
[error] invalid-argument-type - :181:83 - Argument to function `_round_one_normalized_param` is incorrect: Expected `int | float`, found `Unknown | ndarray[Unknown, <class 'float'>]`

tests/gp_tests/test_search_space.py

[error] invalid-argument-type - :109:13 - Argument to function `_unnormalize_one_param` is incorrect: Expected `tuple[int | float, int | float]`, found `Unknown | ndarray[Unknown, <class 'float'>]`
[error] invalid-argument-type - :110:13 - Argument to function `_unnormalize_one_param` is incorrect: Expected `int | float`, found `Unknown | ndarray[Unknown, <class 'float'>]`

paasta (https://github.com/yelp/paasta)

paasta_tools/utils.py

[warning] redundant-cast - :4188:19 - Value is already of type `list[str]`

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

sklearn/_loss/loss.py

[warning] possibly-unbound-attribute - :370:12 -
Old: Attribute `ndim` on type `Unknown | None` is possibly unbound
New: Attribute `ndim` on type `Unknown | None | (Unknown & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :370:38 -
Old: Attribute `shape` on type `Unknown | None` is possibly unbound
New: Attribute `shape` on type `Unknown | None | (Unknown & ~None)` is possibly unbound
[warning] possibly-unbound-attribute - :371:27 -
Old: Attribute `squeeze` on type `Unknown | None` is possibly unbound
New: Attribute `squeeze` on type `Unknown | None | (Unknown & ~None)` is possibly unbound

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

scipy/io/_idl.py

[error] no-matching-overload - :802:17 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :782:9 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :789:13 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :801:17 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :818:13 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :819:13 - No overload of bound method `write` matches arguments
[error] no-matching-overload - :821:13 - No overload of bound method `write` matches arguments

scipy/linalg/tests/test_basic.py

[error] no-matching-overload - :1426:29 - No overload of function `tri` matches arguments
[error] no-matching-overload - :1438:29 - No overload of function `tri` matches arguments

scipy/stats/_mstats_extras.py

[error] invalid-assignment - :88:13 - Invalid assignment to data descriptor attribute `flat` on type `ndarray[tuple[int, int], Unknown]` with custom `__set__` method

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

tests/test_pipeline_files.py

[error] invalid-assignment - :364:5 - Object of type `<class 'list'>` is not assignable to `list[str]`
[error] invalid-assignment - :365:5 - Object of type `<class 'list'>` is not assignable to `list[dict[str, str]]`
[error] invalid-assignment - :367:5 - Object of type `<class 'list'>` is not assignable to `list[str]`
[error] invalid-assignment - :368:5 - Object of type `<class 'list'>` is not assignable to `list[dict[str, str]]`

tests/test_pipeline_images.py

[error] invalid-assignment - :312:5 - Object of type `<class 'list'>` is not assignable to `list[str]`
[error] invalid-assignment - :313:5 - Object of type `<class 'list'>` is not assignable to `list[dict[str, str]]`
[error] invalid-assignment - :315:5 - Object of type `<class 'list'>` is not assignable to `list[str]`
[error] invalid-assignment - :316:5 - Object of type `<class 'list'>` is not assignable to `list[dict[str, str]]`

static-frame (https://github.com/static-frame/static-frame)

static_frame/core/bus.py

[warning] possibly-unbound-implicit-call - :553:21 -
Old: Method `__setitem__` of type `(Unknown & ~None) | Iterable[Unknown | type[FrameDeferred]] | Unknown` is possibly unbound
New: Method `__setitem__` of type `(Unknown & ~None) | Iterable[Unknown | type[FrameDeferred]]` is possibly unbound
[warning] possibly-unbound-attribute - :571:40 -
Old: Attribute `copy` on type `(Unknown & ~None) | Iterable[Unknown | type[FrameDeferred]] | Unknown` is possibly unbound
New: Attribute `copy` on type `(Unknown & ~None) | Iterable[Unknown | type[FrameDeferred]]` is possibly unbound

static_frame/core/join.py

[error] invalid-argument-type - :102:42 - Argument to function `nonzero_1d` is incorrect: Expected `ndarray[@Todo(Support for `typing.TypeAlias`), Unknown]`, found `bool[bool] | @Todo(unknown type subscript)`

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

sympy/matrices/matrixbase.py

[error] missing-argument - :3268:16 - No argument provided for required parameter 2