Ecosystem report

Old: main (merge base) e588048a New: 26114/merge ef71c264
Lint Rule Removed Added Changed
Total 369 75 44
invalid-assignment 230 3 5
unresolved-attribute 121 33 30
invalid-argument-type 6 12 4
unused-type-ignore-comment 2 19 0
invalid-parameter-default 5 0 0
not-iterable 1 3 1
not-subscriptable 0 3 0
unsupported-operator 0 0 3
invalid-return-type 1 0 1
no-matching-overload 2 0 0
possibly-unresolved-reference 0 2 0
unsupported-base 1 0 0
Project Removed Added Changed
Total 369 75 44
dragonchain 229 0 1
apprise 26 8 0
spark 1 20 7
cki-lib 23 0 0
dd-trace-py 5 1 16
prefect 18 4 0
bandersnatch 2 14 0
hydpy 0 11 0
steam.py 6 1 4
mypy 9 0 0
scrapy 8 0 0
rotki 2 5 0
cloud-init 4 0 1
egglog-python 5 0 0
ibis 0 5 0
ignite 3 2 0
scikit-learn 2 2 1
static-frame 5 0 0
manticore 4 0 0
pandas 0 0 4

aiohttp (https://github.com/aio-libs/aiohttp)

aiohttp/test_utils.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to `Application | None`
[error] invalid-argument-type - Argument to bound method `UrlMappingMatchInfo.add_app` is incorrect: Expected `Application`, found `Application | None`

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

alerta/utils/api.py

[error] not-iterable - Object of type `None` is not iterable

tests/plugins/test_reject.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `get_config` of type `def get_config(key, default=None, type=None, **kwargs) -> Unknown`

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

apprise/plugins/whatsapp.py

[error] no-matching-overload - No overload of bound method `MutableMapping.update` matches arguments
[error] no-matching-overload - No overload of bound method `MutableMapping.update` matches arguments
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: SupportsIndex, /) -> str, (index: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> tuple[str, ...]]` cannot be called with key of type `Literal["parameters"]` on object of type `tuple[str, str]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, Unknown | str | bool | tuple[str, str]].__getitem__(key: str, /) -> Unknown | str | bool | tuple[str, str]` cannot be called with key of type `Literal[0]` on object of type `dict[str, Unknown | str | bool | tuple[str, str]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["parameters"]` on object of type `str`
[error] not-subscriptable - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: SupportsIndex, /) -> str, (index: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> tuple[str, ...]]` cannot be called with key of type `Literal["parameters"]` on object of type `tuple[str, str]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, Unknown | str | bool | tuple[str, str]].__getitem__(key: str, /) -> Unknown | str | bool | tuple[str, str]` cannot be called with key of type `Literal[0]` on object of type `dict[str, Unknown | str | bool | tuple[str, str]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["parameters"]` on object of type `str`

tests/test_plugin_rocket_chat.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `login` of type `def login(self) -> Unknown`
[error] unresolved-attribute - Unresolved attribute `return_value` on type `bound method NotifyRocketChat.login() -> Unknown`

tests/test_utils_socket.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `connect` of type `def connect(self, *_args, **_kwargs) -> None`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `send` of type `def send(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `bind` of type `def bind(self, *_args, **_kwargs) -> None`
[error] unresolved-attribute - Object of type `bound method _DummySocket.bind(...) -> None` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `settimeout` of type `def settimeout(self, value) -> Unknown`
[error] unresolved-attribute - Object of type `bound method _DummySocket.settimeout(value) -> Unknown` has no attribute `call_args_list`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `send` of type `def send(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `send` of type `def send(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `recv` of type `def recv(self, *_args, **_kwargs) -> Unknown`

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

src/bandersnatch/tests/test_sync.py

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

src/bandersnatch/tests/test_mirror.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
[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

src/bandersnatch/tests/test_package.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
[error] unresolved-attribute - Object of type `bound method Master.get_package_metadata(package_name: str, serial: int = 0) -> CoroutineType[Any, Any, Any]` has no attribute `await_count`
[error] unresolved-attribute - Object of type `bound method Master.get_package_metadata(package_name: str, serial: int = 0) -> CoroutineType[Any, Any, Any]` has no attribute `await_count`

boostedblob (https://github.com/hauntsaninja/boostedblob)

boostedblob/listing.py

[error] unresolved-attribute - Object of type `Element[Unknown]` has no attribute `iterchildren`
[error] unresolved-attribute - Object of type `Element[str]` has no attribute `iterchildren`

cki-lib (https://gitlab.com/cki-project/cki-lib)

tests/test_cronjob.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `run` of type `def run(self, *, last_run_datetime=None) -> Unknown`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `called`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `run` of type `def run(self, *, last_run_datetime=None) -> Unknown`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `called`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `assert_called_with`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `reset_mock`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `called`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `run` of type `def run(self, *, last_run_datetime=None) -> Unknown`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `called`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `assert_called_with`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `reset_mock`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `called`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `assert_called_with`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `reset_mock`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `called`
[error] unresolved-attribute - Object of type `bound method CronJob.run(*, last_run_datetime=None) -> Unknown` has no attribute `assert_called_with`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_run` of type `def _run(self, last_run_datetime) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_run` of type `def _run(self, last_run_datetime) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_run` of type `def _run(self, last_run_datetime) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_run` of type `def _run(self, last_run_datetime) -> Unknown`

tests/test_psql.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_execute` of type `def _execute(self, query, *args) -> Unknown`
[error] unresolved-attribute - Unresolved attribute `side_effect` on type `bound method PSQLHandler._execute(query, *args) -> Unknown`
[error] unresolved-attribute - Object of type `bound method PSQLHandler._execute(query, *args) -> Unknown` has no attribute `call_count`

cloud-init (https://github.com/canonical/cloud-init)

cloudinit/sources/helpers/azure.py

[error] unresolved-attribute - Attribute `text` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `text` is not defined on `None` in union `Element[str] | None`

tests/unittests/sources/test_azure.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `get_tmp_exec_path` on type `(Unknown & ~str) | Distro`

tests/unittests/sources/test_openstack.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_read_ec2_metadata` of type `def _read_ec2_metadata(self) -> Unknown`

tests/unittests/test_stages.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `is_new_instance` of type `def is_new_instance(self) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `is_new_instance` of type `def is_new_instance(self) -> Unknown`

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

colour/notation/munsell/centore2014.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[tuple[tuple[int | float, int | float], int | float], ...]`, found `tuple[tuple[Unknown, Unknown], ...] | tuple[tuple[tuple[Unknown, Unknown, Unknown], int | float], ...]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[tuple[tuple[int | float, int | float], int | float], ...]`, found `tuple[tuple[tuple[Unknown, Unknown, Unknown], int | float], ...]`

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

homeassistant/components/zha/__init__.py

[error] unresolved-attribute - Attribute `async_initialize_devices_and_entities` is not defined on `None` in union `Unknown | None`

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

ddtrace/vendor/ply/lex.py

[error] unresolved-attribute - Unresolved attribute `type` on type `LexToken`
[error] not-iterable - Object of type `None | Unknown | list[Unknown] | list[tuple[Unknown, Unknown]]` may not be iterable
[error] not-iterable - Object of type `None | Unknown | list[tuple[Unknown, Unknown]]` may not be iterable

ddtrace/vendor/ply/yacc.py

[error] invalid-argument-type - Argument to function `getsourcefile` is incorrect: Expected `ModuleType | type[Any] | ((...) -> Any) | ... omitted 3 union elements`, found `Unknown | ModuleType | None`
[error] invalid-argument-type - Argument to function `getsourcefile` is incorrect: Expected `ModuleType | type[Any] | ((...) -> Any) | ... omitted 3 union elements`, found `ModuleType | None`

tests/appsec/appsec/api_security/test_api_security_manager.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_should_collect_schema` of type `def _should_collect_schema(self, env: ASM_Environment, priority: int | float) -> bool | None`

tests/ci_visibility/test_ci_visibility.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_is_gzip_supported_by_agent` of type `def _is_gzip_supported_by_agent(self) -> bool`
[error] unresolved-attribute - Object of type `bound method CIVisibility._is_gzip_supported_by_agent() -> bool` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_is_gzip_supported_by_agent` of type `def _is_gzip_supported_by_agent(self) -> bool`
[error] unresolved-attribute - Object of type `bound method CIVisibility._is_gzip_supported_by_agent() -> bool` has no attribute `assert_called_once`

tests/contrib/pytest/test_pytest_atr.py

[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`

tests/contrib/pytest/test_pytest_attempt_to_fix.py

[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`

tests/contrib/pytest/test_pytest_efd.py

[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `attrib` is not defined on `None` in union `Element[str] | None`

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

dragonchain/lib/dto/btc_utest.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `sign_transaction` of type `def sign_transaction(self, raw_transaction: dict[str, Any]) -> str`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork.sign_transaction(raw_transaction: dict[str, Any]) -> str` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_utxos` of type `def _get_utxos(self) -> list[Unknown]`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_calculate_transaction_fee` of type `def _calculate_transaction_fee(self) -> int`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._calculate_transaction_fee() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_has_calls`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call` of type `def _call(self, method: str, *args: Any) -> Any`
[error] unresolved-attribute - Object of type `bound method BitcoinNetwork._call(method: str, *args: Any) -> Any` has no attribute `assert_called_once_with`

dragonchain/job_processor/contract_job_utest.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `set_state` of type `def set_state(self, state: str | ContractState, msg: str = "") -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `docker_login_if_necessary` of type `def docker_login_if_necessary(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `pull_image` of type `def pull_image(self, image_name: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `create_dockerfile` of type `def create_dockerfile(self) -> str`
[error] unresolved-attribute - Object of type `bound method ContractJob.pull_image(image_name: str) -> Unknown` has no attribute `assert_called`
[error] unresolved-attribute - Object of type `bound method ContractJob.create_dockerfile() -> str` has no attribute `assert_called`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `set_state` of type `def set_state(self, state: str | ContractState, msg: str = "") -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] unresolved-attribute - Object of type `bound method SmartContractModel.set_state(state: str | ContractState, msg: str = "") -> None` has no attribute `assert_called`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `set_state` of type `def set_state(self, state: str | ContractState, msg: str = "") -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] unresolved-attribute - Object of type `bound method SmartContractModel.set_state(state: str | ContractState, msg: str = "") -> None` has no attribute `assert_called`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `set_state` of type `def set_state(self, state: str | ContractState, msg: str = "") -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] unresolved-attribute - Object of type `bound method SmartContractModel.set_state(state: str | ContractState, msg: str = "") -> None` has no attribute `assert_called`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `set_state` of type `def set_state(self, state: str | ContractState, msg: str = "") -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] unresolved-attribute - Object of type `bound method SmartContractModel.set_state(state: str | ContractState, msg: str = "") -> None` has no attribute `assert_called`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `set_state` of type `def set_state(self, state: str | ContractState, msg: str = "") -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] unresolved-attribute - Object of type `bound method SmartContractModel.set_state(state: str | ContractState, msg: str = "") -> None` has no attribute `assert_called`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `new_from_build_task` of type `def new_from_build_task(data: Mapping[str, Any]) -> SmartContractModel`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `create` of type `def create(self) -> None`
[error] unresolved-attribute - Function `create` has no attribute `assert_called`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `new_from_build_task` of type `def new_from_build_task(data: Mapping[str, Any]) -> SmartContractModel`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `schedule_contract` of type `def schedule_contract(self, action: SchedulerActions = SchedulerActions.CREATE) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `build_contract_image` of type `def build_contract_image(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `deploy_to_openfaas` of type `def deploy_to_openfaas(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `create_openfaas_secrets` of type `def create_openfaas_secrets(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `populate_api_keys` of type `def populate_api_keys(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `deploy_to_openfaas` of type `def deploy_to_openfaas(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `schedule_contract` of type `def schedule_contract(self, action: SchedulerActions = SchedulerActions.CREATE) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `create_openfaas_secrets` of type `def create_openfaas_secrets(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_contract_by_txn_type` of type `def get_contract_by_txn_type(txn_type: str) -> SmartContractModel`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `new_from_build_task` of type `def new_from_build_task(data: Mapping[str, Any]) -> SmartContractModel`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `create_dockerfile` of type `def create_dockerfile(self) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `create_openfaas_secrets` of type `def create_openfaas_secrets(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `delete_contract_image` of type `def delete_contract_image(self, image_digest: str) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `deploy_to_openfaas` of type `def deploy_to_openfaas(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `pull_image` of type `def pull_image(self, image_name: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `schedule_contract` of type `def schedule_contract(self, action: SchedulerActions = SchedulerActions.CREATE) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `delete_openfaas_secrets` of type `def delete_openfaas_secrets(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `delete_openfaas_function` of type `def delete_openfaas_function(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `delete_contract_data` of type `def delete_contract_data(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `delete_contract_image` of type `def delete_contract_image(self, image_digest: str) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `unschedule_contract` of type `def unschedule_contract(self) -> None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `save` of type `def save(self) -> None`
[error] unresolved-attribute - Object of type `bound method ContractJob.delete_openfaas_secrets() -> None` has no attribute `assert_called_once`
[error] unresolved-attribute - Object of type `bound method ContractJob.delete_openfaas_function() -> None` has no attribute `assert_called_once`
[error] unresolved-attribute - Object of type `bound method ContractJob.delete_contract_image(image_digest: str) -> None` has no attribute `assert_called_once`
[error] unresolved-attribute - Object of type `bound method ContractJob.delete_contract_data() -> None` has no attribute `assert_called_once`
[error] unresolved-attribute - Object of type `bound method ContractJob.unschedule_contract() -> None` has no attribute `assert_called_once`
[error] unresolved-attribute - Object of type `bound method SmartContractModel.set_state(state: str | ContractState, msg: str = "") -> None` has no attribute `assert_called_once`
[error] unresolved-attribute - Attribute `assert_called_once` is not defined on `bound method SmartContractModel.set_state(state: str | ContractState, msg: str = "") -> None` in union `(bound method SmartContractModel.set_state(state: str | ContractState, msg: str = "") -> None) | MagicMock`

dragonchain/lib/database/redisearch_utest.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_any_call`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_any_call`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_any_call`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_any_call`
[error] unresolved-attribute - Function `_get_redisearch_index_client` has no attribute `assert_any_call`

dragonchain/lib/dto/bnb_utest.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_fetch_account` of type `def _fetch_account(self) -> Unknown`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._fetch_account() -> Unknown` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_fetch_account` of type `def _fetch_account(self) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_build_transaction_msg` of type `def _build_transaction_msg(self, raw_transaction: dict[str, Any]) -> dict[Unknown, Unknown]`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `sign_transaction` of type `def sign_transaction(self, raw_transaction: dict[str, Any]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_rpc` of type `def _call_node_rpc(self, method: str, params: dict[str, Any]) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_rpc(method: str, params: dict[str, Any]) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_rpc` of type `def _call_node_rpc(self, method: str, params: dict[str, Any]) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_rpc(method: str, params: dict[str, Any]) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_api(path: str) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_api(path: str) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_api(path: str) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_api(path: str) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_rpc` of type `def _call_node_rpc(self, method: str, params: dict[str, Any]) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_rpc(method: str, params: dict[str, Any]) -> Any` has no attribute `assert_called_once_with`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_rpc` of type `def _call_node_rpc(self, method: str, params: dict[str, Any]) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_rpc(method: str, params: dict[str, Any]) -> Any` has no attribute `assert_called_once_with`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_rpc` of type `def _call_node_rpc(self, method: str, params: dict[str, Any]) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_rpc(method: str, params: dict[str, Any]) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_api(path: str) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_api(path: str) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_rpc` of type `def _call_node_rpc(self, method: str, params: dict[str, Any]) -> Any`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_rpc(method: str, params: dict[str, Any]) -> Any` has no attribute `assert_called_once_with`
[error] unresolved-attribute - Object of type `bound method BinanceNetwork._call_node_api(path: str) -> Any` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_rpc` of type `def _call_node_rpc(self, method: str, params: dict[str, Any]) -> Any`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_call_node_api` of type `def _call_node_api(self, path: str) -> Any`

dragonchain/lib/dto/eth_utest.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `sign_transaction` of type `def sign_transaction(self, raw_transaction: dict[str, Any]) -> str`
[error] unresolved-attribute - Object of type `bound method EthereumNetwork.sign_transaction(raw_transaction: dict[str, Any]) -> str` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method EthereumNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method EthereumNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_calculate_transaction_fee` of type `def _calculate_transaction_fee(self) -> int`
[error] unresolved-attribute - Object of type `bound method EthereumNetwork._calculate_transaction_fee() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method EthereumNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method EthereumNetwork.get_current_block() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method EthereumNetwork.get_current_block() -> int` has no attribute `assert_called_once`

dragonchain/lib/interfaces/storage_utest.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `storage` of type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `cache_get` of type `def cache_get(key: str, service_name: str = "storage") -> bytes | None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `cache_put` of type `def cache_put(key: str, value: str | bytes, cache_expire: int | None = None, service_name: str = "storage") -> bool`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `cache_delete` of type `def cache_delete(key: str, service_name: str = "storage") -> int`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `cache_get` of type `def cache_get(key: str, service_name: str = "storage") -> bytes | None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `cache_put` of type `def cache_put(key: str, value: str | bytes, cache_expire: int | None = None, service_name: str = "storage") -> bool`
[error] unresolved-attribute - Function `cache_get` has no attribute `assert_called_once_with`
[error] unresolved-attribute - Function `cache_put` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `put` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `delete` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `list_objects` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] unresolved-attribute - Object of type `(def list_objects(location: str, prefix: str) -> list[str]) | (def list_objects(location: str, prefix: str) -> list[str])` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `list_objects` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `does_superkey_exist` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `does_object_exist` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `put` of type `def put(key: str, value: bytes, cache_expire: int | None = None, should_cache: bool = True) -> None`
[error] unresolved-attribute - Function `put` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get` of type `def get(key: str, cache_expire: int | None = None, should_cache: bool = True) -> bytes`
[error] unresolved-attribute - Function `get` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get` of type `def get(key: str, cache_expire: int | None = None, should_cache: bool = True) -> bytes`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `list_objects` of type `def list_objects(prefix: str) -> list[str]`
[error] unresolved-attribute - Function `list_objects` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `list_objects` of type `def list_objects(prefix: str) -> list[str]`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `delete` of type `def delete(key: str) -> None`
[error] unresolved-attribute - Function `delete` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `list_objects` of type `def list_objects(prefix: str) -> list[str]`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `list_objects` of type `def list_objects(prefix: str) -> list[str]`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `select_transaction` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] unresolved-attribute - Object of type `(def select_transaction(location: str, block_id: str, txn_id: str) -> dict[Unknown, Unknown]) | (def select_transaction(location: str, block_id: str, txn_id: str) -> dict[Unknown, Unknown])` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `select_transaction` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `cache_get` of type `def cache_get(key: str, service_name: str = "storage") -> bytes | None`
[error] unresolved-attribute - Function `cache_get` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `select_transaction` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `cache_get` of type `def cache_get(key: str, service_name: str = "storage") -> bytes | None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `select_transaction` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `select_transaction` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `select_transaction` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `select_transaction` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `put` of type `def put(key: str, value: bytes, cache_expire: int | None = None, should_cache: bool = True) -> None`
[error] unresolved-attribute - Function `put` has no attribute `assert_called_once_with`

dragonchain/transaction_processor/level_5_actions_utest.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `publish_l5_hash_to_public_network` of type `def publish_l5_hash_to_public_network(self, l5_block_hash: str) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_current_block` of type `def get_current_block(self) -> int`
[error] unresolved-attribute - Object of type `bound method InterchainModel.publish_l5_hash_to_public_network(l5_block_hash: str) -> str` has no attribute `assert_called_once_with`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `check_balance` of type `def check_balance(self) -> int`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_transaction_fee_estimate` of type `def get_transaction_fee_estimate(self) -> int`
[error] unresolved-attribute - Object of type `bound method InterchainModel.check_balance() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `check_balance` of type `def check_balance(self) -> int`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_transaction_fee_estimate` of type `def get_transaction_fee_estimate(self) -> int`
[error] unresolved-attribute - Object of type `bound method InterchainModel.check_balance() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_transaction_fee_estimate` of type `def get_transaction_fee_estimate(self) -> int`
[error] unresolved-attribute - Object of type `bound method InterchainModel.get_transaction_fee_estimate() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_transaction_fee_estimate` of type `def get_transaction_fee_estimate(self) -> int`
[error] unresolved-attribute - Object of type `bound method InterchainModel.get_transaction_fee_estimate() -> int` has no attribute `assert_called_once`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_transaction_fee_estimate` of type `def get_transaction_fee_estimate(self) -> int`
[error] unresolved-attribute - Object of type `bound method InterchainModel.get_transaction_fee_estimate() -> int` has no attribute `assert_called_once`

dragonchain/webserver/lib/verifications_dao_utest.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_redisearch_index_client` of type `def _get_redisearch_index_client(index: str) -> Unknown`

egglog-python (https://github.com/egraphs-good/egglog-python)

python/tests/test_high_level.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to `def my_cost_model(egraph: EGraph, expr: BaseExpr, children_costs: list[int]) -> int`
[error] unresolved-attribute - Function `my_cost_model` has no attribute `assert_any_call`
[error] unresolved-attribute - Function `my_cost_model` has no attribute `assert_any_call`
[error] unresolved-attribute - Function `my_cost_model` has no attribute `assert_any_call`
[error] unresolved-attribute - Function `my_cost_model` has no attribute `assert_any_call`

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

hydpy/core/testtools.py

[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`
[error] unresolved-attribute - Unresolved attribute `model` on type `Device`

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

ibis/backends/materialize/__init__.py

[error] not-iterable - Object of type `Attribute` is not iterable

ibis/expr/types/temporal_windows.py

[error] invalid-assignment - Object of type `tuple[Value, ...]` is not assignable to `Sequence[Scalar] | None`
[error] invalid-argument-type - Argument to function `unwrap_aliases` is incorrect: Expected `Iterator[Value]`, found `tuple[Value, ...]`
[error] invalid-argument-type - Argument to function `unwrap_aliases` is incorrect: Expected `Iterator[Value]`, found `tuple[Value, ...]`
[error] invalid-argument-type - Argument to function `unwrap_aliases` is incorrect: Expected `Iterator[Value]`, found `Sequence[Scalar] | None`

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

examples/reinforcement_learning/actor_critic.py

[error] unresolved-attribute - Unresolved attribute `observation` on type `State`

examples/reinforcement_learning/reinforce.py

[error] unresolved-attribute - Unresolved attribute `observation` on type `State`

tests/ignite/metrics/test_metric.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `compute` of type `def compute(self) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `compute` of type `def compute(self) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `compute` of type `def compute(self) -> Unknown`

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

tests/native/test_memory.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `sys` of type `<module 'sys'>`
[error] unresolved-attribute - Module `sys` has no member `configure_mock`
[error] unresolved-attribute - Module `sys` has no member `configure_mock`
[error] unresolved-attribute - Module `sys` has no member `configure_mock`

meson (https://github.com/mesonbuild/meson)

mesonbuild/mtest.py

[error] invalid-assignment - Object of type `ElementTree[Element[Unknown]]` is not assignable to attribute `junit` of type `ElementTree[Element[Unknown] | None] | None`
[error] invalid-assignment - Object of type `ElementTree[Element[str]]` is not assignable to attribute `junit` of type `ElementTree[Element[str] | None] | None`

run_project_tests.py

[error] invalid-argument-type - Argument to function `SubElement` is incorrect: Expected `Element[Any]`, found `Unknown | Element[Unknown] | None`
[error] invalid-argument-type - Argument to function `SubElement` is incorrect: Expected `Element[Any]`, found `Unknown | Element[str] | None`

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

test/mitmproxy/tools/console/test_flowview.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_content_view` of type `_lru_cache_wrapper[tuple[str, list[Unknown]]]`
[error] unresolved-attribute - Object of type `_lru_cache_wrapper[tuple[str, list[Unknown]]]` has no attribute `assert_called_with`

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

mkdocs/tests/structure/file_tests.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `is_modified` of type `def is_modified(self) -> bool`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `is_modified` of type `def is_modified(self) -> bool`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `is_modified` of type `def is_modified(self) -> bool`

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

mypy/reachability.py

[error] invalid-argument-type - Argument to function `mark_block_unreachable` is incorrect: Expected `Block`, found `Unknown | Block | None`

mypy/server/astmerge.py

[error] invalid-argument-type - Argument to bound method `NodeReplaceVisitor.process_synthetic_type_info` is incorrect: Expected `TypeInfo`, found `Unknown | None | TypeInfo`

mypy/treetransform.py

[error] unresolved-attribute - Attribute `set_line` is not defined on `None` in union `Unknown | None | TypeApplication | TypeAliasExpr`

mypy/build.py

[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `Unknown | None | MypyFile` on object of type `dict[str, MypyFile]`
[error] invalid-return-type - Return type does not match returned value: expected `TypeChecker`, found `Unknown | TypeChecker | None`

mypy/nodes.py

[error] unresolved-attribute - Attribute `line` is not defined on `None` in union `Unknown | None | FuncDef | Decorator`
[error] unresolved-attribute - Attribute `line` is not defined on `None` in union `Unknown | None | FuncDef | Decorator`

mypy/semanal.py

[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `line` on type `Unknown | None | TypeApplication | TypeAliasExpr`
[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `column` on type `Unknown | None | TypeApplication | TypeAliasExpr`

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

tests/study_tests/test_study.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_all_trials` of type `def get_all_trials(self, study_id: int, deepcopy: bool = True, states: Container[TrialState] | None = None) -> list[FrozenTrial]`

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

pandas/io/xml.py

[error] unresolved-attribute - Attribute `findall` is not defined on `None` in union `Element[Unknown] | Unknown | None`
[error] unresolved-attribute - Attribute `findall` is not defined on `None` in union `Element[str] | Unknown | None`
[error] unresolved-attribute - Attribute `find` is not defined on `None` in union `Element[Unknown] | Unknown | None`
[error] unresolved-attribute - Attribute `find` is not defined on `None` in union `Element[str] | Unknown | None`
[error] unresolved-attribute - Attribute `xpath` is not defined on `Element[Unknown]`, `None` in union `Element[Unknown] | Unknown | None`
[error] unresolved-attribute - Attribute `xpath` is not defined on `Element[str]`, `None` in union `Element[str] | Unknown | None`
[error] unresolved-attribute - Attribute `xpath` is not defined on `Element[Unknown]`, `None` in union `Element[Unknown] | Unknown | None`
[error] unresolved-attribute - Attribute `xpath` is not defined on `Element[str]`, `None` in union `Element[str] | Unknown | None`

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

src/integrations/prefect-aws/tests/test_glue_job.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_get_client` of type `def _get_client(self) -> Any`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_start_job` of type `def _start_job(self, client: Any) -> str`

src/integrations/prefect-aws/tests/workers/test_ecs_worker.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_retrieve_task_definition` of type `def _retrieve_task_definition(self, logger: Logger, ecs_client: Unknown, task_definition: str) -> Unknown`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_create_task_run` of type `def _create_task_run(self, ecs_client: Unknown, task_run_request: dict[Unknown, Unknown]) -> str`

src/integrations/prefect-dbt/tests/core/test_orchestrator_per_node.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `_execute_per_node` of type `def _execute_per_node(self, waves, phases, largest_wave, full_refresh, macro_paths=None, freshness_results=None, all_nodes=None, adapter_type=None, project_name=None, target: str | None = None, extra_cli_args: list[str] | None = None, all_executable_nodes=None) -> Unknown`

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

[error] invalid-argument-type - Argument expression after ** must be a mapping type: Found `dict[str, str] | str | None`
[error] invalid-argument-type - Argument expression after ** must be a mapping type: Found `dict[str, str] | str | None`

src/prefect/cli/_server_utils.py

[error] unresolved-attribute - Attribute `get_secret_value` is not defined on `None` in union `SecretStr | None`

src/prefect/tasks.py

[error] invalid-assignment - Object of type `str | int | float | list[int | float] | None` is not assignable to `int | float | list[int | float] | ((int, /) -> list[int | float]) | None`

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

pyppeteer/page.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["clip"]` and value of type `(Unknown & ~AlwaysFalsy) | (dict[str, int | Unknown] & ~AlwaysFalsy)` on object of type `dict[str, str]`

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

src/_pytest/junitxml.py

[error] invalid-assignment - Object of type `() -> Element[Unknown]` is not assignable to attribute `to_xml` of type `def to_xml(self) -> Element[Unknown]`
[error] invalid-assignment - Object of type `() -> Element[str]` is not assignable to attribute `to_xml` of type `def to_xml(self) -> Element[str]`

pywin32 (https://github.com/mhammond/pywin32)

win32/Lib/sspi.py

[error] not-iterable - Object of type `None` is not iterable

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

rotkehlchen/tests/exchanges/test_bitfinex.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

rotkehlchen/tests/unit/test_tokens.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `find_main_currency_prices` of type `def find_main_currency_prices(from_assets: Sequence[Asset], ignore_cache: bool = False, skip_onchain: bool = False) -> dict[Asset, Price]`
[error] unresolved-attribute - Function `find_main_currency_prices` has no attribute `call_args_list`

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

sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py

[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_raw_predict` of type `def _raw_predict(self, X, n_threads=None) -> Unknown`
[error] invalid-assignment - Object of type `Mock` is not assignable to attribute `_raw_predict` of type `def _raw_predict(self, X, n_threads=None) -> Unknown`

sklearn/linear_model/_least_angle.py

[warning] possibly-unresolved-reference - Name `C_idx` used when possibly not defined
[warning] possibly-unresolved-reference - Name `C_idx` used when possibly not defined

sklearn/tree/_classes.py

[error] unresolved-attribute - Attribute `take` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `list[ndarray[tuple[Any, ...], dtype[Unknown]]] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
[error] unresolved-attribute - Attribute `take` is not defined on `list[ndarray[tuple[Any, ...], dtype[Unknown]]]` in union `list[ndarray[tuple[Any, ...], dtype[Unknown]]] | ndarray[tuple[Any, ...], dtype[Unknown]] | Any`

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

tests/test_downloadermiddleware_redirect.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_spider_middleware` of type `def get_spider_middleware[_T](self, cls: type[_T]) -> _T | None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_spider_middleware` of type `def get_spider_middleware[_T](self, cls: type[_T]) -> _T | None`
[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_spider_middleware` of type `def get_spider_middleware[_T](self, cls: type[_T]) -> _T | None`

tests/test_downloadermiddleware_redirect_metarefresh.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `get_spider_middleware` of type `def get_spider_middleware[_T](self, cls: type[_T]) -> _T | None`

tests/test_downloadermiddleware_robotstxt.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `process_request_2` of type `def process_request_2(self, rp: RobotParser | None, request: Request) -> None`
[error] unresolved-attribute - Object of type `bound method RobotsTxtMiddleware.process_request_2(rp: RobotParser | None, request: Request) -> None` has no attribute `called`
[error] unresolved-attribute - Object of type `bound method RobotsTxtMiddleware.process_request_2(rp: RobotParser | None, request: Request) -> None` has no attribute `called`
[error] unresolved-attribute - Object of type `bound method RobotsTxtMiddleware.process_request_2(rp: RobotParser | None, request: Request) -> None` has no attribute `called`

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

setuptools/_distutils/text_file.py

[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None | Unknown | Divergent` and `Literal[1]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None | Unknown` and `Literal[1]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None | Unknown | Divergent` and `Literal[1]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `int | None | Unknown` and `Literal[1]`

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

lib/spack/spack/test/conftest.py

[error] unresolved-attribute - Attribute `get` is not defined on `None` in union `Element[Unknown] | None`
[error] unresolved-attribute - Attribute `get` is not defined on `None` in union `Element[str] | None`

spark (https://github.com/apache/spark)

python/pyspark/ml/classification.py

[error] invalid-argument-type - Argument to `JavaMLWriter.__init__` is incorrect: Expected `JavaMLWritable`, found `Self@write`
[warning] unsupported-base - Unsupported class base with type `<class 'MLReadable[OneVsRest]'> | <class 'MLReadable[OneVsRest[Unknown]]'>`

python/pyspark/ml/tests/test_algorithms.py

[error] unresolved-attribute - Object of type `Classifier[Unknown]` has no attribute `getMaxIter`
[error] unresolved-attribute - Object of type `Classifier[Unknown]` has no attribute `getMaxIter`
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `coefficients`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `coefficients`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `intercept`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `intercept`

python/pyspark/ml/tests/test_ovr.py

[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `intercept`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `intercept`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `coefficients`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `coefficients`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `intercept`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `intercept`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `coefficients`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `coefficients`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `intercept`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `intercept`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `coefficients`
[error] unresolved-attribute - Object of type `ClassificationModel` has no attribute `coefficients`

python/pyspark/sql/tests/connect/client/test_client.py

[error] unresolved-attribute - Attribute `client_type` is not defined on `None` in union `Unknown | None | ExecutePlanRequest`
[error] unresolved-attribute - Attribute `client_type` is not defined on `None` in union `ExecutePlanRequest | None`
[error] unresolved-attribute - Attribute `client_type` is not defined on `None` in union `Unknown | None | ExecutePlanRequest`
[error] unresolved-attribute - Attribute `client_type` is not defined on `None` in union `ExecutePlanRequest | None`
[error] unresolved-attribute - Attribute `operation_status` is not defined on `None` in union `Unknown | None | ExecutePlanRequest`
[error] unresolved-attribute - Attribute `operation_status` is not defined on `None` in union `ExecutePlanRequest | None`
[error] unresolved-attribute - Attribute `operation_status` is not defined on `None` in union `Unknown | None | ExecutePlanRequest`
[error] unresolved-attribute - Attribute `operation_status` is not defined on `None` in union `ExecutePlanRequest | None`
[error] unresolved-attribute - Attribute `operation_status` is not defined on `None` in union `Unknown | None | ExecutePlanRequest`
[error] unresolved-attribute - Attribute `operation_status` is not defined on `None` in union `ExecutePlanRequest | None`
[error] unresolved-attribute - Attribute `extensions` is not defined on `None` in union `Unknown | None | ExecutePlanRequest`
[error] unresolved-attribute - Attribute `extensions` is not defined on `None` in union `ExecutePlanRequest | None`
[error] unresolved-attribute - Attribute `extensions` is not defined on `None` in union `Unknown | None | ExecutePlanRequest`
[error] unresolved-attribute - Attribute `extensions` is not defined on `None` in union `ExecutePlanRequest | None`

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

static_frame/core/index_hierarchy.py

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

static_frame/core/quilt.py

[error] unresolved-attribute - Attribute `level_drop` is not defined on `None` in union `@Todo | IndexHierarchy | None`
[error] invalid-assignment - Object of type `@Todo | IndexHierarchy | None` is not assignable to attribute `_index` of type `IndexBase`
[error] unresolved-attribute - Attribute `level_drop` is not defined on `None` in union `@Todo | IndexHierarchy | None`
[error] invalid-assignment - Object of type `@Todo | IndexHierarchy | None` is not assignable to attribute `_columns` of type `IndexBase`

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

steam/ext/commands/commands.py

[error] invalid-argument-type - Argument to bound method `GroupMixin.remove_all_commands` is incorrect: Argument type `Command[CogT@GroupMixin, (...), Any] & GroupMixin[object]` does not satisfy upper bound `GroupMixin[CogT@GroupMixin]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Self@parents`, found `Self@parents | (GroupMixin[Unknown] & Top[Command[Cog[Bot] | Bot | None, (...), object]])`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `Self@parents`, found `Self@parents | (GroupMixin[Cog[Bot] | Bot | None] & Top[Command[Cog[Bot] | Bot | None, (...), object]]) | (Group[Unknown, (...), Unknown] & Top[Command[Cog[Bot] | Bot | None, (...), object]])`
[error] invalid-assignment - Object of type `<class 'Command'>` is not assignable to `type[C@command]`
[error] invalid-assignment - Object of type `(type[C@command] & ~AlwaysFalsy) | <class 'Command'>` is not assignable to `type[C@command]`

steam/gateway.py

[error] invalid-assignment - Object of type `int` is not assignable to attribute `id64` of type `ID64`
[error] invalid-assignment - Object of type `ID64` is not assignable to attribute `steam_id` on type `Unknown | MessageHeader | GCMessageHeader`
[error] invalid-assignment - Object of type `ID64` is not assignable to attribute `steam_id` on type `ProtobufMessageHeader | MessageHeader | GCMessageHeader`
[error] invalid-assignment - Object of type `int` is not assignable to attribute `session_id` on type `Unknown | MessageHeader | GCMessageHeader`
[error] invalid-assignment - Object of type `int` is not assignable to attribute `session_id` on type `ProtobufMessageHeader | MessageHeader | GCMessageHeader`

steam/protobufs/msg.py

[error] invalid-parameter-default - Default value of type `MissingSentinel` is not assignable to annotated parameter type `EMsg`
[error] invalid-parameter-default - Default value of type `MissingSentinel` is not assignable to annotated parameter type `EMsg`
[error] invalid-parameter-default - Default value of type `MissingSentinel` is not assignable to annotated parameter type `EMsg`
[error] invalid-parameter-default - Default value of type `MissingSentinel` is not assignable to annotated parameter type `AppID`

steam/utils.py

[error] invalid-parameter-default - Default value of type `MissingSentinel` is not assignable to annotated parameter type `_VT@ChainMap | _T@pop`

steam/chat.py

flaky
(4/10)
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

steam/ext/commands/bot.py

flaky
(5/10)
[error] invalid-type-arguments - No type argument provided for required type variable `ChannelT` of class `Message`

steam/ext/commands/context.py

flaky
(5/10)
[error] invalid-type-arguments - No type argument provided for required type variable `ChannelT` of class `Message`
flaky
(5/10)
[error] invalid-type-arguments - No type argument provided for required type variable `ChannelT` of class `Message`

steam/ext/commands/converters.py

flaky
(5/10)
[error] invalid-type-arguments - No type argument provided for required type variable `ClanT` of class `Channel`
(5/10)
[error] invalid-type-arguments - No type argument provided for required type variable `GroupT` of class `Channel`
flaky
(5/10)
[error] invalid-type-arguments - No type argument provided for required type variable `ClanT` of class `Channel`
(5/10)
[error] invalid-type-arguments - No type argument provided for required type variable `GroupT` of class `Channel`
flaky
(5/10)
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

steam/ext/commands/cooldown.py

flaky
(5/10)
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

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

sympy/core/function.py

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

sympy/matrices/sparse.py

[error] unsupported-operator - Operator `>=` is not supported between objects of type `(Unknown & ~AlwaysFalsy) | (Expr & ~AlwaysFalsy) | (int & ~AlwaysFalsy)` and `None | Unknown`
[error] unsupported-operator - Operator `>=` is not supported between objects of type `(Expr & ~AlwaysFalsy) | (int & ~AlwaysFalsy) | (Unknown & ~AlwaysFalsy)` and `None | Unknown`

sympy/physics/secondquant.py

[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Unknown | Basic`
[error] invalid-argument-type - Argument to constructor `Mul.__new__` is incorrect: Expected `Expr | int | float | complex`, found `Basic | Unknown`

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

test/test_http2_connection.py

[error] invalid-assignment - Object of type `MagicMock` is not assignable to attribute `putheader` of type `def putheader(self, header: str | bytes, *values: str | bytes) -> None`
[error] unresolved-attribute - Object of type `bound method HTTP2Connection.putheader(header: str | bytes, *values: str | bytes) -> None` has no attribute `assert_has_calls`

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

test/datasets_utils.py

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

yarl (https://github.com/aio-libs/yarl)

yarl/_url.py

[error] not-iterable - Object of type `None` is not iterable