Ecosystem report

Old: main (merge base) 11aaa39f → New: 28855/merge d528a7eb
Lint Rule Removed Added Changed
Total 1 26 10
redundant-cast 0 26 0
disjoint-cast 1 0 10
Project Removed Added Changed
Total 1 26 10
core strict 1 7 1
prefect strict 0 3 4
streamlit strict 0 6 0
bokeh non-strict 0 1 1
mitmproxy non-strict 0 2 0
openlibrary non-strict 0 2 0
cwltool non-strict 0 1 0
dd-trace-py non-strict 0 1 0
freqtrade non-strict 0 1 0
meson strict 0 1 0
mypy non-strict 0 0 1
paasta non-strict 0 0 1
rclip strict 0 0 1
rotki strict 0 1 0
spark strict 0 0 1

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

src/bokeh/core/enums.py

[warning] redundant-cast - Value is already of type `Enumeration[str]`

src/bokeh/core/has_props.py

[warning] disjoint-cast - Cast from `list[type[Model]]` to disjoint type `list[type[HasProps]]`
[warning] disjoint-cast - Cast from `list[type[HasProps | Model]]` to disjoint type `list[type[HasProps]]`

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

homeassistant/components/anthropic/entity.py

[warning] redundant-cast - Value is already of type `JsonArrayType`

homeassistant/components/http/config.py

[warning] redundant-cast - Value is already of type `ConfData`

homeassistant/components/overseerr/services.py

[warning] disjoint-cast - Cast from `list[dict[str, Any]]` to disjoint type `list[JsonValueType]`
[warning] redundant-cast - Value is already of type `list[JsonValueType]`

homeassistant/components/stookwijzer/services.py

[warning] disjoint-cast - Cast from `dict[str, list[Forecast]]` to disjoint type `ServiceResponse`
[warning] disjoint-cast - Cast from `dict[str, dict[str, JsonValueType] | list[JsonValueType] | str | ... omitted 3 union elements]` to disjoint type `ServiceResponse`

homeassistant/components/unifiprotect/data.py

[warning] redundant-cast - Value is already of type `list[UFPConfigEntry]`

homeassistant/loader.py

[warning] redundant-cast - Value is already of type `BluetoothMatcher`
[warning] redundant-cast - Value is already of type `DHCPMatcher`
[warning] redundant-cast - Value is already of type `USBMatcher`

