Summary

Comparing branches/commits:
Old: main (merge base) e55bc943
New: 21145/merge bf50ec90
Lint Rule Removed Added Changed
Total 21 31 87
invalid-argument-type 0 7 79
too-many-positional-arguments 12 9 1
unknown-argument 0 9 0
unresolved-attribute 9 0 0
missing-argument 0 4 1
invalid-type-form 0 0 3
invalid-assignment 0 2 0
no-matching-overload 0 0 2
parameter-already-assigned 0 0 1

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

tests/test_array.py

[error] invalid-argument-type - :322:49 -
Old: Argument to function `unfold` is incorrect: Expected `(Literal[0], /) -> Option[tuple[Unknown, Literal[0]]]`, found `def unfolder(state: int) -> Option[tuple[int, int]]`
New: Argument is incorrect: Expected `(Literal[0], /) -> Option[tuple[Unknown, Literal[0]]]`, found `def unfolder(state: int) -> Option[tuple[int, int]]`

tests/test_block.py

[error] invalid-argument-type - :289:39 -
Old: Argument to function `unfold` is incorrect: Expected `(Literal[0], /) -> Option[tuple[Unknown, Literal[0]]]`, found `def unfolder(state: int) -> Option[tuple[int, int]]`
New: Argument is incorrect: Expected `(Literal[0], /) -> Option[tuple[Unknown, Literal[0]]]`, found `def unfolder(state: int) -> Option[tuple[int, int]]`

tests/test_tagged_union.py

[error] invalid-type-form - :331:23 -
Old: Variable of type `def Face(suit: Suit, face: Unknown) -> Card` is not allowed in a type expression
New: Variable of type `staticmethod Face(suit: Suit, face: Unknown) -> Card` is not allowed in a type expression
[error] invalid-type-form - :336:32 -
Old: Variable of type `def Face(suit: Suit, face: Unknown) -> Card` is not allowed in a type expression
New: Variable of type `staticmethod Face(suit: Suit, face: Unknown) -> Card` is not allowed in a type expression

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

tests/Framework.py

[error] invalid-argument-type - :493:47 -
Old: Argument to function `open` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`

apprise (https://github.com/caronc/apprise)

apprise/cli.py

[error] invalid-argument-type - :1046:17 -
Old: Argument to function `disk_scan` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - :1115:17 -
Old: Argument to function `disk_prune` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`

tests/test_api.py

[error] invalid-argument-type - :525:28 -
Old: Argument to function `instantiate` is incorrect: Expected `str | dict[Unknown, Unknown]`, found `<class 'object'>`
New: Argument is incorrect: Expected `str | dict[Unknown, Unknown]`, found `<class 'object'>`

tests/test_apprise_attachments.py

[error] invalid-argument-type - :201:51 -
Old: Argument to function `instantiate` is incorrect: Expected `int | None`, found `Literal["invalid"]`
New: Argument is incorrect: Expected `int | None`, found `Literal["invalid"]`

tests/test_config_base.py

[error] invalid-argument-type - :116:48 -
Old: Argument to function `detect_config_format` is incorrect: Expected `str`, found `object`
New: Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - :156:42 -
Old: Argument to function `config_parse` is incorrect: Expected `str`, found `object`
New: Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - :276:47 -
Old: Argument to function `config_parse_text` is incorrect: Expected `str`, found `object`
New: Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - :599:47 -
Old: Argument to function `config_parse_yaml` is incorrect: Expected `str`, found `object`
New: Argument is incorrect: Expected `str`, found `object`

tests/test_persistent_store.py

[error] invalid-argument-type - :1262:36 -
Old: Argument to function `instantiate` is incorrect: Expected `dict[str, Any]`, found `None`
New: Argument is incorrect: Expected `dict[str, Any]`, found `None`
[error] invalid-argument-type - :1468:9 -
Old: Argument to function `disk_prune` is incorrect: Expected `str | list[str] | None`, found `tuple[Literal["t01"], Literal["invalid"], Literal["-garbag!"]]`
New: Argument is incorrect: Expected `str | list[str] | None`, found `tuple[Literal["t01"], Literal["invalid"], Literal["-garbag!"]]`
[error] invalid-argument-type - :1506:13 -
Old: Argument to function `disk_prune` is incorrect: Expected `str | list[str] | None`, found `<class 'object'>`
New: Argument is incorrect: Expected `str | list[str] | None`, found `<class 'object'>`

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

