Ecosystem report

Old: main (merge base) 63830f3e New: 27329/merge 23a901b6
Lint Rule Removed Added Changed
Total 20 16 0
invalid-assignment 19 2 0
invalid-method-override 0 7 0
possibly-missing-attribute 0 6 0
missing-argument 0 1 0
unresolved-attribute 1 0 0
Project Removed Added Changed
Total 20 16 0
trio 7 7 0
dd-trace-py 0 6 0
colour 4 0 0
ibis 0 2 0
pip 2 0 0
sympy 1 1 0
urllib3 2 0 0
pwndbg 1 0 0
pytest 1 0 0
scipy 1 0 0
tornado 1 0 0

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

colour/difference/cam16_ucs.py

[error] invalid-assignment - Object of type `(...) -> Unknown` is not assignable to `Overload[(Jpapbp_1: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, Jpapbp_2: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, coefficients: Coefficients_UCS_Luo2006, *, additional_data: Literal[False] = False) -> ndarray[tuple[Any, ...], dtype[floating[_16Bit] | floating[_32Bit] | float64]], (Jpapbp_1: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, Jpapbp_2: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, coefficients: Coefficients_UCS_Luo2006, *, additional_data: Literal[True]) -> DeltaE_Specification_Luo2006]`
[error] invalid-assignment - Object of type `(...) -> Unknown` is not assignable to `Overload[(Jpapbp_1: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, Jpapbp_2: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, *, additional_data: Literal[False] = False) -> ndarray[tuple[Any, ...], dtype[floating[_16Bit] | floating[_32Bit] | float64]], (Jpapbp_1: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, Jpapbp_2: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, *, additional_data: Literal[True]) -> DeltaE_Specification_Luo2006]`
[error] invalid-assignment - Object of type `(...) -> Unknown` is not assignable to `Overload[(Jpapbp_1: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, Jpapbp_2: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, *, additional_data: Literal[False] = False) -> ndarray[tuple[Any, ...], dtype[floating[_16Bit] | floating[_32Bit] | float64]], (Jpapbp_1: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, Jpapbp_2: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, *, additional_data: Literal[True]) -> DeltaE_Specification_Luo2006]`
[error] invalid-assignment - Object of type `(...) -> Unknown` is not assignable to `Overload[(Jpapbp_1: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, Jpapbp_2: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, *, additional_data: Literal[False] = False) -> ndarray[tuple[Any, ...], dtype[floating[_16Bit] | floating[_32Bit] | float64]], (Jpapbp_1: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, Jpapbp_2: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, *, additional_data: Literal[True]) -> DeltaE_Specification_Luo2006]`

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

tests/testing/internal/pytest/test_plugin.py

[warning] possibly-missing-attribute - Attribute `pytest_runtest_protocol_wrapper` may be missing on object of type `TestOptPlugin`
[warning] possibly-missing-attribute - Attribute `pytest_runtest_protocol_wrapper` may be missing on object of type `TestOptPlugin`
[warning] possibly-missing-attribute - Attribute `pytest_runtest_protocol_wrapper` may be missing on object of type `TestOptPlugin`
[warning] possibly-missing-attribute - Attribute `pytest_runtest_protocol_wrapper` may be missing on object of type `TestOptPlugin`
[warning] possibly-missing-attribute - Attribute `pytest_runtest_protocol_wrapper` may be missing on object of type `TestOptPlugin`
[warning] possibly-missing-attribute - Attribute `pytest_runtest_protocol_wrapper` may be missing on object of type `TestOptPlugin`

