Ecosystem report

Old: main (merge base) c4e86fc0 New: 27545/merge e08fe6de
Lint Rule Removed Added Changed
Total 45 22 10
unresolved-attribute 34 3 3
unused-type-ignore-comment 11 0 0
invalid-assignment 0 10 0
not-subscriptable 0 8 0
unsupported-operator 0 0 7
invalid-argument-type 0 1 0
Project Removed Added Changed
Total 45 22 10
spack non-strict 16 0 2
scipy non-strict 1 4 4
sympy non-strict 7 1 1
pip non-strict 8 0 0
graphql-core strict 6 0 0
manticore non-strict 2 2 0
mongo-python-driver strict 0 4 0
spark strict 0 4 0
scikit-learn strict 0 3 0
static-frame non-strict 3 0 0
pandas strict 0 2 0
pywin32 non-strict 2 0 0
stone non-strict 0 0 2
aiohttp-devtools non-strict 0 1 0
apprise non-strict 0 1 0
dd-trace-py non-strict 0 0 1

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

aiohttp_devtools/runserver/serve.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `bytes | bytearray | Payload | None`

apprise non-strict (https://github.com/caronc/apprise)

apprise/plugins/telegram.py

[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method

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

ddtrace/internal/telemetry/writer.py

[error] unsupported-operator - Operator `>` is not supported between objects of type `float` and `EnvVariable[float]`
[error] unsupported-operator - Operator `>` is not supported between objects of type `float | Unknown` and `EnvVariable[float]`

graphql-core strict (https://github.com/graphql-python/graphql-core)

tests/pyutils/test_inspect.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

manticore non-strict (https://github.com/trailofbits/manticore)

manticore/platforms/evm.py

[error] unresolved-attribute - Object of type `Self@add_refund` has no attribute `_refund`
[error] unresolved-attribute - Object of type `Self@sub_refund` has no attribute `_refund`

scripts/binaryninja/manticore_viz/__init__.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[0]` and value of type `float` on object of type `list[int]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[0]` and value of type `float` on object of type `list[int]`

mongo-python-driver strict (https://github.com/mongodb/mongo-python-driver)

pymongo/ssl_support.py

[error] invalid-assignment - Object of type `int | Any` is not assignable to attribute `options` on type `pymongo.pyopenssl_context.SSLContext | ssl.SSLContext`
[error] invalid-assignment - Object of type `int | Any` is not assignable to attribute `options` on type `pymongo.pyopenssl_context.SSLContext | ssl.SSLContext`
[error] invalid-assignment - Object of type `int | Any` is not assignable to attribute `options` on type `pymongo.pyopenssl_context.SSLContext | ssl.SSLContext`
[error] invalid-assignment - Object of type `Any | int` is not assignable to attribute `options` on type `pymongo.pyopenssl_context.SSLContext | ssl.SSLContext`

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

pandas/tests/arithmetic/test_datetime64.py

[error] invalid-assignment - Cannot assign to read-only property `values` on object of type `TimedeltaIndex`: Attempted assignment to `TimedeltaIndex.values` here
[error] invalid-assignment - Cannot assign to read-only property `_values` on object of type `TimedeltaIndex`: Attempted assignment to `TimedeltaIndex._values` here

pip non-strict (https://github.com/pypa/pip)

src/pip/_vendor/pygments/filters/__init__.py

[error] unresolved-attribute - Object of type `Self@__init__` has no attribute `tabs`
[error] unresolved-attribute - Object of type `Self@__init__` has no attribute `tabs`
[error] unresolved-attribute - Object of type `Self@__init__` has no attribute `newlines`
[error] unresolved-attribute - Object of type `Self@__init__` has no attribute `newlines`
[error] unresolved-attribute - Object of type `Self@filter` has no attribute `tabs`
[error] unresolved-attribute - Object of type `Self@filter` has no attribute `newlines`
[error] unresolved-attribute - Object of type `Self@filter` has no attribute `tabs`
[error] unresolved-attribute - Object of type `Self@filter` has no attribute `newlines`

pywin32 non-strict (https://github.com/mhammond/pywin32)

pythonwin/pywin/scintilla/formatter.py

[error] unresolved-attribute - Object of type `Self@RegisterStyle` has no attribute `nextstylenum`
[error] unresolved-attribute - Object of type `Self@RegisterStyle` has no attribute `nextstylenum`

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

sklearn/decomposition/_lda.py

[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method

sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py

[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method

sklearn/preprocessing/_polynomial.py

[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[slice[None, None, None], slice[None, Unknown | int, None]]` and value of type `lil_array[float64]` on object of type `lil_array[float64]`

scipy non-strict (https://github.com/scipy/scipy)

scipy/optimize/_hessian_update_strategy.py

[error] unresolved-attribute - Attribute `dtype` is not defined on `None`, `int`, `float*` in union `None | ndarray[tuple[int, int], dtype[Any]] | float | ndarray[tuple[Any, ...], dtype[Any]]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `None`, `int`, `float*` in union `None | ndarray[tuple[int, int], dtype[Any]] | float | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `dtype` is not defined on `None`, `int`, `float*` in union `None | ndarray[tuple[int, int], dtype[Any]] | float | ndarray[tuple[Any, ...], dtype[Any]]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `None`, `int`, `float*` in union `None | ndarray[tuple[int, int], dtype[Any]] | float | ... omitted 3 union elements`
[error] unsupported-operator - Operator `*=` is not supported between objects of type `None` and `float* | ndarray[tuple[Any, ...], dtype[Any]]`
[error] unsupported-operator - Operator `*=` is not supported between objects of type `None` and `float* | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] unsupported-operator - Operator `*=` is not supported between objects of type `None` and `float* | ndarray[tuple[Any, ...], dtype[Any]]`
[error] unsupported-operator - Operator `*=` is not supported between objects of type `None` and `float* | ndarray[tuple[Any, ...], dtype[Unknown]]`

scipy/optimize/_nonlin.py

[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method

scipy/optimize/_slsqp_py.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Unknown` and value of type `tuple[dict[str, Unknown], ...]` on object of type `dict[str, tuple[()]]`

scipy/signal/_spectral_py.py

[error] not-subscriptable - Cannot subscript object of type `Literal[0]` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `Literal[0]` with no `__getitem__` method

scipy/special/_orthogonal.py

[error] unresolved-attribute - Object of type `Self@_scale` has no attribute `_coeffs`

spack non-strict (https://github.com/spack/spack)

lib/spack/spack/vendor/macholib/MachO.py

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

lib/spack/spack/vendor/pyrsistent/_pvector.py

[error] unresolved-attribute - Unresolved attribute `_count` on type `Self@__new__`
[error] unresolved-attribute - Object of type `Self@__new__` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@__len__` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@__getitem__` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@__eq__` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@set` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@set` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@set` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@set` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@set` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@_create_new_root` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@append` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@append` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@_mutating_fill_tail` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@_mutating_extend` has no attribute `_count`
[error] unresolved-attribute - Object of type `Self@_push_tail` has no attribute `_count`

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

python/pyspark/pandas/tests/computation/test_describe.py

[error] unresolved-attribute - Unresolved attribute `A` on type `DataFrame`
[error] unresolved-attribute - Unresolved attribute `A` on type `DataFrame`
[error] unresolved-attribute - Unresolved attribute `A` on type `DataFrame`

python/pyspark/pandas/tests/series/test_string_ops_basic.py

[error] not-subscriptable - Cannot subscript object of type `Index` with no `__getitem__` method

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

static_frame/core/type_blocks.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

steam.py non-strict (https://github.com/Gobot1234/steam.py)

steam/chat.py

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

steam/user.py

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

stone non-strict (https://github.com/dropbox/stone)

stone/frontend/lexer.py

[error] unsupported-operator - Operator `>` is not supported between objects of type `None | int` and `Literal[0]`
[error] unsupported-operator - Operator `>` is not supported between objects of type `None | int | Unknown` and `Literal[0]`
[error] unsupported-operator - Operator `*` is not supported between objects of type `list[Unknown]` and `None | int`
[error] unsupported-operator - Operator `*` is not supported between objects of type `list[Unknown]` and `None | int | Unknown`

sympy non-strict (https://github.com/sympy/sympy)

sympy/geometry/polygon.py

[error] unresolved-attribute - Object of type `Self@rotation` has no attribute `_rot`
[error] unresolved-attribute - Object of type `Self@spin` has no attribute `_rot`
[error] unresolved-attribute - Object of type `Self@rotate` has no attribute `_rot`
[error] unresolved-attribute - Object of type `Self@vertices` has no attribute `_rot`
[error] unresolved-attribute - Object of type `Self@args` has no attribute `_rot`

sympy/logic/boolalg.py

[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method

sympy/matrices/repmatrix.py

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

sympy/physics/continuum_mechanics/column.py

[error] unresolved-attribute - Object of type `int` has no attribute `subs`
[error] unresolved-attribute - Attribute `subs` is not defined on `int` in union `int | Expr | Unknown`