src/bokeh/sphinxext/_internal/bokeh_palette_group.py

[error] unresolved-attribute - :91:12 - Function `visit_html` has no attribute `__func__`

src/bokeh/sphinxext/_internal/bokehjs_content.py

[error] unresolved-attribute - :113:12 - Function `visit_html` has no attribute `__func__`
[error] unresolved-attribute - :113:33 - Function `depart_html` has no attribute `__func__`

src/bokeh/sphinxext/bokeh_plot.py

[error] unresolved-attribute - :146:12 - Function `visit_html` has no attribute `__func__`

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

cloudinit/templater.py

[error] invalid-argument-type - :62:13 -
Old: Argument to function `format_error_message` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - :63:13 -
Old: Argument to function `format_error_message` is incorrect: Expected `str`, found `Unknown | int`
New: Argument is incorrect: Expected `str`, found `Unknown | int`

tests/unittests/config/test_cc_growpart.py

[error] invalid-assignment - :394:13 - Object of type `Unknown | ((devpath: str) -> tuple[Unknown, ...])` is not assignable to attribute `device_part_info` on type `Unknown | MockDistro`
[error] invalid-assignment - :577:9 - Implicit shadowing of function `device_part_info`

tests/unittests/config/test_schema.py

[error] invalid-argument-type - :1020:17 -
Old: Argument to function `format_error_message` is incorrect: Expected `str`, found `Literal[3]`
New: Argument is incorrect: Expected `str`, found `Literal[3]`

tests/unittests/test_templating.py

[error] invalid-argument-type - :283:13 -
Old: Argument to function `format_error_message` is incorrect: Expected `str`, found `Literal[4]`
New: Argument is incorrect: Expected `str`, found `Literal[4]`
[error] invalid-argument-type - :302:13 -
Old: Argument to function `format_error_message` is incorrect: Expected `str`, found `Literal[4]`
New: Argument is incorrect: Expected `str`, found `Literal[4]`

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

homeassistant/helpers/temperature.py

[error] invalid-argument-type - :28:62 - Argument is incorrect: Expected `(...) -> Unknown`, found `str`
[error] too-many-positional-arguments - :28:80 - Too many positional arguments: expected 1, got 2

homeassistant/components/number/__init__.py

[error] invalid-argument-type - :473:21 - Argument is incorrect: Expected `(...) -> Unknown`, found `str & ~AlwaysFalsy`
[error] too-many-positional-arguments - :474:21 - Too many positional arguments: expected 1, got 2
[error] invalid-argument-type - :497:17 - Argument is incorrect: Expected `(...) -> Unknown`, found `str & ~AlwaysFalsy`
[error] too-many-positional-arguments - :498:17 - Too many positional arguments: expected 1, got 2

homeassistant/components/philips_js/light.py

[error] invalid-argument-type - :237:43 -
Old: Argument to function `from_str` is incorrect: Expected `str`, found `str | None | Unknown`
New: Argument is incorrect: Expected `str`, found `str | None | Unknown`

homeassistant/components/recorder/statistics.py

[error] missing-argument - :394:16 - No argument provided for required parameter 1
[error] unknown-argument - :395:13 - Argument `from_unit` does not match any known parameter
[error] unknown-argument - :395:39 - Argument `to_unit` does not match any known parameter
[error] missing-argument - :397:12 - No argument provided for required parameter 1
[error] unknown-argument - :397:40 - Argument `from_unit` does not match any known parameter
[error] unknown-argument - :397:66 - Argument `to_unit` does not match any known parameter
[error] missing-argument - :422:20 - No argument provided for required parameter 1
[error] unknown-argument - :423:17 - Argument `from_unit` does not match any known parameter
[error] unknown-argument - :423:38 - Argument `to_unit` does not match any known parameter
[error] missing-argument - :411:12 - No argument provided for required parameter 1
[error] unknown-argument - :411:40 - Argument `from_unit` does not match any known parameter
[error] unknown-argument - :411:64 - Argument `to_unit` does not match any known parameter

homeassistant/components/sensor/__init__.py

[error] invalid-argument-type - :161:48 - Argument is incorrect: Expected `(...) -> Unknown`, found `str`
[error] too-many-positional-arguments - :161:59 - Too many positional arguments: expected 1, got 2
[error] invalid-argument-type - :715:17 - Argument is incorrect: Expected `(...) -> Unknown`, found `str | None`
[error] too-many-positional-arguments - :715:45 - Too many positional arguments: expected 1, got 2