ibis (https://github.com/ibis-project/ibis)

ibis/examples/gen_registry.py

[error] invalid-assignment - Object of type `partial[(path: Path, *, board: Unknown = ..., metadata: dict[str, dict[str, str] | None] = ..., bar: Unknown = ...) -> None]` is not assignable to `def write_pin(path: Path, *, board: Unknown, metadata: dict[str, dict[str, str] | None], bar: Unknown) -> None`
[error] missing-argument - No arguments provided for required parameters `board`, `metadata`, `bar` of bound method `Executor.submit`

pip (https://github.com/pypa/pip)

src/pip/_vendor/urllib3/util/wait.py

[error] invalid-assignment - Object of type `def poll_wait_for_socket(sock: socket, read: bool = False, write: bool = False, timeout: int | float | None = None) -> bool` is not assignable to `def wait_for_socket(sock: socket, read: bool = False, write: bool = False, timeout: int | float | None = None) -> bool`
[error] invalid-assignment - Object of type `def select_wait_for_socket(sock: socket, read: bool = False, write: bool = False, timeout: int | float | None = None) -> bool` is not assignable to `def wait_for_socket(sock: socket, read: bool = False, write: bool = False, timeout: int | float | None = None) -> bool`

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

pwndbg/gdblib/tui/context.py

[error] invalid-assignment - Object of type `(...) -> str` is not assignable to `def _ansi_substr(self, line: str, start_char: int, end_char: int) -> str`

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

src/_pytest/junitxml.py

[error] invalid-assignment - Object of type `bound method LogXML.add_global_property(name: str, value: object) -> None` is not assignable to `def record_func(name: str, value: object) -> None`

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

benchmarks/benchmarks/fft_basic.py

[error] unresolved-attribute - Function `next_fast_len` has no attribute `__wrapped__`

steam.py (https://github.com/Gobot1234/steam.py)

steam/user.py

flaky
(2/10)
[warning] unsupported-base - Unsupported class base with type `<class 'Messageable[UserMessage[User | Friend | ClientUser]]'> | <class 'Messageable[UserMessage[User | ClientUser]]'>`
flaky
(2/10)
[warning] unsupported-base - Unsupported class base with type `<class 'Messageable[UserMessage[User | Friend | ClientUser]]'> | <class 'Messageable[UserMessage[User | ClientUser]]'>`

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

sympy/multipledispatch/tests/test_core.py

[error] invalid-assignment - Object of type `partial[(*types, *, namespace=..., on_ambiguity=...) -> Unknown]` is not assignable to `def dispatch(*types, *, namespace=..., on_ambiguity=...) -> Unknown`

sympy/sets/tests/test_sets.py

[error] invalid-assignment - Object of type `(x) -> cos` is not assignable to `def f(x) -> Unknown`

tornado (https://github.com/tornadoweb/tornado)

tornado/util.py

[error] invalid-assignment - Object of type `def _websocket_mask_python(mask: bytes, data: bytes) -> bytes` is not assignable to `def websocket_mask(mask: bytes, data: bytes) -> bytes`

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

src/trio/_socket.py

[error] invalid-method-override - Invalid override of method `recv`: Definition is incompatible with `SocketType.recv`
[error] invalid-method-override - Invalid override of method `recv_into`: Definition is incompatible with `SocketType.recv_into`
[error] invalid-method-override - Invalid override of method `recvfrom`: Definition is incompatible with `SocketType.recvfrom`
[error] invalid-method-override - Invalid override of method `recvfrom_into`: Definition is incompatible with `SocketType.recvfrom_into`
[error] invalid-method-override - Invalid override of method `recvmsg`: Definition is incompatible with `SocketType.recvmsg`
[error] invalid-method-override - Invalid override of method `recvmsg_into`: Definition is incompatible with `SocketType.recvmsg_into`
[error] invalid-method-override - Invalid override of method `send`: Definition is incompatible with `SocketType.send`
[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 `(_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 `(_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 `(_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 `(_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 `(_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 `(_SocketType, data: Buffer, flags: int = 0, /) -> Awaitable[int]` is not assignable to `def send(self, bytes: Buffer, flags: int = 0, /) -> Awaitable[int]`

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

src/urllib3/util/wait.py

[error] invalid-assignment - Object of type `def poll_wait_for_socket(sock: socket, read: bool = False, write: bool = False, timeout: int | float | None = None) -> bool` is not assignable to `def wait_for_socket(sock: socket, read: bool = False, write: bool = False, timeout: int | float | None = None) -> bool`
[error] invalid-assignment - Object of type `def select_wait_for_socket(sock: socket, read: bool = False, write: bool = False, timeout: int | float | None = None) -> bool` is not assignable to `def wait_for_socket(sock: socket, read: bool = False, write: bool = False, timeout: int | float | None = None) -> bool`