cwltool non-strict (https://github.com/common-workflow-language/cwltool)

cwltool/cwlprov/ro.py

[warning] redundant-cast - Value is already of type `Aggregate`

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

ddtrace/llmobs/_utils.py

[warning] redundant-cast - Value is already of type `Prompt`

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

freqtrade/ft_types/backtest_result_type.py

[warning] redundant-cast - Value is already of type `BacktestResultType`

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

mesonbuild/build.py

[warning] redundant-cast - Value is already of type `defaultdict[Literal["c", "cpp", "cuda", "fortran", "d", ... omitted 11 literals], list[str]]`

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

mitmproxy/utils/signals.py

[warning] redundant-cast - Value is already of type `_SyncSignal[P@SyncSignal]`
[warning] redundant-cast - Value is already of type `_AsyncSignal[P@AsyncSignal]`

mypy non-strict (https://github.com/python/mypy)

mypyc/test/test_statement.py

[warning] disjoint-cast - Cast from `dict[str | Unknown, object]` to disjoint type `dict[str, State]`
[warning] disjoint-cast - Cast from `dict[str, object]` to disjoint type `dict[str, State]`

openlibrary non-strict (https://github.com/internetarchive/openlibrary)

openlibrary/solr/updater/work.py

[warning] redundant-cast - Value is already of type `NormalizedAuthor`
[warning] redundant-cast - Value is already of type `SolrDocument`

paasta non-strict (https://github.com/yelp/paasta)

paasta_tools/spark_tools.py

[warning] disjoint-cast - Cast from `list[dict[str, str]]` to disjoint type `list[DockerVolume]`
[warning] disjoint-cast - Cast from `list[DockerVolume | dict[str, str]]` to disjoint type `list[DockerVolume]`

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

src/prefect/server/orchestration/dependencies.py

[warning] redundant-cast - Value is already of type `dict[str, Any]`
[warning] redundant-cast - Value is already of type `dict[str, Any]`

src/prefect/__init__.py

[warning] redundant-cast - Value is already of type `VersionInfo`

src/prefect/server/orchestration/core_policy.py

[warning] disjoint-cast - Cast from `list[<class 'PreserveDeploymentConcurrencyLeaseId'> | <class 'PreventDuplicateTransitions'> | <class 'HandleFlowTerminalStateTransitions'> | ... omitted 14 union elements]` to disjoint type `list[type[BaseUniversalTransform[FlowRun, FlowRunPolicy] | BaseOrchestrationRule[FlowRun, FlowRunPolicy]]]`
[warning] disjoint-cast - Cast from `list[type[BaseUniversalTransform[FlowRun, FlowRunPolicy] | BaseOrchestrationRule[FlowRun, FlowRunPolicy]] | <class 'EnforceCancellingToCancelledTransition'> | <class 'PreventPendingTransitions'> | <class 'CopyScheduledTime'> | <class 'WaitForScheduledTime'>]` to disjoint type `list[type[BaseUniversalTransform[FlowRun, FlowRunPolicy] | BaseOrchestrationRule[FlowRun, FlowRunPolicy]]]`
[warning] disjoint-cast - Cast from `list[<class 'CacheRetrieval'> | <class 'HandleTaskTerminalStateTransitions'> | <class 'PreventRunningTasksFromStoppedFlows'> | ... omitted 8 union elements]` to disjoint type `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]]]`
[warning] disjoint-cast - Cast from `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]] | <class 'CopyScheduledTime'> | <class 'WaitForScheduledTime'> | <class 'RenameReruns'>]` to disjoint type `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]]]`
[warning] disjoint-cast - Cast from `list[<class 'CacheRetrieval'> | <class 'HandleTaskTerminalStateTransitions'> | <class 'PreventRunningTasksFromStoppedFlows'> | ... omitted 7 union elements]` to disjoint type `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]]]`
[warning] disjoint-cast - Cast from `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]] | <class 'CopyScheduledTime'> | <class 'WaitForScheduledTime'> | <class 'RenameReruns'>]` to disjoint type `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]]]`
[warning] disjoint-cast - Cast from `list[<class 'PreventPendingTransitions'> | <class 'CacheRetrieval'> | <class 'HandleTaskTerminalStateTransitions'> | ... omitted 9 union elements]` to disjoint type `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]]]`
[warning] disjoint-cast - Cast from `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]] | <class 'PreventPendingTransitions'> | <class 'CopyScheduledTime'> | <class 'WaitForScheduledTime'> | <class 'RenameReruns'>]` to disjoint type `list[type[BaseUniversalTransform[TaskRun, TaskRunPolicy] | BaseOrchestrationRule[TaskRun, TaskRunPolicy]]]`

rclip strict (https://github.com/yurijmikhalevich/rclip)

rclip/db.py

[warning] disjoint-cast - Cast from `list[dict[Unknown, Unknown]]` to disjoint type `list[Image]`
[warning] disjoint-cast - Cast from `list[Image | dict[Unknown, Unknown]]` to disjoint type `list[Image]`

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

rotkehlchen/chain/ethereum/modules/liquity/trove.py

[warning] redundant-cast - Value is already of type `LiquityBalanceWithProxy`

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

python/pyspark/pandas/namespace.py

[warning] disjoint-cast - Cast from `list[Series[Unknown] | DataFrame[Unknown] | Index]` to disjoint type `list[DataFrame[Unknown]]`
[warning] disjoint-cast - Cast from `list[DataFrame[Unknown] | Series[Unknown] | Index]` to disjoint type `list[DataFrame[Unknown]]`

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
flaky
(1/10)
[error] invalid-generic-class - Variance of type variable `MemberT` is incompatible with method `mentions`
flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `list[ClanMember | PartialMember] | list[GroupMember | PartialMember]` is not a subtype of `list[MemberT@ChatMessage | PartialMember]`
flaky
(1/10)
[error] invalid-generic-class - Variance of type variable `MemberT` is incompatible with method `_maybe_members`
flaky
(1/10)
[error] invalid-generic-class - Variance of type variable `MemberT` is incompatible with method `officers`
flaky
(1/10)
[error] invalid-generic-class - Variance of type variable `MemberT` is incompatible with method `mods`

steam/client.py

flaky
(2/10)
[warning] unsound-return-statement - Unsound return statement: `PublishedFile[User | PartialUser] | None` is not a subtype of `PublishedFile[PartialUser] | None`
flaky
(2/10)
[warning] unsound-return-statement - Unsound return statement: `list[PublishedFile[User | PartialUser] | None]` is not a subtype of `list[PublishedFile[PartialUser] | None]`

steam/ext/commands/converters.py

flaky
(1/10)
[warning] unsound-return-statement - Unsound return statement: `(ClanMember & Member[Unknown, Unknown]) | (PartialMember & Member[Unknown, Unknown]) | (GroupMember & Member[Unknown, Unknown])` is not a subtype of `Member[Clan | None, Group | None]`

steam/ext/csgo/models.py

flaky
(1/10)
[error] call-non-callable - Cannot instantiate `MatchPlayer` with unimplemented abstract methods `_send_message` and `_send_media`

steam/leaderboard.py

flaky
(1/10)
[error] call-non-callable - Cannot instantiate `LeaderboardUser` with unimplemented abstract methods `_send_message` and `_send_media`

steam/published_file.py

flaky
(2/10)
[warning] unsound-return-statement - Unsound return statement: `PublishedFile[User | PartialUser] & ~AlwaysFalsy` is not a subtype of `PublishedFile[PartialUser]`

steam/review.py

flaky
(2/10)
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `bool | None`

steam/state.py

flaky
(1/10)
[error] call-non-callable - Cannot instantiate `Friend` with unimplemented abstract methods `_send_message` and `_send_media`
(1/10)
[error] call-non-callable - Cannot instantiate `Friend` with unimplemented abstract methods `_send_message` and `_send_media`
flaky
(1/10)
[error] call-non-callable - Cannot instantiate `Friend` with unimplemented abstract methods `_send_message` and `_send_media`
flaky
(2/10)
[warning] disjoint-cast - Cast from `ID[Type]` to disjoint type `User`

steam/user.py

flaky
(2/10)
[warning] unsupported-base - Unsupported class base with type `<class 'Messageable[UserMessage[User | Friend | ClientUser]]'> | <class 'Messageable[UserMessage[User | ClientUser]]'>`
flaky
(2/10)
[warning] unsound-assignment - Unsound assignment: `Unknown` is not a subtype of `GetRecentMessagesResponseFriendMessage | None`
flaky
(1/10)
[warning] unsupported-base - Unsupported class base with type `<class 'Messageable[UserMessage[User | Friend | ClientUser]]'> | <class 'Messageable[UserMessage[User | ClientUser]]'>`

streamlit strict (https://github.com/streamlit/streamlit)

lib/streamlit/watcher/local_sources_watcher.py

[warning] redundant-cast - Value is already of type `list[str | None]`
[warning] redundant-cast - Value is already of type `list[str | None]`
[warning] redundant-cast - Value is already of type `list[str | None]`
[warning] redundant-cast - Value is already of type `list[str | None]`

lib/streamlit/dataframe_util.py

[warning] redundant-cast - Value is already of type `list[V_co@convert_anything_to_list]`

lib/streamlit/runtime/media_file_manager.py

[warning] redundant-cast - Value is already of type `DeferredCallableEntry`