Ecosystem report

Old: main (merge base) d1e1b1f6 → New: 29344/merge 1761318e
Lint Rule Removed Added Changed
Total 30 0 11
unresolved-attribute 3 0 8
unknown-argument 8 0 0
invalid-return-type 7 0 0
invalid-assignment 6 0 0
invalid-await 3 0 0
invalid-argument-type 2 0 0
invalid-context-manager 0 0 2
type-assertion-failure 1 0 1
Project Removed Added Changed
Total 30 0 11
prefect strict 14 0 10
sympy non-strict 15 0 0
scipy-stubs non-strict 1 0 1

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

src/integrations/prefect-aws/prefect_aws/bundles/execute.py

[error] unresolved-attribute - Attribute `get_s3_client` is not defined on `Coroutine[Any, Any, AwsCredentials]` in union `AwsCredentials | Coroutine[Any, Any, AwsCredentials]`
[error] unresolved-attribute - Attribute `get_s3_client` is not defined on `Coroutine[Any, Any, Unknown]` in union `Unknown | Coroutine[Any, Any, Unknown] | AwsCredentials`

src/integrations/prefect-aws/prefect_aws/bundles/upload.py

[error] unresolved-attribute - Attribute `get_s3_client` is not defined on `Coroutine[Any, Any, AwsCredentials]` in union `AwsCredentials | Coroutine[Any, Any, AwsCredentials]`
[error] unresolved-attribute - Attribute `get_s3_client` is not defined on `Coroutine[Any, Any, Unknown]` in union `Unknown | Coroutine[Any, Any, Unknown] | AwsCredentials`

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

[error] unresolved-attribute - Attribute `credentials` is not defined on `Coroutine[Any, Any, S3Bucket]` in union `S3Bucket | Coroutine[Any, Any, S3Bucket]`
[error] unresolved-attribute - Attribute `credentials` is not defined on `Coroutine[Any, Any, Unknown]` in union `Unknown | Coroutine[Any, Any, Unknown]`

src/integrations/prefect-azure/prefect_azure/bundles/execute.py

[error] invalid-await - `AzureBlobStorageCredentials | Coroutine[Any, Any, AzureBlobStorageCredentials]` is not awaitable
[error] unknown-argument - Argument `_sync` does not match any known parameter

src/integrations/prefect-azure/prefect_azure/bundles/upload.py

[error] invalid-await - `AzureBlobStorageCredentials | Coroutine[Any, Any, AzureBlobStorageCredentials]` is not awaitable
[error] unknown-argument - Argument `_sync` does not match any known parameter

src/integrations/prefect-dbt/tests/cli/test_credentials.py

[error] invalid-await - `DbtCliProfile | Coroutine[Any, Any, DbtCliProfile]` is not awaitable

src/integrations/prefect-email/tests/test_credentials.py

