Ecosystem report

Old: main (merge base) bcd20284 New: 26290/merge 5cd6ee61
Lint Rule Removed Added Changed
Total 33 0 0
invalid-argument-type 16 0 0
invalid-key 7 0 0
unresolved-attribute 5 0 0
invalid-assignment 2 0 0
invalid-return-type 1 0 0
possibly-unresolved-reference 1 0 0
unsupported-operator 1 0 0
Project Removed Added Changed
Total 33 0 0
pycryptodome 12 0 0
freqtrade 7 0 0
cloud-init 3 0 0
scrapy 3 0 0
trio 3 0 0
psycopg 2 0 0
discord.py 1 0 0
werkzeug 1 0 0
xarray 1 0 0

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

tests/unittests/distros/test_opensuse.py

[error] unresolved-attribute - Object of type `Distro` has no attribute `read_only_root`
[error] unresolved-attribute - Object of type `Distro` has no attribute `read_only_root`
[error] unresolved-attribute - Object of type `Distro` has no attribute `read_only_root`

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

discord/audit_logs.py

[error] invalid-return-type - Return type does not match returned value: expected `list[tuple[Object, PermissionOverwrite]]`, found `list[tuple[Role | Member | User | Object, PermissionOverwrite]]`

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

freqtrade/rpc/telegram.py

[error] invalid-key - Unknown key "status" for TypedDict `RPCAnalyzedDFMsg` (subscripted object has type `RPCStatusMsg | RPCStrategyMsg | RPCProtectionMsg | ... omitted 5 union elements`)
[error] invalid-key - Unknown key "status" for TypedDict `RPCEntryMsg` (subscripted object has type `RPCStatusMsg | RPCStrategyMsg | RPCProtectionMsg | ... omitted 5 union elements`)
[error] invalid-key - Unknown key "status" for TypedDict `RPCExitMsg` (subscripted object has type `RPCStatusMsg | RPCStrategyMsg | RPCProtectionMsg | ... omitted 5 union elements`)
[error] invalid-key - Unknown key "status" for TypedDict `RPCNewCandleMsg` (subscripted object has type `RPCStatusMsg | RPCStrategyMsg | RPCProtectionMsg | ... omitted 5 union elements`)
[error] invalid-key - Unknown key "status" for TypedDict `RPCProtectionMsg` (subscripted object has type `RPCStatusMsg | RPCStrategyMsg | RPCProtectionMsg | ... omitted 5 union elements`)
[error] invalid-key - Unknown key "status" for TypedDict `RPCStrategyMsg` (subscripted object has type `RPCStatusMsg | RPCStrategyMsg | RPCProtectionMsg | ... omitted 5 union elements`)
[error] invalid-key - Unknown key "status" for TypedDict `RPCWhitelistMsg` (subscripted object has type `RPCStatusMsg | RPCStrategyMsg | RPCProtectionMsg | ... omitted 5 union elements`)

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

tests/test_cursor_common.py

[error] unresolved-attribute - Module `psycopg` has no member `ProgrammingError`

tests/test_cursor_common_async.py

[error] unresolved-attribute - Module `psycopg` has no member `ProgrammingError`

pycryptodome (https://github.com/Legrandin/pycryptodome)

lib/Crypto/IO/PKCS8.py

[error] invalid-argument-type - Argument to bound method `DerSequence.decode` is incorrect: Expected `bytes`, found `None`
[error] invalid-argument-type - Argument to bound method `DerSequence.decode` is incorrect: Expected `int | None`, found `tuple[Literal[1], Literal[2]]`
[error] invalid-argument-type - Argument to bound method `DerObjectId.decode` is incorrect: Expected `bytes`, found `None`
[error] invalid-argument-type - Argument to bound method `DerObject.decode` is incorrect: Expected `bytes`, found `None`
[error] invalid-argument-type - Argument to bound method `DerObject.decode` is incorrect: Expected `bytes`, found `None`

lib/Crypto/PublicKey/ECC.py

[error] invalid-argument-type - Argument to bound method `DerObject.decode` is incorrect: Expected `bytes`, found `None`
[error] invalid-argument-type - Argument to bound method `DerObjectId.decode` is incorrect: Expected `bytes`, found `None`
[error] invalid-argument-type - Argument to bound method `DerBitString.decode` is incorrect: Expected `bytes`, found `None`

lib/Crypto/PublicKey/RSA.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method DerSequence.__getitem__(n: int) -> None` cannot be called with key of type `slice[Literal[1], Literal[6], None]` on object of type `DerSequence`
[error] unsupported-operator - Operator `+` is not supported between objects of type `None` and `list[IntegerBase]`
[error] invalid-argument-type - Argument to `IntegerBase.__init__` is incorrect: Expected `IntegerBase | int`, found `None`
[error] invalid-argument-type - Argument to bound method `IntegerBase.inverse` is incorrect: Expected `IntegerBase | int`, found `None`

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

tests/test_http_response.py

[error] invalid-argument-type - Argument to bound method `Response.follow_all` is incorrect: Expected `Iterable[str | Link]`, found `None`
[error] invalid-argument-type - Argument to bound method `Response.follow_all` is incorrect: Expected `Iterable[str | Link]`, found `Literal[12345]`
[error] invalid-argument-type - Argument to bound method `Response.follow_all` is incorrect: Expected `Iterable[str | Link]`, found `list[None]`

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

steam/chat.py

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

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

src/trio/_core/_tests/test_run.py

[error] invalid-assignment - Object of type `Value[object] | Error` is not assignable to `Outcome[str] | None`
[error] invalid-argument-type - Argument to bound method `CoroutineType.send` is incorrect: Expected `Outcome[object]`, found `None`
[error] invalid-argument-type - Argument to bound method `CoroutineType.send` is incorrect: Expected `Outcome[object]`, found `None`

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

tests/test_test.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["test_int"]` and value of type `Literal[1]` on object of type `MultiDict[str, str]`

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

xarray/tests/test_cftime_offsets.py

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