homeassistant/components/sensor/recorder.py

[error] invalid-argument-type - :374:55 - Argument is incorrect: Expected `(...) -> Unknown`, found `(Any & ~UndefinedType) | None`
[error] too-many-positional-arguments - :374:67 - Too many positional arguments: expected 1, got 2

homeassistant/components/tomorrowio/weather.py

[error] invalid-argument-type - :211:13 -
Old: Argument to function `_translate_condition` is incorrect: Expected `int | None`, found `int | str | float | None`
New: Argument is incorrect: Expected `int | None`, found `int | str | float | None`

homeassistant/components/vicare/climate.py

[error] invalid-argument-type - :287:44 -
Old: Argument to function `to_ha_preset` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`

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

benchmarks/bm/iast_fixtures/str_methods.py

[error] invalid-argument-type - :734:49 -
Old: Argument to function `commonprefix` is incorrect: Expected `list[Unknown]`, found `Literal["/usr/lib"]`
New: Argument is incorrect: Expected `list[Unknown]`, found `Literal["/usr/lib"]`
[error] invalid-argument-type - :734:49 -
Old: Argument to function `commonprefix` is incorrect: Expected `list[Unknown]`, found `Literal["/usr/local/lib"]`
New: Argument is incorrect: Expected `list[Unknown]`, found `Literal["/usr/lib"]`
[error] invalid-argument-type - :734:49 - Argument is incorrect: Expected `list[Unknown]`, found `Literal["/usr/local/lib"]`

ddtrace/_trace/sampler.py

[error] invalid-argument-type - :168:29 -
Old: Argument to function `_key` is incorrect: Expected `str | None`, found `Unknown | str | None | int`
New: Argument is incorrect: Expected `str | None`, found `Unknown | str | None | int`

ddtrace/appsec/_iast/_patch_modules.py

[error] invalid-argument-type - :99:58 -
Old: Argument to function `force_wrapper` is incorrect: Expected `(...) -> Unknown`, found `Unknown | Literal[""]`
New: Argument is incorrect: Expected `(...) -> Unknown`, found `Unknown | Literal[""]`

ddtrace/settings/_opentelemetry.py

[error] invalid-argument-type - :10:61 -
Old: Argument to function `_get_default_endpoint` is incorrect: Expected `str`, found `Unknown | EnvVariable[Literal["grpc"]]`
New: Argument is incorrect: Expected `str`, found `Unknown | EnvVariable[Literal["grpc"]]`
[error] invalid-argument-type - :15:61 -
Old: Argument to function `_get_default_endpoint` is incorrect: Expected `str`, found `Unknown | DerivedVariable[Unknown]`
New: Argument is incorrect: Expected `str`, found `Unknown | DerivedVariable[Unknown]`
[error] invalid-argument-type - :32:61 -
Old: Argument to function `_get_default_endpoint` is incorrect: Expected `str`, found `Unknown | DerivedVariable[Unknown]`
New: Argument is incorrect: Expected `str`, found `Unknown | DerivedVariable[Unknown]`

tests/appsec/iast/test_patch_modules.py

[error] invalid-argument-type - :47:68 -
Old: Argument to function `force_wrapper` is incorrect: Expected `(...) -> Unknown`, found `Literal["test_hook"]`
New: Argument is incorrect: Expected `(...) -> Unknown`, found `Literal["test_hook"]`
[error] invalid-argument-type - :55:68 -
Old: Argument to function `force_wrapper` is incorrect: Expected `(...) -> Unknown`, found `Literal["test_hook"]`
New: Argument is incorrect: Expected `(...) -> Unknown`, found `Literal["test_hook"]`

tests/internal/remoteconfig/test_remoteconfig_client.py

[error] invalid-argument-type - :129:101 -
Old: Argument to function `_apply_callback` is incorrect: Expected `ConfigMetadata`, found `dict[Unknown | str, Unknown | str | int]`
New: Argument is incorrect: Expected `ConfigMetadata`, found `dict[Unknown | str, Unknown | str | int]`
[error] invalid-argument-type - :381:61 -
Old: Argument to function `_apply_callback` is incorrect: Expected `PubSub`, found `CallbackClass`
New: Argument is incorrect: Expected `PubSub`, found `CallbackClass`
[error] invalid-argument-type - :381:97 -
Old: Argument to function `_apply_callback` is incorrect: Expected `ConfigMetadata`, found `dict[Unknown | str, Unknown | str]`
New: Argument is incorrect: Expected `ConfigMetadata`, found `dict[Unknown | str, Unknown | str]`

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

freqtrade/freqtradebot.py

[error] invalid-argument-type - :680:62 -
Old: Argument to function `get_pair_longest_lock` is incorrect: Expected `datetime | None`, found `Unknown | Series[Any] | None`
New: Argument is incorrect: Expected `datetime | None`, found `Unknown | Series[Any] | None`

freqtrade/optimize/analysis/lookahead.py

[error] invalid-argument-type - :137:57 -
Old: Argument to function `get_result` is incorrect: Expected `DataFrame`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `DataFrame`, found `dict[Unknown, Unknown]`
[error] invalid-argument-type - :179:13 -
Old: Argument to function `report_signal` is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame`
New: Argument is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame`
[error] invalid-argument-type - :186:13 -
Old: Argument to function `report_signal` is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame`
New: Argument is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame`

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

hydpy/models/hland/hland_control.py

[error] too-many-positional-arguments - :459:43 - Too many positional arguments: expected 0, got 2
[error] too-many-positional-arguments - :461:46 - Too many positional arguments: expected 0, got 2

ibis (https://github.com/ibis-project/ibis)

ibis/backends/sql/compilers/datafusion.py

[error] invalid-argument-type - :92:44 -
Old: Argument to function `to_scale` is incorrect: Expected `str`, found `Literal[TimestampUnit.SECOND, TimestampUnit.MICROSECOND] | str`
New: Argument is incorrect: Expected `str`, found `Literal[TimestampUnit.SECOND, TimestampUnit.MICROSECOND] | str`

ignite (https://github.com/pytorch/ignite)

examples/notebooks/HandlersTimeProfiler_MNIST.ipynb:cell 16

[error] invalid-argument-type - :1:24 -
Old: Argument to function `print_results` is incorrect: Expected `list[list[str | int | float]]`, found `list[list[str | int | float | tuple[str | int | float, str | int | float]]]`
New: Argument is incorrect: Expected `list[list[str | int | float]]`, found `list[list[str | int | float | tuple[str | int | float, str | int | float]]]`

tests/ignite/engine/test_custom_events.py

[error] invalid-argument-type - :238:37 -
Old: Argument to function `default_event_filter` is incorrect: Expected `Engine`, found `None`
New: Argument is incorrect: Expected `Engine`, found `None`
[error] invalid-argument-type - :238:43 -
Old: Argument to function `default_event_filter` is incorrect: Expected `int`, found `None`
New: Argument is incorrect: Expected `int`, found `None`

tests/ignite/handlers/test_checkpoint.py

[error] invalid-argument-type - :1077:37 -
Old: Argument to function `load_objects` is incorrect: Expected `str | Mapping[Unknown, Unknown] | Path`, found `list[Unknown]`
New: Argument is incorrect: Expected `str | Mapping[Unknown, Unknown] | Path`, found `list[Unknown]`

tests/ignite/handlers/test_time_profilers.py

[error] invalid-argument-type - :858:40 -
Old: Argument to function `print_results` is incorrect: Expected `list[list[str | int | float]]`, found `list[list[str | int | float | tuple[str | int | float, str | int | float]]]`
New: Argument is incorrect: Expected `list[list[str | int | float]]`, found `list[list[str | int | float | tuple[str | int | float, str | int | float]]]`

tests/ignite/metrics/test_confusion_matrix.py

[error] invalid-argument-type - :53:41 -
Old: Argument to function `normalize` is incorrect: Expected `str`, found `None`
New: Argument is incorrect: Expected `str`, found `None`

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

mesonbuild/backend/ninjabackend.py

[error] invalid-argument-type - :3518:55 -
Old: Argument to function `_get_file_from_list` is incorrect: Expected `Environment`, found `Environment | None`
New: Argument is incorrect: Expected `Environment`, found `Environment | None`

mesonbuild/backend/vs2010backend.py

[error] invalid-argument-type - :1656:92 -
Old: Argument to function `get_build_args` is incorrect: Expected `str`, found `Unknown | list[Unknown]`
New: Argument is incorrect: Expected `str`, found `Unknown | list[Unknown]`
[error] invalid-argument-type - :1851:49 -
Old: Argument to function `relpath` is incorrect: Expected `str`, found `PureWindowsPath`
New: Argument is incorrect: Expected `str`, found `PureWindowsPath`

mesonbuild/build.py

[error] invalid-argument-type - :2128:66 -
Old: Argument to function `from_absolute_file` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`

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