[error] unresolved-attribute - Object of type `SMTP` has no attribute `port`
[error] unresolved-attribute - Object of type `SMTP` has no attribute `port`
[error] unresolved-attribute - Attribute `smtp_type` is not defined on `Coroutine[Any, Any, EmailServerCredentials]` in union `EmailServerCredentials | Coroutine[Any, Any, EmailServerCredentials]`
[error] unresolved-attribute - Attribute `smtp_type` is not defined on `Coroutine[Any, Any, Unknown]` in union `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - Attribute `get_server` is not defined on `Coroutine[Any, Any, EmailServerCredentials]` in union `EmailServerCredentials | Coroutine[Any, Any, EmailServerCredentials]`
[error] unresolved-attribute - Attribute `get_server` is not defined on `Coroutine[Any, Any, Unknown]` in union `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - Attribute `smtp_type` is not defined on `Coroutine[Any, Any, EmailServerCredentials]` in union `EmailServerCredentials | Coroutine[Any, Any, EmailServerCredentials]`
[error] unresolved-attribute - Attribute `smtp_type` is not defined on `Coroutine[Any, Any, Unknown]` in union `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - Attribute `verify` is not defined on `Coroutine[Any, Any, EmailServerCredentials]` in union `EmailServerCredentials | Coroutine[Any, Any, EmailServerCredentials]`
[error] unresolved-attribute - Attribute `verify` is not defined on `Coroutine[Any, Any, Unknown]` in union `Unknown | Coroutine[Any, Any, Unknown]`
[error] unresolved-attribute - Attribute `get_server` is not defined on `Coroutine[Any, Any, EmailServerCredentials]` in union `EmailServerCredentials | Coroutine[Any, Any, EmailServerCredentials]`
[error] unresolved-attribute - Attribute `get_server` is not defined on `Coroutine[Any, Any, Unknown]` in union `Unknown | Coroutine[Any, Any, Unknown]`

src/integrations/prefect-gcp/prefect_gcp/bundles/execute.py

[error] unknown-argument - Argument `_sync` does not match any known parameter

src/integrations/prefect-gcp/prefect_gcp/bundles/upload.py

[error] unknown-argument - Argument `_sync` does not match any known parameter

src/integrations/prefect-sqlalchemy/tests/test_database.py

[error] invalid-context-manager - Object of type `SqlAlchemyConnector | Coroutine[Any, Any, SqlAlchemyConnector]` cannot be used with `with` because the methods `__enter__` and `__exit__` are possibly missing
[error] invalid-context-manager - Object of type `Unknown | Coroutine[Any, Any, Unknown]` cannot be used with `with` because the methods `__enter__` and `__exit__` are possibly missing
[error] invalid-context-manager - Object of type `SqlAlchemyConnector | Coroutine[Any, Any, SqlAlchemyConnector]` cannot be used with `with` because the methods `__enter__` and `__exit__` are possibly missing
[error] invalid-context-manager - Object of type `Unknown | Coroutine[Any, Any, Unknown]` cannot be used with `with` because the methods `__enter__` and `__exit__` are possibly missing

src/prefect/blocks/core.py

[error] unknown-argument - Argument `_sync` does not match any known parameter
[error] unknown-argument - Argument `_sync` does not match any known parameter

src/prefect/cli/deployment.py

[error] unresolved-attribute - Object of type `object` has no attribute `model_dump`

src/prefect/flows.py

[error] unknown-argument - Argument `_sync` does not match any known parameter

src/prefect/results.py

[error] unknown-argument - Argument `_sync` does not match any known parameter

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

tests/sparse/test_construct.pyi

[error] type-assertion-failure - Type `dia_array[floating[_32Bit]]` does not match asserted type `dia_array[floating[_128Bit]]`
[error] type-assertion-failure - Type `dia_array[ScalarType]` does not match asserted type `dia_array[floating[_128Bit]]`

tests/sparse/test_spbase.pyi

[error] type-assertion-failure - Type `_spbase[Any, tuple[Any, ...]]` does not match asserted type `coo_matrix[float64]`

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

sympy/polys/densearith.py

[error] invalid-return-type - Return type does not match returned value: expected `list[Er@dup_add_term]`, found `list[RingElement]`
[error] invalid-argument-type - Argument to function `dup_strip` is incorrect: Expected `Domain[RingElement] | None`, found `Domain[Er@dup_add_term]`
[error] invalid-return-type - Return type does not match returned value: expected `list[Er@dup_add_term]`, found `list[RingElement]`
[error] invalid-return-type - Return type does not match returned value: expected `list[Er@dup_sub_term]`, found `list[RingElement]`
[error] invalid-argument-type - Argument to function `dup_strip` is incorrect: Expected `Domain[RingElement] | None`, found `Domain[Er@dup_sub_term]`
[error] invalid-return-type - Return type does not match returned value: expected `list[Er@dup_sub_term]`, found `list[RingElement]`
[error] invalid-return-type - Return type does not match returned value: expected `list[Er@dup_mul_term]`, found `list[RingElement]`
[error] invalid-return-type - Return type does not match returned value: expected `list[Er@dup_mul_ground]`, found `list[RingElement]`

sympy/polys/densetools.py

[error] invalid-return-type - Return type does not match returned value: expected `Er@dup_eval`, found `Er@dup_eval | (RingElement & ~AlwaysFalsy)`

sympy/polys/sparsetools.py

[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[Literal[0], ...]` and value of type `RingElement & ~AlwaysFalsy` on object of type `dict[tuple[int, ...], Er@_smp_iadd_ground]`
[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[Literal[0], ...]` and value of type `RingElement & ~AlwaysFalsy` on object of type `dict[tuple[int, ...], Er@_smp_isub_ground]`
[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[int, ...]` and value of type `RingElement & ~AlwaysFalsy` on object of type `dict[tuple[int, ...], Er@_smp_imul_ground]`
[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[int, ...]` and value of type `RingElement & ~AlwaysFalsy` on object of type `dict[tuple[int, ...], Er@smp_imul_num]`
[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[int, ...]` and value of type `RingElement & ~AlwaysFalsy` on object of type `dict[tuple[int, ...], Er@smp_subs]`
[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[int, ...]` and value of type `RingElement & ~AlwaysFalsy` on object of type `dict[tuple[int, ...], Er@smp_subs_drop]`