Ecosystem report

Old: main (merge base) c6ecbc64 New: 24688/merge 8f2d0ed6
Lint Rule Removed Added Changed
Total 13 13 102
redundant-cast 13 13 102
Project Removed Added Changed
Total 13 13 102
dd-trace-py 1 1 14
pandas 0 0 16
pandera 0 0 12
mongo-python-driver 4 4 1
colour 3 3 1
core 1 1 3
rotki 0 0 5
schemathesis 0 0 5
bokeh 0 0 4
Expression 0 0 3
cwltool 0 0 3
hydra-zen 0 0 3
meson 0 0 3
prefect flaky 0 0 3
anyio 1 1 0
dedupe 0 0 2
jax 0 0 2
openlibrary 0 0 2
paasta 1 1 0
pytest-robotframework 1 1 0

Expression (https://github.com/cognitedata/Expression)

expression/core/fn.py

[warning] redundant-cast - Value is already of type `TailCall[_P@tailrec]`
[warning] redundant-cast - Redundant cast: value is already of type `TailCall[_P@tailrec]`
[warning] redundant-cast - Value is already of type `TailCall[_P@tailrec_async]`
[warning] redundant-cast - Redundant cast: value is already of type `TailCall[_P@tailrec_async]`

expression/extra/result/catch.py

[warning] redundant-cast - Value is already of type `_TError@catch`
[warning] redundant-cast - Redundant cast: value is already of type `_TError@catch`

Tanjun (https://github.com/FasterSpeeding/Tanjun)

tanjun/annotations.py

[warning] redundant-cast - Value is already of type `type[_T@__getitem__]`
[warning] redundant-cast - Redundant cast: value is already of type `type[_T@__getitem__]`

altair (https://github.com/vega/altair)

altair/utils/core.py

[warning] redundant-cast - Value is already of type `bool`
[warning] redundant-cast - Redundant cast: value is already of type `bool`

antidote (https://github.com/Finistere/antidote)

src/antidote/core/_inject.py

[warning] redundant-cast - Value is already of type `Any`
[warning] redundant-cast - Redundant cast: value is already of type `Any`

anyio (https://github.com/agronholm/anyio)

src/anyio/_backends/_asyncio.py

[warning] redundant-cast - Redundant cast: value is already of type `tuple[Transport, StreamProtocol]`
[warning] redundant-cast - Value is already of type `tuple[Transport, StreamProtocol]`

archinstall (https://github.com/archlinux/archinstall)

archinstall/tui/ui/result.py

[warning] redundant-cast - Value is already of type `list[ValueT@Result]`
[warning] redundant-cast - Redundant cast: value is already of type `list[ValueT@Result]`

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

src/bokeh/util/datatypes.py

[warning] redundant-cast - Value is already of type `set[V@MultiValuedDict]`
[warning] redundant-cast - Redundant cast: value is already of type `set[V@MultiValuedDict]`
[warning] redundant-cast - Value is already of type `set[V@MultiValuedDict]`
[warning] redundant-cast - Redundant cast: value is already of type `set[V@MultiValuedDict]`
[warning] redundant-cast - Value is already of type `set[V@MultiValuedDict]`
[warning] redundant-cast - Redundant cast: value is already of type `set[V@MultiValuedDict]`
[warning] redundant-cast - Value is already of type `set[V@MultiValuedDict]`
[warning] redundant-cast - Redundant cast: value is already of type `set[V@MultiValuedDict]`

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

colour/plotting/colorimetry.py

[warning] redundant-cast - Redundant cast: value is already of type `list[SpectralDistribution]`
[warning] redundant-cast - Value is already of type `list[SpectralDistribution]`
[warning] redundant-cast - Value is already of type `list[MultiSpectralDistributions]`
[warning] redundant-cast - Redundant cast: value is already of type `list[MultiSpectralDistributions]`

colour/plotting/models.py

[warning] redundant-cast - Redundant cast: value is already of type `list[RGB_Colourspace]`
[warning] redundant-cast - Value is already of type `list[RGB_Colourspace]`

colour/plotting/volume.py

[warning] redundant-cast - Redundant cast: value is already of type `list[RGB_Colourspace]`
[warning] redundant-cast - Value is already of type `list[RGB_Colourspace]`

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

homeassistant/components/history/__init__.py

[warning] redundant-cast - Redundant cast: value is already of type `Response`
[warning] redundant-cast - Value is already of type `Response`

homeassistant/components/sonos/number.py

[warning] redundant-cast - Value is already of type `int | float`
[warning] redundant-cast - Redundant cast: value is already of type `int | float`

homeassistant/components/vesync/diagnostics.py

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

homeassistant/data_entry_flow.py

[warning] redundant-cast - Value is already of type `Schema`
[warning] redundant-cast - Redundant cast: value is already of type `Schema`

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

cwltool/builder.py

[warning] redundant-cast - Value is already of type `list[str]`
[warning] redundant-cast - Redundant cast: value is already of type `list[str]`

cwltool/command_line_tool.py

[warning] redundant-cast - Value is already of type `str`
[warning] redundant-cast - Redundant cast: value is already of type `str`
[warning] redundant-cast - Value is already of type `str`
[warning] redundant-cast - Redundant cast: value is already of type `str`

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

ddtrace/_trace/utils_botocore/span_pointers/dynamodb.py

[warning] redundant-cast - Value is already of type `_DynamoDBDeleteRequestWriteRequest`
[warning] redundant-cast - Redundant cast: value is already of type `_DynamoDBDeleteRequestWriteRequest`
[warning] redundant-cast - Value is already of type `_DynamoDBTransactUpdateItem`
[warning] redundant-cast - Redundant cast: value is already of type `_DynamoDBTransactUpdateItem`

ddtrace/contrib/internal/subprocess/patch.py

[warning] redundant-cast - Value is already of type `list[str]`
[warning] redundant-cast - Redundant cast: value is already of type `list[str]`

ddtrace/debugging/_debugger.py

[warning] redundant-cast - Value is already of type `FunctionType`
[warning] redundant-cast - Redundant cast: value is already of type `FunctionType`

ddtrace/debugging/_function/store.py

[warning] redundant-cast - Value is already of type `FullyNamedContextWrappedFunction`
[warning] redundant-cast - Redundant cast: value is already of type `FullyNamedContextWrappedFunction`

ddtrace/debugging/_origin/span.py

[warning] redundant-cast - Value is already of type `EntrySpanProbe`
[warning] redundant-cast - Redundant cast: value is already of type `EntrySpanProbe`
[warning] redundant-cast - Value is already of type `FunctionType`
[warning] redundant-cast - Redundant cast: value is already of type `FunctionType`

ddtrace/debugging/_signal/model.py

[warning] redundant-cast - Value is already of type `tuple[type[BaseException], BaseException, TracebackType | None] | tuple[None, None, None]`
[warning] redundant-cast - Redundant cast: value is already of type `tuple[type[BaseException], BaseException, TracebackType | None] | tuple[None, None, None]`

ddtrace/internal/symbol_db/symbols.py

[warning] redundant-cast - Value is already of type `Scope | None`
[warning] redundant-cast - Redundant cast: value is already of type `Scope | None`

ddtrace/llmobs/_experiment.py

[warning] redundant-cast - Value is already of type `int`
[warning] redundant-cast - Redundant cast: value is already of type `int`
[warning] redundant-cast - Value is already of type `int`
[warning] redundant-cast - Redundant cast: value is already of type `int`

ddtrace/profiling/collector/memalloc.py

[warning] redundant-cast - Redundant cast: value is already of type `int`
[warning] redundant-cast - Value is already of type `int`
[warning] redundant-cast - Value is already of type `int`
[warning] redundant-cast - Redundant cast: value is already of type `int`
[warning] redundant-cast - Value is already of type `bool`
[warning] redundant-cast - Redundant cast: value is already of type `bool`

tests/profiling/exporter/test_ddup.py

[warning] redundant-cast - Value is already of type `Span`
[warning] redundant-cast - Redundant cast: value is already of type `Span`

dedupe (https://github.com/dedupeio/dedupe)

dedupe/api.py

[warning] redundant-cast - Value is already of type `Literal["match", "distinct"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["match", "distinct"]`

dedupe/datamodel.py

[warning] redundant-cast - Value is already of type `(Any, Any, /) -> int | float | Sequence[int | float]`
[warning] redundant-cast - Redundant cast: value is already of type `(Any, Any, /) -> int | float | Sequence[int | float]`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)

src/hydra_zen/_launch.py

[warning] redundant-cast - Value is already of type `T@value_check`
[warning] redundant-cast - Redundant cast: value is already of type `T@value_check`

src/hydra_zen/third_party/beartype.py

[warning] redundant-cast - Value is already of type `_T@validates_with_beartype`
[warning] redundant-cast - Redundant cast: value is already of type `_T@validates_with_beartype`

src/hydra_zen/third_party/pydantic.py

[warning] redundant-cast - Value is already of type `_T@pydantic_parser`
[warning] redundant-cast - Redundant cast: value is already of type `_T@pydantic_parser`

jax (https://github.com/google/jax)

jax/_src/pallas/mosaic/lowering.py

[warning] redundant-cast - Value is already of type `Literal["parallel", "core_parallel", "subcore_parallel", "arbitrary"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["parallel", "core_parallel", "subcore_parallel", "arbitrary"]`

jax/_src/path.py

[warning] redundant-cast - Value is already of type `Path`
[warning] redundant-cast - Redundant cast: value is already of type `Path`

koda-validate (https://github.com/keithasaurus/koda-validate)

koda_validate/dataclasses.py

[warning] redundant-cast - Value is already of type `type[_DCT@DataclassValidator]`
[warning] redundant-cast - Redundant cast: value is already of type `type[_DCT@DataclassValidator]`

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

mesonbuild/modules/python.py

[warning] redundant-cast - Value is already of type `PythonExternalProgram`
[warning] redundant-cast - Redundant cast: value is already of type `PythonExternalProgram`

mesonbuild/options.py

[warning] redundant-cast - Value is already of type `list[UserBooleanOption | UserComboOption | UserIntegerOption | ... omitted 3 union elements]`
[warning] redundant-cast - Redundant cast: value is already of type `list[UserBooleanOption | UserComboOption | UserIntegerOption | ... omitted 3 union elements]`

mesonbuild/utils/universal.py

[warning] redundant-cast - Value is already of type `list[_T@typeslistify]`
[warning] redundant-cast - Redundant cast: value is already of type `list[_T@typeslistify]`

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

bson/son.py

[warning] redundant-cast - Value is already of type `bool`
[warning] redundant-cast - Redundant cast: value is already of type `bool`

pymongo/asynchronous/encryption.py

[warning] redundant-cast - Redundant cast: value is already of type `AsyncCollection[RawBSONDocument]`
[warning] redundant-cast - Value is already of type `AsyncCollection[RawBSONDocument]`

pymongo/asynchronous/mongo_client.py

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

pymongo/synchronous/encryption.py

[warning] redundant-cast - Redundant cast: value is already of type `Collection[RawBSONDocument]`
[warning] redundant-cast - Value is already of type `Collection[RawBSONDocument]`

pymongo/synchronous/mongo_client.py

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

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/plugins/openlibrary/lists.py

[warning] redundant-cast - Value is already of type `ThingReferenceDict`
[warning] redundant-cast - Redundant cast: value is already of type `ThingReferenceDict`

openlibrary/solr/updater/work.py

[warning] redundant-cast - Value is already of type `str`
[warning] redundant-cast - Redundant cast: value is already of type `str`

paasta (https://github.com/yelp/paasta)

paasta_tools/utils.py

[warning] redundant-cast - Redundant cast: value is already of type `list[str]`
[warning] redundant-cast - Value is already of type `list[str]`

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

pandas/core/arrays/boolean.py

[warning] redundant-cast - Value is already of type `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]`
[warning] redundant-cast - Redundant cast: value is already of type `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]`

pandas/core/arrays/period.py

[warning] redundant-cast - Value is already of type `PeriodDtype`
[warning] redundant-cast - Redundant cast: value is already of type `PeriodDtype`
[warning] redundant-cast - Value is already of type `int`
[warning] redundant-cast - Redundant cast: value is already of type `int`
[warning] redundant-cast - Value is already of type `int`
[warning] redundant-cast - Redundant cast: value is already of type `int`

pandas/core/arrays/string_.py

[warning] redundant-cast - Value is already of type `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]`
[warning] redundant-cast - Redundant cast: value is already of type `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]]`

pandas/core/arrays/timedeltas.py

[warning] redundant-cast - Value is already of type `Timedelta | NaTType`
[warning] redundant-cast - Redundant cast: value is already of type `Timedelta | NaTType`

pandas/core/dtypes/concat.py

[warning] redundant-cast - Value is already of type `list[Categorical]`
[warning] redundant-cast - Redundant cast: value is already of type `list[Categorical]`

pandas/core/generic.py

[warning] redundant-cast - Value is already of type `Self@astype`
[warning] redundant-cast - Redundant cast: value is already of type `Self@astype`

pandas/core/indexes/timedeltas.py

[warning] redundant-cast - Value is already of type `Literal["s", "ms", "us", "ns"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["s", "ms", "us", "ns"]`
[warning] redundant-cast - Value is already of type `Literal["s", "ms", "us", "ns"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["s", "ms", "us", "ns"]`
[warning] redundant-cast - Value is already of type `Literal["s", "ms", "us", "ns"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["s", "ms", "us", "ns"]`
[warning] redundant-cast - Value is already of type `Literal["s", "ms", "us", "ns"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["s", "ms", "us", "ns"]`

pandas/core/reshape/merge.py

[warning] redundant-cast - Value is already of type `Hashable`
[warning] redundant-cast - Redundant cast: value is already of type `Hashable`
[warning] redundant-cast - Value is already of type `Hashable`
[warning] redundant-cast - Redundant cast: value is already of type `Hashable`
[warning] redundant-cast - Value is already of type `Hashable`
[warning] redundant-cast - Redundant cast: value is already of type `Hashable`
[warning] redundant-cast - Value is already of type `Hashable`
[warning] redundant-cast - Redundant cast: value is already of type `Hashable`

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

pandera/api/dataframe/container.py

[warning] redundant-cast - Value is already of type `Self@add_columns`
[warning] redundant-cast - Redundant cast: value is already of type `Self@add_columns`
[warning] redundant-cast - Value is already of type `Self@remove_columns`
[warning] redundant-cast - Redundant cast: value is already of type `Self@remove_columns`
[warning] redundant-cast - Value is already of type `Self@update_column`
[warning] redundant-cast - Redundant cast: value is already of type `Self@update_column`
[warning] redundant-cast - Value is already of type `Self@update_columns`
[warning] redundant-cast - Redundant cast: value is already of type `Self@update_columns`
[warning] redundant-cast - Value is already of type `Self@rename_columns`
[warning] redundant-cast - Redundant cast: value is already of type `Self@rename_columns`
[warning] redundant-cast - Value is already of type `Self@update_index`
[warning] redundant-cast - Redundant cast: value is already of type `Self@update_index`
[warning] redundant-cast - Value is already of type `Self@update_indexes`
[warning] redundant-cast - Redundant cast: value is already of type `Self@update_indexes`
[warning] redundant-cast - Value is already of type `Self@rename_indexes`
[warning] redundant-cast - Redundant cast: value is already of type `Self@rename_indexes`
[warning] redundant-cast - Value is already of type `Self@select_columns`
[warning] redundant-cast - Redundant cast: value is already of type `Self@select_columns`
[warning] redundant-cast - Value is already of type `Self@set_index`
[warning] redundant-cast - Redundant cast: value is already of type `Self@set_index`

pandera/api/dataframe/model.py

[warning] redundant-cast - Value is already of type `DataFrameBase[Self@__new__]`
[warning] redundant-cast - Redundant cast: value is already of type `DataFrameBase[Self@__new__]`

pandera/api/pandas/array.py

[warning] redundant-cast - Value is already of type `Series[Any]`
[warning] redundant-cast - Redundant cast: value is already of type `Series[Any]`

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

src/pip/_vendor/rich/console.py

[warning] redundant-cast - Value is already of type `Literal["left", "center", "right"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["left", "center", "right"]`

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

tests/console/commands/test_show.py

[warning] redundant-cast - Value is already of type `F@output_format_parametrize`
[warning] redundant-cast - Redundant cast: value is already of type `F@output_format_parametrize`

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

src/prefect/flows.py

[warning] redundant-cast - Value is already of type `str`
[warning] redundant-cast - Redundant cast: value is already of type `str`
[warning] redundant-cast - Value is already of type `str`
[warning] redundant-cast - Redundant cast: value is already of type `str`

src/prefect/utilities/engine.py

[warning] redundant-cast - Value is already of type `Any`
[warning] redundant-cast - Redundant cast: value is already of type `Any`

src/integrations/prefect-docker/tests/test_containers.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-docker/tests/test_images.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

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

flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_custom_objects.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_deployments.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_jobs.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_pods.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/prefect/tasks.py

flaky
(2/10)
[error] invalid-return-type - Return type does not match returned value: expected `MaterializingTask[P@MaterializingTask, R@MaterializingTask]`, found `MaterializingTask[(*args: object, **kwargs: object), object]`

src/prefect/utilities/_engine.py

flaky
(2/10)
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `object`

pylint (https://github.com/pycqa/pylint)

pylint/checkers/base/basic_checker.py

[warning] redundant-cast - Value is already of type `Literal["function", "class", "method", "module"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["function", "class", "method", "module"]`

pytest-robotframework (https://github.com/detachhead/pytest-robotframework)

pytest_robotframework/_internal/robot/utils.py

[warning] redundant-cast - Redundant cast: value is already of type `list[object] | None`
[warning] redundant-cast - Value is already of type `list[object] | None`

rich (https://github.com/Textualize/rich)

rich/console.py

[warning] redundant-cast - Value is already of type `Literal["left", "center", "right"]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal["left", "center", "right"]`

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

rotkehlchen/api/services/transactions.py

[warning] redundant-cast - Value is already of type `Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, SupportedBlockchain.BASE, ... omitted 6 literals]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, SupportedBlockchain.BASE, ... omitted 6 literals]`

rotkehlchen/db/internal_tx_conflicts.py

[warning] redundant-cast - Value is already of type `Literal[ChainID.ETHEREUM, ChainID.OPTIMISM, ChainID.POLYGON_POS, ChainID.ARBITRUM_ONE, ChainID.BASE, ... omitted 5 literals]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal[ChainID.ETHEREUM, ChainID.OPTIMISM, ChainID.POLYGON_POS, ChainID.ARBITRUM_ONE, ChainID.BASE, ... omitted 5 literals]`
[warning] redundant-cast - Value is already of type `Literal[ChainID.ETHEREUM, ChainID.OPTIMISM, ChainID.POLYGON_POS, ChainID.ARBITRUM_ONE, ChainID.BASE, ... omitted 5 literals]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal[ChainID.ETHEREUM, ChainID.OPTIMISM, ChainID.POLYGON_POS, ChainID.ARBITRUM_ONE, ChainID.BASE, ... omitted 5 literals]`

rotkehlchen/inquirer.py

[warning] redundant-cast - Value is already of type `Literal[ChainID.ETHEREUM, ChainID.POLYGON_POS, ChainID.OPTIMISM, ChainID.ARBITRUM_ONE, ChainID.GNOSIS, ... omitted 4 literals]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal[ChainID.ETHEREUM, ChainID.POLYGON_POS, ChainID.OPTIMISM, ChainID.ARBITRUM_ONE, ChainID.GNOSIS, ... omitted 4 literals]`

rotkehlchen/rotkehlchen.py

[warning] redundant-cast - Value is already of type `Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, SupportedBlockchain.BASE, ... omitted 5 literals]`
[warning] redundant-cast - Redundant cast: value is already of type `Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, SupportedBlockchain.BASE, ... omitted 5 literals]`

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

src/schemathesis/hooks.py

[warning] redundant-cast - Value is already of type `str`
[warning] redundant-cast - Redundant cast: value is already of type `str`

src/schemathesis/specs/graphql/schemas.py

[warning] redundant-cast - Value is already of type `ExamplesPhaseData | FuzzingPhaseData`
[warning] redundant-cast - Redundant cast: value is already of type `ExamplesPhaseData | FuzzingPhaseData`

src/schemathesis/specs/openapi/_hypothesis.py

[warning] redundant-cast - Value is already of type `ExamplesPhaseData | FuzzingPhaseData | StatefulPhaseData`
[warning] redundant-cast - Redundant cast: value is already of type `ExamplesPhaseData | FuzzingPhaseData | StatefulPhaseData`
[warning] redundant-cast - Value is already of type `ExamplesPhaseData | FuzzingPhaseData | StatefulPhaseData`
[warning] redundant-cast - Redundant cast: value is already of type `ExamplesPhaseData | FuzzingPhaseData | StatefulPhaseData`
[warning] redundant-cast - Value is already of type `ExamplesPhaseData | FuzzingPhaseData | StatefulPhaseData`
[warning] redundant-cast - Redundant cast: value is already of type `ExamplesPhaseData | FuzzingPhaseData | StatefulPhaseData`

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

sklearn/externals/array_api_compat/numpy/_aliases.py

[warning] redundant-cast - Value is already of type `Any`
[warning] redundant-cast - Redundant cast: value is already of type `Any`

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

subprojects/array_api_compat/array_api_compat/array_api_compat/numpy/_aliases.py

[warning] redundant-cast - Value is already of type `Any`
[warning] redundant-cast - Redundant cast: value is already of type `Any`

sockeye (https://github.com/awslabs/sockeye)

sockeye/data_io.py

[warning] redundant-cast - Value is already of type `int`
[warning] redundant-cast - Redundant cast: value is already of type `int`

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

lib/spack/spack/buildcache_prune.py

[warning] redundant-cast - Value is already of type `URLBuildcacheEntry`
[warning] redundant-cast - Redundant cast: value is already of type `URLBuildcacheEntry`

speedrun.com_global_scoreboard_webapp (https://github.com/Avasam/speedrun.com_global_scoreboard_webapp)

backend/api/global_scoreboard_api.py

[warning] redundant-cast - Value is already of type `str`
[warning] redundant-cast - Redundant cast: value is already of type `str`

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

sympy/polys/compatibility.py

[warning] redundant-cast - Value is already of type `PolyElement[Er@IPolys]`
[warning] redundant-cast - Redundant cast: value is already of type `PolyElement[Er@IPolys]`

sympy/polys/rings.py

[warning] redundant-cast - Value is already of type `PolyElement[Er@PolyElement]`
[warning] redundant-cast - Redundant cast: value is already of type `PolyElement[Er@PolyElement]`

tornado (https://github.com/tornadoweb/tornado)

tornado/http1connection.py

[warning] redundant-cast - Value is already of type `int`
[warning] redundant-cast - Redundant cast: value is already of type `int`

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

twine/utils.py

[warning] redundant-cast - Value is already of type `str`
[warning] redundant-cast - Redundant cast: value is already of type `str`

websockets (https://github.com/aaugustin/websockets)

src/websockets/legacy/auth.py

[warning] redundant-cast - Redundant cast: value is already of type `(...) -> BasicAuthWebSocketServerProtocol`
[warning] redundant-cast - Value is already of type `(...) -> BasicAuthWebSocketServerProtocol`

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

src/werkzeug/test.py

[warning] redundant-cast - Value is already of type `type[TestResponse]`
[warning] redundant-cast - Redundant cast: value is already of type `type[TestResponse]`

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

zerver/management/commands/deactivate_realm.py

[warning] redundant-cast - Value is already of type `Any`
[warning] redundant-cast - Redundant cast: value is already of type `Any`