mkdocs/livereload/__init__.py

[error] too-many-positional-arguments - :281:48 - Too many positional arguments: expected 0, got 1
[error] unknown-argument - :281:77 - Argument `request_id` does not match any known parameter

mypy (https://github.com/python/mypy)

mypy/typeshed/stdlib/multiprocessing/pool.pyi

[error] invalid-type-form - :53:66 -
Old: Variable of type `def Process(ctx: DefaultContext, *args: Any, **kwds: Any) -> Unknown` is not allowed in a type expression
New: Variable of type `staticmethod Process(ctx: DefaultContext, *args: Any, **kwds: Any) -> Unknown` is not allowed in a type expression

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

openlibrary/plugins/upstream/edits.py

[error] invalid-argument-type - :103:56 -
Old: Argument to function `create_title` is incorrect: Expected `int`, found `Unknown | None`
New: Argument is incorrect: Expected `int`, found `Unknown | None`
[error] invalid-argument-type - :103:65 -
Old: Argument to function `create_title` is incorrect: Expected `list[str]`, found `Unknown | list[LiteralString]`
New: Argument is incorrect: Expected `list[str]`, found `Unknown | list[LiteralString]`
[error] invalid-argument-type - :104:52 -
Old: Argument to function `create_url` is incorrect: Expected `int`, found `Unknown | None`
New: Argument is incorrect: Expected `int`, found `Unknown | None`
[error] invalid-argument-type - :104:61 -
Old: Argument to function `create_url` is incorrect: Expected `list[str]`, found `Unknown | list[LiteralString]`
New: Argument is incorrect: Expected `list[str]`, found `Unknown | list[LiteralString]`

openlibrary/plugins/worksearch/code.py

[error] invalid-argument-type - :327:57 -
Old: Argument to function `from_solr_result` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`

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

paasta_tools/cli/cmds/list_deploy_queue.py

[error] invalid-argument-type - :85:32 -
Old: Argument to function `red` is incorrect: Expected `str`, found `Unknown | None`
New: Argument is incorrect: Expected `str`, found `Unknown | None`

paasta_tools/cli/cmds/mesh_status.py

[error] invalid-argument-type - :119:31 -
Old: Argument to function `red` is incorrect: Expected `str`, found `Unknown | None`
New: Argument is incorrect: Expected `str`, found `Unknown | None`

paasta_tools/cli/cmds/status.py

[error] invalid-argument-type - :326:40 -
Old: Argument to function `red` is incorrect: Expected `str`, found `Unknown | None`
New: Argument is incorrect: Expected `str`, found `Unknown | None`

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

tests/pandas/test_model.py

[error] invalid-argument-type - :1687:59 -
Old: Argument to function `from_records` is incorrect: Expected `ndarray[Unknown, Unknown] | list[tuple[Any, ...]] | dict[Any, Any] | DataFrame`, found `list[Unknown | dict[Unknown | str, Unknown | str | float]]`
New: Argument is incorrect: Expected `ndarray[Unknown, Unknown] | list[tuple[Any, ...]] | dict[Any, Any] | DataFrame`, found `list[Unknown | dict[Unknown | str, Unknown | str | float]]`
[error] invalid-argument-type - :1731:59 -
Old: Argument to function `from_records` is incorrect: Expected `ndarray[Unknown, Unknown] | list[tuple[Any, ...]] | dict[Any, Any] | DataFrame`, found `list[Unknown | dict[Unknown | str, Unknown | str | float]]`
New: Argument is incorrect: Expected `ndarray[Unknown, Unknown] | list[tuple[Any, ...]] | dict[Any, Any] | DataFrame`, found `list[Unknown | dict[Unknown | str, Unknown | str | float]]`
[error] invalid-argument-type - :1758:59 -
Old: Argument to function `from_records` is incorrect: Expected `ndarray[Unknown, Unknown] | list[tuple[Any, ...]] | dict[Any, Any] | DataFrame`, found `list[Unknown | dict[Unknown | str, Unknown | str | float]]`
New: Argument is incorrect: Expected `ndarray[Unknown, Unknown] | list[tuple[Any, ...]] | dict[Any, Any] | DataFrame`, found `list[Unknown | dict[Unknown | str, Unknown | str | float]]`

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

src/pip/_vendor/rich/style.py

[error] too-many-positional-arguments - :478:37 - Too many positional arguments to bound method `__new__`: expected 1, got 2
[error] too-many-positional-arguments - :630:37 - Too many positional arguments to bound method `__new__`: expected 1, got 2
[error] too-many-positional-arguments - :653:37 - Too many positional arguments to bound method `__new__`: expected 1, got 2
[error] too-many-positional-arguments - :676:37 - Too many positional arguments to bound method `__new__`: expected 1, got 2
[error] too-many-positional-arguments - :734:41 - Too many positional arguments to bound method `__new__`: expected 1, got 2

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

src/integrations/prefect-github/prefect_github/repository.py

[error] invalid-argument-type - :136:59 -
Old: Argument to function `_get_paths` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`

src/integrations/prefect-snowflake/prefect_snowflake/credentials.py

[error] invalid-argument-type - :210:47 -
Old: Argument to function `_decode_secret` is incorrect: Expected `SecretStr | SecretBytes`, found `SecretBytes | None`
New: Argument is incorrect: Expected `SecretStr | SecretBytes`, found `SecretBytes | None`
[error] invalid-argument-type - :226:50 -
Old: Argument to function `_compose_pem` is incorrect: Expected `bytes`, found `bytes | None`
New: Argument is incorrect: Expected `bytes`, found `bytes | None`

src/integrations/prefect-snowflake/prefect_snowflake/experimental/workers/spcs.py

[error] invalid-argument-type - :424:55 -
Old: Argument to function `_slugify_service_name` is incorrect: Expected `str`, found `str | None`
New: Argument is incorrect: Expected `str`, found `str | None`

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

lib/Crypto/Hash/CMAC.py

[error] too-many-positional-arguments - :173:28 - Too many positional arguments to bound method `__new__`: expected 1, got 2

pyjwt (https://github.com/jpadilla/pyjwt)

jwt/jwks_client.py

[error] invalid-argument-type - :83:35 -
Old: Argument to function `from_dict` is incorrect: Expected `dict[str, Any]`, found `(PyJWKSet & Top[dict[Unknown, Unknown]]) | (Any & Top[dict[Unknown, Unknown]])`
New: Argument is incorrect: Expected `dict[str, Any]`, found `(PyJWKSet & Top[dict[Unknown, Unknown]]) | (Any & Top[dict[Unknown, Unknown]])`

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

src/_pytest/logging.py

[error] invalid-argument-type - :209:53 -
Old: Argument to function `_get_auto_indent` is incorrect: Expected `int | str | None`, found `object`
New: Argument is incorrect: Expected `int | str | None`, found `object`

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

rich/style.py

[error] too-many-positional-arguments - :478:37 - Too many positional arguments to bound method `__new__`: expected 1, got 2
[error] too-many-positional-arguments - :630:37 - Too many positional arguments to bound method `__new__`: expected 1, got 2
[error] too-many-positional-arguments - :653:37 - Too many positional arguments to bound method `__new__`: expected 1, got 2
[error] too-many-positional-arguments - :676:37 - Too many positional arguments to bound method `__new__`: expected 1, got 2
[error] too-many-positional-arguments - :734:41 - Too many positional arguments to bound method `__new__`: expected 1, got 2

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

rotkehlchen/tests/unit/test_ethereum_airdrops.py

[error] invalid-argument-type - :426:51 -
Old: Argument to function `resolve_asset` is incorrect: Expected `str`, found `Unknown | str | int | dict[Unknown | str, Unknown | str | int] | dict[Unknown | str, Unknown | str]`
New: Argument is incorrect: Expected `str`, found `Unknown | str | int | dict[Unknown | str, Unknown | str | int] | dict[Unknown | str, Unknown | str]`

rotkehlchen/tests/unit/test_tokens.py

[error] unresolved-attribute - :196:51 - Function `find_usd_prices` has no attribute `call_args_list`

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

scipy/spatial/transform/tests/test_rotation.py

[error] invalid-argument-type - :1201:27 -
Old: Argument to function `identity` is incorrect: Expected `int | tuple[int, ...] | None`, found `float`
New: Argument is incorrect: Expected `int | tuple[int, ...] | None`, found `float`
[error] too-many-positional-arguments - :1205:30 -
Old: Too many positional arguments to function `identity`: expected 1, got 2
New: Too many positional arguments: expected 1, got 2

subprojects/highs/src/highspy/highs.py

[error] invalid-argument-type - :269:63 -
Old: Argument to function `internal_get_value` is incorrect: Expected `Integral | highs_var | highs_cons | ... omitted 4 union elements`, found `object`
New: Argument is incorrect: Expected `Integral | highs_var | highs_cons | ... omitted 4 union elements`, found `object`

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

setuptools/config/_validate_pyproject/error_reporting.py

[error] invalid-argument-type - :99:45 -
Old: Argument to function `_simplify_name` is incorrect: Expected `str`, found `Unknown | None`
New: Argument is incorrect: Expected `str`, found `Unknown | None`

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

sockeye/inference.py

[error] parameter-already-assigned - :1241:53 -
Old: Multiple values provided for parameter `unshift_target_factors` of function `_assemble_translation`
New: Multiple values provided for parameter `unshift_target_factors`

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

static_frame/core/quilt.py

[error] invalid-argument-type - :1183:66 -
Old: Argument to function `_relabel` is incorrect: Expected `Frame | Series[Any, Any]`, found `Bus[Any] | Yarn[Any]`
New: Argument is incorrect: Expected `Frame | Series[Any, Any]`, found `Bus[Any] | Yarn[Any]`
[error] invalid-argument-type - :1194:25 -
Old: Argument to function `_relabel` is incorrect: Expected `Frame | Series[Any, Any]`, found `Bus[Any] | Yarn[Any]`
New: Argument is incorrect: Expected `Frame | Series[Any, Any]`, found `Bus[Any] | Yarn[Any]`

static_frame/test/unit/test_display.py

[error] invalid-argument-type - :595:39 -
Old: Argument to function `in_category` is incorrect: Expected `type | dtype[Any]`, found `None`
New: Argument is incorrect: Expected `type | dtype[Any]`, found `None`

static_frame/test/unit/test_type_clinic.py

[error] no-matching-overload - :946:6 -
Old: No overload of function `warn` matches arguments
New: No overload matches arguments
[error] no-matching-overload - :3167:6 -
Old: No overload of function `warn` matches arguments
New: No overload matches arguments

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

sympy/physics/secondquant.py

[error] too-many-positional-arguments - :1983:45 - Too many positional arguments to bound method `__new__`: expected 2, got 3

sympy/utilities/misc.py

[error] invalid-argument-type - :480:26 -
Old: Argument to function `maketrans` is incorrect: Expected `str`, found `Unknown | None | Literal[""]`
New: Argument is incorrect: Expected `str`, found `Unknown | None | Literal[""]`

vision (https://github.com/pytorch/vision)

test/test_datasets.py

[error] invalid-argument-type - :3158:21 -
Old: Argument to function `_make_scene_folder` is incorrect: Expected `str`, found `Unknown | Path`
New: Argument is incorrect: Expected `str`, found `Unknown | Path`
[error] invalid-argument-type - :3425:49 -
Old: Argument to function `_create_scene_folder` is incorrect: Expected `str`, found `Path`
New: Argument is incorrect: Expected `str`, found `Path`
[error] invalid-argument-type - :3429:58 -
Old: Argument to function `_create_annotation_folder` is incorrect: Expected `str`, found `Path`
New: Argument is incorrect: Expected `str`, found `Path`

test/test_transforms.py

[error] invalid-argument-type - :324:53 -
Old: Argument to function `get_params` is incorrect: Expected `list[int | float]`, found `tuple[Unknown | float, Unknown]`
New: Argument is incorrect: Expected `list[int | float]`, found `tuple[Unknown | float, Unknown]`
[error] invalid-argument-type - :324:66 -
Old: Argument to function `get_params` is incorrect: Expected `list[int | float]`, found `tuple[Unknown | float, Unknown]`
New: Argument is incorrect: Expected `list[int | float]`, found `tuple[Unknown | float, Unknown]`

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

xarray/tests/test_plot.py

[error] unresolved-attribute - :1309:53 - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - :1329:12 - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - :1336:12 - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - :1414:12 - Object of type `(...) -> Unknown` has no attribute `__name__`

zope.interface (https://github.com/zopefoundation/zope.interface)

src/zope/interface/interface.py

[error] missing-argument - :739:16 -
Old: No arguments provided for required parameters `bases`, `attrs` of bound method `__new__`
New: No arguments provided for required parameters `name`, `bases`, `attrs` of function `__new__`