fix support pytest.mark.parametrize type infer #3715#4053
Draft
asukaminato0721 wants to merge 2 commits into
Draft
fix support pytest.mark.parametrize type infer #3715#4053asukaminato0721 wants to merge 2 commits into
asukaminato0721 wants to merge 2 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
|
Diff from mypy_primer, showing the effect of this PR on open source code: openlibrary (https://github.com/internetarchive/openlibrary)
+ ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1695:52-59: Argument `dict[str, int | list[str]] | dict[str, int] | dict[str, list[str]]` is not assignable to parameter `edition` with type `Edition` in function `openlibrary.catalog.add_book.should_overwrite_promise_item` [bad-argument-type]
+ ERROR openlibrary/utils/tests/test_isbn.py:97:30-34: Argument `str | None` is not assignable to parameter `isbn` with type `str` in function `openlibrary.utils.isbn.get_isbn_10_and_13` [bad-argument-type]
cloud-init (https://github.com/canonical/cloud-init)
+ ERROR tests/integration_tests/test_networking.py:193:37-54: Object of class `ParameterSet` has no attribute `format` [missing-attribute]
ppb-vector (https://github.com/ppb/ppb-vector)
+ ERROR tests/test_convert.py:35:24-33: Argument `Mapping[str, float] | list[float] | tuple[float, ...]` is not assignable to parameter `other` with type `Sequence[SupportsFloat] | Vector | VectorLikeDict | tuple[SupportsFloat, SupportsFloat]` in function `ppb_vector.Vector.__new__` [bad-argument-type]
rotki (https://github.com/rotki/rotki)
+ ERROR rotkehlchen/tests/integration/test_eth2.py:92:101-121: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress | None` in function `rotkehlchen.chain.ethereum.modules.eth2.structures.ValidatorDetails.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:93:101-121: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress | None` in function `rotkehlchen.chain.ethereum.modules.eth2.structures.ValidatorDetails.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:101:65-82: Argument `list[str]` is not assignable to parameter `addresses` with type `Sequence[ChecksumAddress]` in function `rotkehlchen.chain.ethereum.modules.eth2.eth2.Eth2.query_services_for_validator_withdrawals` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:130:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:140:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:150:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:160:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:170:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:180:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:236:36-51: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress | None` in function `rotkehlchen.chain.ethereum.modules.eth2.structures.ValidatorDetails.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:243:36-51: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress | None` in function `rotkehlchen.chain.ethereum.modules.eth2.structures.ValidatorDetails.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:283:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:299:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:307:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:315:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:323:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:331:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:347:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:355:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:371:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:668:23-35: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:677:23-35: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_aave_v3.py:1738:21-37: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress | None` in function `rotkehlchen.history.events.structures.onchain_event.OnchainEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_aave_v3.py:1750:21-36: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress | None` in function `rotkehlchen.history.events.structures.onchain_event.OnchainEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_aave_v3.py:1762:21-36: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress | None` in function `rotkehlchen.history.events.structures.onchain_event.OnchainEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_aave_v3.py:1836:21-36: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress | None` in function `rotkehlchen.history.events.structures.onchain_event.OnchainEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_aave_v3.py:1849:21-36: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress | None` in function `rotkehlchen.history.events.structures.onchain_event.OnchainEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_aave_v3.py:1888:21-36: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress | None` in function `rotkehlchen.history.events.structures.onchain_event.OnchainEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_curve.py:400:50-405:6: No matching overload found for function `rotkehlchen.tests.utils.ethereum.get_decoded_events_of_transaction` called with arguments: (evm_inquirer=Unknown, tx_hash=EVMTxHash, relevant_address=str, load_global_caches=list[str]) [no-matching-overload]
+ ERROR rotkehlchen/tests/unit/decoders/test_mintclub.py:45:17-33: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress` in function `rotkehlchen.chain.evm.transactions.EvmTransactions.single_address_query_transactions` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_safe.py:271:17-33: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress` in function `rotkehlchen.chain.evm.transactions.EvmTransactions.single_address_query_transactions` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_safe.py:301:21-37: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress | None` in function `rotkehlchen.history.events.structures.onchain_event.OnchainEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/decoders/test_weth.py:834:50-839:6: No matching overload found for function `rotkehlchen.tests.utils.ethereum.get_decoded_events_of_transaction` called with arguments: (evm_inquirer=Unknown, tx_hash=EVMTxHash, relevant_address=str, load_global_caches=list[str]) [no-matching-overload]
+ ERROR rotkehlchen/tests/unit/test_nfts.py:118:21-41: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress` in function `rotkehlchen.db.dbhandler.DBHandler.save_tokens_for_address` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/test_nfts.py:124:21-39: Argument `str` is not assignable to parameter `address` with type `ChecksumAddress` in function `rotkehlchen.db.dbhandler.DBHandler.save_tokens_for_address` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/test_nfts.py:130:41-58: Argument `list[str]` is not assignable to parameter `addresses` with type `Sequence[ChecksumAddress]` in function `rotkehlchen.chain.ethereum.modules.nft.nfts.Nfts.query_balances` [bad-argument-type]
aiohttp-devtools (https://github.com/aio-libs/aiohttp-devtools)
+ ERROR tests/test_runserver_serve.py:119:21-26: Argument `int | str | None` is not assignable to parameter `num` with type `int` in function `aiohttp_devtools.runserver.log_handlers.fmt_size` [bad-argument-type]
flake8 (https://github.com/pycqa/flake8)
+ ERROR tests/integration/test_checker.py:273:23-53: `list[tuple[str, list[tuple[str, int, int, str, str]] | list[Unknown], dict[@_, @_]]]` is not assignable to attribute `results` with type `list[tuple[str, list[tuple[str, int, int, str, str | None]], dict[str, int]]]` [bad-assignment]
pytest (https://github.com/pytest-dev/pytest)
+ ERROR testing/test_capture.py:69:37-43: Argument `str` is not assignable to parameter `method` with type `Literal['fd', 'no', 'sys', 'tee-sys']` in function `_pytest.capture.CaptureManager.__init__` [bad-argument-type]
+ ERROR testing/test_main.py:27:5-20: Cannot unpack ParameterSet (of size 3) into 2 values [bad-unpacking]
+ ERROR testing/test_main.py:33:20-32: Object of class `Collection` has no attribute `__name__` [missing-attribute]
+ ERROR testing/test_main.py:65:63-75: Object of class `Collection` has no attribute `__name__` [missing-attribute]
+ ERROR testing/test_reports.py:342:24-46: Argument `ExceptionInfo[BaseException] | TerminalRepr | str | tuple[str, int, str] | None` is not assignable to parameter `longrepr` with type `ExceptionChainRepr` in function `check_longrepr` [bad-argument-type]
+ ERROR testing/test_reports.py:347:9-42: Object of class `ExceptionInfo` has no attribute `toterminal`
+ Object of class `NoneType` has no attribute `toterminal`
+ Object of class `str` has no attribute `toterminal`
+ Object of class `tuple` has no attribute `toterminal` [missing-attribute]
cryptography (https://github.com/pyca/cryptography)
+ ERROR tests/hazmat/primitives/test_rsa.py:823:38-45: Argument `bytearray | bytes` is not assignable to parameter `data` with type `bytes` in function `cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey.sign` [bad-argument-type]
+ ERROR tests/hazmat/primitives/test_rsa.py:825:38-45: Argument `bytearray | bytes` is not assignable to parameter `data` with type `bytes` in function `cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey.verify` [bad-argument-type]
+ ERROR tests/hazmat/primitives/test_rsa.py:1411:38-45: Argument `bytearray | bytes` is not assignable to parameter `data` with type `bytes` in function `cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey.sign` [bad-argument-type]
+ ERROR tests/hazmat/primitives/test_rsa.py:1413:38-45: Argument `bytearray | bytes` is not assignable to parameter `data` with type `bytes` in function `cryptography.hazmat.primitives.asymmetric.rsa.RSAPublicKey.verify` [bad-argument-type]
+ ERROR tests/hazmat/primitives/test_rsa.py:2783:27-53: Object of class `Ed25519PrivateKey` has no attribute `private_numbers`
+ Object of class `Ed448PrivateKey` has no attribute `private_numbers`
+ Object of class `MLDSA44PrivateKey` has no attribute `private_numbers`
+ Object of class `MLDSA65PrivateKey` has no attribute `private_numbers`
+ Object of class `MLDSA87PrivateKey` has no attribute `private_numbers`
+ Object of class `MLKEM1024PrivateKey` has no attribute `private_numbers`
+ Object of class `MLKEM768PrivateKey` has no attribute `private_numbers`
+ Object of class `X25519PrivateKey` has no attribute `private_numbers`
+ Object of class `X448PrivateKey` has no attribute `private_numbers` [missing-attribute]
+ ERROR tests/x509/test_x509.py:3466:39-48: Argument `object | None` is not assignable to parameter `algorithm` with type `SHA224 | SHA256 | SHA384 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | SHA512 | None` in function `cryptography.x509.base.CertificateBuilder.sign` [bad-argument-type]
+ ERROR tests/x509/test_x509.py:4748:28-35: Argument `type[SubjectKeyIdentifier] | AuthorityInformationAccess | AuthorityKeyIdentifier | CRLDistributionPoints | CertificatePolicies | ExtendedKeyUsage | FreshestCRL | InhibitAnyPolicy | IssuerAlternativeName | KeyUsage | NameConstraints | OCSPNoCheck | PolicyConstraints | PrivateKeyUsagePeriod | SubjectAlternativeName | SubjectInformationAccess | SubjectKeyIdentifier | TLSFeature` is not assignable to parameter `extval` with type `ExtensionType` in function `cryptography.x509.base.CertificateBuilder.add_extension` [bad-argument-type]
+ ERROR tests/x509/test_x509.py:4752:54-69: `ABCMeta` is not assignable to upper bound `ExtensionType` of type variable `ExtensionTypeVar` [bad-specialization]
+ ERROR tests/x509/test_x509.py:4762:28-35: Argument `type[SubjectKeyIdentifier] | AuthorityInformationAccess | AuthorityKeyIdentifier | CRLDistributionPoints | CertificatePolicies | ExtendedKeyUsage | FreshestCRL | InhibitAnyPolicy | IssuerAlternativeName | KeyUsage | NameConstraints | OCSPNoCheck | PolicyConstraints | PrivateKeyUsagePeriod | SubjectAlternativeName | SubjectInformationAccess | SubjectKeyIdentifier | TLSFeature` is not assignable to parameter `extval` with type `ExtensionType` in function `cryptography.x509.base.CertificateSigningRequestBuilder.add_extension` [bad-argument-type]
+ ERROR tests/x509/test_x509.py:4765:53-68: `ABCMeta` is not assignable to upper bound `ExtensionType` of type variable `ExtensionTypeVar` [bad-specialization]
altair (https://github.com/vega/altair)
+ ERROR tests/utils/test_schemapi.py:1036:32-40: Argument `RangeIndex | ndarray[tuple[int], dtype[signedinteger[_NBitIntP]]] | range | Unknown` is not assignable to parameter `sort` with type `Literal['-color', '-fill', '-fillOpacity', '-opacity', '-shape', '-size', '-stroke', '-strokeOpacity', '-strokeWidth', '-text', '-x', '-y', 'ascending', 'color', 'descending', 'fill', 'fillOpacity', 'opacity', 'shape', 'size', 'stroke', 'strokeOpacity', 'strokeWidth', 'text', 'x', 'y'] | Mapping[str, Any] | SchemaBase | Sequence[Mapping[str, Any] | SchemaBase | date | datetime] | Sequence[bool] | Sequence[float] | Sequence[str] | UndefinedType | None` in function `altair.vegalite.v6.schema.channels.X.__init__` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `angle` with type `Angle | AngleDatum | AngleValue | ConditionLike | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `color` with type `Color | ColorDatum | ColorValue | ConditionLike | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `column` with type `Column | ConditionLike | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `description` with type `ConditionLike | Description | DescriptionValue | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `detail` with type `ConditionLike | Detail | Mapping[str, Any] | Sequence[ConditionLike | Detail | Mapping[str, Any] | str | _Conditional[Any]] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `facet` with type `ConditionLike | Facet | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `fill` with type `ConditionLike | Fill | FillDatum | FillValue | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `fillOpacity` with type `ConditionLike | FillOpacity | FillOpacityDatum | FillOpacityValue | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `href` with type `ConditionLike | Href | HrefValue | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `key` with type `ConditionLike | Key | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `latitude` with type `ConditionLike | Latitude | LatitudeDatum | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `latitude2` with type `ConditionLike | Latitude2 | Latitude2Datum | Latitude2Value | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `longitude` with type `ConditionLike | Longitude | LongitudeDatum | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `longitude2` with type `ConditionLike | Longitude2 | Longitude2Datum | Longitude2Value | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `opacity` with type `ConditionLike | Mapping[str, Any] | Opacity | OpacityDatum | OpacityValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `order` with type `ConditionLike | Mapping[str, Any] | Order | OrderValue | Sequence[ConditionLike | Mapping[str, Any] | Order | OrderValue | str | _Conditional[Any]] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `radius` with type `ConditionLike | Mapping[str, Any] | Radius | RadiusDatum | RadiusValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `radius2` with type `ConditionLike | Mapping[str, Any] | Radius2 | Radius2Datum | Radius2Value | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `row` with type `ConditionLike | Mapping[str, Any] | Row | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `shape` with type `ConditionLike | Mapping[str, Any] | Shape | ShapeDatum | ShapeValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `size` with type `ConditionLike | Mapping[str, Any] | Size | SizeDatum | SizeValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `stroke` with type `ConditionLike | Mapping[str, Any] | Stroke | StrokeDatum | StrokeValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `strokeDash` with type `ConditionLike | Mapping[str, Any] | StrokeDash | StrokeDashDatum | StrokeDashValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `strokeOpacity` with type `ConditionLike | Mapping[str, Any] | StrokeOpacity | StrokeOpacityDatum | StrokeOpacityValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `strokeWidth` with type `ConditionLike | Mapping[str, Any] | StrokeWidth | StrokeWidthDatum | StrokeWidthValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `text` with type `ConditionLike | Mapping[str, Any] | Text | TextDatum | TextValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `theta` with type `ConditionLike | Mapping[str, Any] | Theta | ThetaDatum | ThetaValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `theta2` with type `ConditionLike | Mapping[str, Any] | Theta2 | Theta2Datum | Theta2Value | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `time` with type `ConditionLike | Mapping[str, Any] | Time | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `tooltip` with type `ConditionLike | Mapping[str, Any] | Sequence[ConditionLike | Mapping[str, Any] | Tooltip | TooltipValue | str | _Conditional[Any]] | Tooltip | TooltipValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `url` with type `ConditionLike | Mapping[str, Any] | UndefinedType | Url | UrlValue | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `x2` with type `ConditionLike | Mapping[str, Any] | UndefinedType | X2 | X2Datum | X2Value | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `xError` with type `ConditionLike | Mapping[str, Any] | UndefinedType | XError | XErrorValue | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `xError2` with type `ConditionLike | Mapping[str, Any] | UndefinedType | XError2 | XError2Value | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `xOffset` with type `ConditionLike | Mapping[str, Any] | UndefinedType | XOffset | XOffsetDatum | XOffsetValue | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `y2` with type `ConditionLike | Mapping[str, Any] | UndefinedType | Y2 | Y2Datum | Y2Value | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `yError` with type `ConditionLike | Mapping[str, Any] | UndefinedType | YError | YErrorValue | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `yError2` with type `ConditionLike | Mapping[str, Any] | UndefinedType | YError2 | YError2Value | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:752:25-53: Unpacked keyword argument `ColorValue | Text | _Conditional[_ConditionExtra]` is not assignable to parameter `yOffset` with type `ConditionLike | Mapping[str, Any] | UndefinedType | YOffset | YOffsetDatum | YOffsetValue | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `angle` with type `Angle | AngleDatum | AngleValue | ConditionLike | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `color` with type `Color | ColorDatum | ColorValue | ConditionLike | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `column` with type `Column | ConditionLike | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `description` with type `ConditionLike | Description | DescriptionValue | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `detail` with type `ConditionLike | Detail | Mapping[str, Any] | Sequence[ConditionLike | Detail | Mapping[str, Any] | str | _Conditional[Any]] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `facet` with type `ConditionLike | Facet | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `fill` with type `ConditionLike | Fill | FillDatum | FillValue | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `fillOpacity` with type `ConditionLike | FillOpacity | FillOpacityDatum | FillOpacityValue | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `href` with type `ConditionLike | Href | HrefValue | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `key` with type `ConditionLike | Key | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `latitude` with type `ConditionLike | Latitude | LatitudeDatum | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `latitude2` with type `ConditionLike | Latitude2 | Latitude2Datum | Latitude2Value | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `longitude` with type `ConditionLike | Longitude | LongitudeDatum | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `longitude2` with type `ConditionLike | Longitude2 | Longitude2Datum | Longitude2Value | Mapping[str, Any] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `opacity` with type `ConditionLike | Mapping[str, Any] | Opacity | OpacityDatum | OpacityValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `order` with type `ConditionLike | Mapping[str, Any] | Order | OrderValue | Sequence[ConditionLike | Mapping[str, Any] | Order | OrderValue | str | _Conditional[Any]] | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `radius` with type `ConditionLike | Mapping[str, Any] | Radius | RadiusDatum | RadiusValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `radius2` with type `ConditionLike | Mapping[str, Any] | Radius2 | Radius2Datum | Radius2Value | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `row` with type `ConditionLike | Mapping[str, Any] | Row | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `shape` with type `ConditionLike | Mapping[str, Any] | Shape | ShapeDatum | ShapeValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `size` with type `ConditionLike | Mapping[str, Any] | Size | SizeDatum | SizeValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
+ ERROR tests/vegalite/v6/test_api.py:761:25-48: Unpacked keyword argument `ColorValue | Text | _Conditional[list[_ConditionClosed]] | _Conditional[_ConditionExtra]` is not assignable to parameter `stroke` with type `ConditionLike | Mapping[str, Any] | Stroke | StrokeDatum | StrokeValue | UndefinedType | str | _Conditional[Any]` in function `altair.vegalite.v6.schema.channels._EncodingMixin.encode` [bad-argument-type]
... (truncated 19 lines) ...
scikit-build-core (https://github.com/scikit-build/scikit-build-core)
+ ERROR tests/test_get_requires.py:140:33-39: Argument `dict[str, str]` is not assignable to parameter `config_settings` with type `dict[str, list[str] | str] | None` in function `scikit_build_core.build.get_requires_for_build_editable` [bad-argument-type]
+ ERROR tests/test_get_requires.py:140:33-39: Argument `dict[str, str]` is not assignable to parameter `config_settings` with type `dict[str, list[str] | str] | None` in function `scikit_build_core.build.get_requires_for_build_sdist` [bad-argument-type]
+ ERROR tests/test_get_requires.py:140:33-39: Argument `dict[str, str]` is not assignable to parameter `config_settings` with type `dict[str, list[str] | str] | None` in function `scikit_build_core.build.get_requires_for_build_wheel` [bad-argument-type]
+ ERROR tests/test_pyproject_pep660.py:24:55-68: Object of class `str` has no attribute `mode` [missing-attribute]
+ ERROR tests/test_pyproject_pep660.py:39:8-21: Object of class `str` has no attribute `mode` [missing-attribute]
pandera (https://github.com/pandera-dev/pandera)
+ ERROR tests/modin/test_schemas_on_modin.py:109:32-38: Argument `Column | SeriesSchema` is not assignable to parameter `schema` with type `DataFrameSchema | SeriesSchema` in function `_test_datatype_with_schema` [bad-argument-type]
+ ERROR tests/modin/test_schemas_on_modin.py:139:29-36: Unexpected keyword argument `indexes` in function `pandera.api.dataframe.components.ComponentSchema.__init__` [unexpected-keyword]
+ ERROR tests/pandas/test_decorators.py:482:26-36: Argument `dict[str, str] | float | list[str] | set[int]` is not assignable to parameter `obj_getter` with type `int | str | None` in function `pandera.decorators.check_input` [bad-argument-type]
+ ERROR tests/pandas/test_decorators.py:486:27-37: Argument `dict[str, str] | float | list[str] | set[int]` is not assignable to parameter `obj_getter` with type `((...) -> Unknown) | int | str | None` in function `pandera.decorators.check_output` [bad-argument-type]
+ ERROR tests/pandas/test_schema_components.py:1002:20-27: Argument `float | int | list[Column | Index] | list[Column] | list[SeriesSchema] | str` is not assignable to parameter `indexes` with type `list[Index]` in function `pandera.api.pandas.components.MultiIndex.__init__` [bad-argument-type]
+ ERROR tests/pandas/test_schema_inference.py:66:25-37: No matching overload found for function `pandera.schema_inference.pandas.infer_schema` called with arguments: (type[int] | DataFrame | Index[int] | Series[int] | dict[str, str] | int | list[int] | str) [no-matching-overload]
+ ERROR tests/pandas/test_schema_inference.py:68:39-51: No matching overload found for function `pandera.schema_inference.pandas.infer_schema` called with arguments: (type[int] | DataFrame | Index[int] | Series[int] | dict[str, str] | int | list[int] | str) [no-matching-overload]
+ ERROR tests/pandas/test_schemas.py:1939:25-29: Argument `DataFrame | Series[float] | Series[int] | Series[str]` is not assignable to parameter `check_obj` with type `DataFrame` in function `pandera.api.pandas.container.DataFrameSchema.validate` [bad-argument-type]
+ ERROR tests/pandas/test_schemas.py:1939:25-29: Argument `DataFrame | Series[float] | Series[int] | Series[str]` is not assignable to parameter `check_obj` with type `Series` in function `pandera.api.pandas.array.SeriesSchema.validate` [bad-argument-type]
+ ERROR tests/pandas/test_schemas.py:1953:41-66: Object of class `float` has no attribute `items`
+ Object of class `int` has no attribute `items`
+ Object of class `str` has no attribute `items` [missing-attribute]
+ ERROR tests/pyspark/test_schemas_on_pyspark_pandas.py:205:43-49: Argument `Column | SeriesSchema` is not assignable to parameter `schema` with type `DataFrameSchema | SeriesSchema` in function `_test_datatype_with_schema` [bad-argument-type]
+ ERROR tests/pyspark/test_schemas_on_pyspark_pandas.py:248:13-20: Unexpected keyword argument `indexes` in function `pandera.api.dataframe.components.ComponentSchema.__init__` [unexpected-keyword]
ibis (https://github.com/ibis-project/ibis)
+ ERROR ibis/backends/clickhouse/tests/test_client.py:348:19-42: Object of class `Node` has no attribute `__func_name__` [missing-attribute]
+ ERROR ibis/backends/clickhouse/tests/test_functions.py:89:27-31: Argument `str` is not assignable to parameter `unit` with type `Literal['D', 'M', 'Q', 'W', 'Y', 'h', 'm', 'ms', 'ns', 's', 'us']` in function `ibis.expr.types.temporal.TimestampValue.truncate` [bad-argument-type]
+ ERROR ibis/backends/clickhouse/tests/test_functions.py:241:12-29: Object of class `Scalar` has no attribute `find_in_set` [missing-attribute]
+ ERROR ibis/backends/clickhouse/tests/test_operators.py:105:63-67: Argument `StringValue | date` is not assignable to parameter `lower` with type `Value` in function `ibis.expr.types.generic.Value.between` [bad-argument-type]
+ ERROR ibis/backends/clickhouse/tests/test_operators.py:105:69-74: Argument `StringValue | date` is not assignable to parameter `upper` with type `Value` in function `ibis.expr.types.generic.Value.between` [bad-argument-type]
+ ERROR ibis/backends/clickhouse/tests/test_operators.py:124:58-62: Argument `StringValue | datetime` is not assignable to parameter `lower` with type `TimeValue | str | time` in function `ibis.expr.types.temporal._TimeComponentMixin.between` [bad-argument-type]
+ ERROR ibis/backends/clickhouse/tests/test_operators.py:124:64-69: Argument `StringValue | datetime` is not assignable to parameter `upper` with type `TimeValue | str | time` in function `ibis.expr.types.temporal._TimeComponentMixin.between` [bad-argument-type]
+ ERROR ibis/backends/clickhouse/tests/test_operators.py:272:12-26: `*` is not supported between `Scalar` and `int` [unsupported-operation]
+ ERROR ibis/backends/impala/tests/test_exprs.py:172:44-48: Argument `Scalar | float | int` is not assignable to parameter `expr` with type `Expr` in function `ibis.expr.sql.to_sql` [bad-argument-type]
+ ERROR ibis/backends/polars/tests/test_udf.py:105:28-34: Argument `DataFrame | Series | Any` is not assignable to parameter `left` with type `Series` in function `pandas._testing.assert_series_equal` [bad-argument-type]
+ ERROR ibis/backends/postgres/tests/test_functions.py:890:51-61: Argument `Float64 | Int64 | String` is not assignable to parameter `nullable` with type `bool` in function `ibis.expr.datatypes.core.Array.__init__` [bad-argument-type]
+ ERROR ibis/backends/postgres/tests/test_json.py:90:63-65: No matching overload found for function `pandas.core.frame.DataFrame.sort_values` called with arguments: () [no-matching-overload]
+ ERROR ibis/backends/sql/tests/test_datatypes.py:91:12-30: Object of class `DataType` has no attribute `raw_type` [missing-attribute]
+ ERROR ibis/backends/sqlite/tests/test_types.py:73:28-59: No matching overload found for function `pandas.core.tools.datetimes.to_datetime` called with arguments: (list[str | None], format=Literal['mixed'] | None, utc=Literal[True]) [no-matching-overload]
+ ERROR ibis/backends/tests/test_json.py:163:63-65: No matching overload found for function `pandas.core.frame.DataFrame.sort_values` called with arguments: () [no-matching-overload]
+ ERROR ibis/backends/tests/test_struct.py:87:34-39: Cannot index into `StringValue` [bad-index]
+ ERROR ibis/backends/tests/test_temporal.py:2458:37-44: Argument `*Unknown` is not assignable to parameter `dialect` with type `str | None` in function `ibis.expr.sql.to_sql` [bad-argument-type]
+ ERROR ibis/backends/tests/test_temporal.py:2488:37-44: Argument `*Unknown` is not assignable to parameter `dialect` with type `str | None` in function `ibis.expr.sql.to_sql` [bad-argument-type]
+ ERROR ibis/common/tests/test_deferred.py:507:14-17: Argument `Deferred` is not assignable to parameter `i` with type `SupportsNext[@_]` in function `next` [bad-argument-type]
+ ERROR ibis/common/tests/test_patterns.py:1129:34-39: Argument `type[bool] | type[int] | type[str] | Annotated[int] | type[Literal['alpha', 'beta', 'gamma'] | ((str, int) -> str) | FrozenDict[str, int] | dict[str, float] | int | list[int] | str | tuple[int, float, str] | tuple[int, ...] | Callable | None]` is not assignable to parameter `annot` with type `type[Any]` in function `ibis.common.patterns.Pattern.from_typehint` [bad-argument-type]
+ ERROR ibis/common/tests/test_temporal.py:92:32-37: Argument `int | timedelta` is not assignable to parameter `value` with type `Real | timedelta` in function `ibis.common.temporal.normalize_timedelta` [bad-argument-type]
+ ERROR ibis/expr/datatypes/tests/test_cast.py:72:12-27: No attribute `castable` in module `uuid` [missing-attribute]
+ ERROR ibis/expr/datatypes/tests/test_core.py:515:31-35: Argument `str` is not assignable to parameter `unit` with type `IntervalUnit` in function `ibis.expr.datatypes.core.Interval.__init__` [bad-argument-type]
+ ERROR ibis/expr/datatypes/tests/test_parse.py:177:32-46: Argument `dict[str, Int32 | String] | dict[str, Int32]` is not assignable to parameter `nullable` with type `bool` in function `ibis.expr.datatypes.core.Struct.__init__` [bad-argument-type]
+ ERROR ibis/expr/datatypes/tests/test_parse.py:267:24-28: Argument `str` is not assignable to parameter `nullable` with type `bool` in function `ibis.expr.datatypes.core.Interval.__init__` [bad-argument-type]
+ ERROR ibis/expr/tests/test_newrels.py:769:28-31: Argument `str` is not assignable to parameter `how` with type `Literal['anti', 'any_inner', 'any_left', 'asof', 'cross', 'inner', 'left', 'outer', 'positional', 'right', 'semi']` in function `ibis.expr.types.relations.Table.join` [bad-argument-type]
+ ERROR ibis/expr/tests/test_newrels.py:769:45-48: Argument `str` is not assignable to parameter `how` with type `Literal['anti', 'any_inner', 'any_left', 'asof', 'cross', 'inner', 'left', 'outer', 'positional', 'right', 'semi']` in function `ibis.expr.types.relations.Table.join` [bad-argument-type]
+ ERROR ibis/expr/tests/test_newrels.py:775:28-31: Argument `str` is not assignable to parameter `how` with type `Literal['anti', 'any_inner', 'any_left', 'asof', 'cross', 'inner', 'left', 'outer', 'positional', 'right', 'semi']` in function `ibis.expr.operations.relations.JoinLink.__init__` [bad-argument-type]
+ ERROR ibis/expr/tests/test_newrels.py:775:51-54: Argument `str` is not assignable to parameter `how` with type `Literal['anti', 'any_inner', 'any_left', 'asof', 'cross', 'inner', 'left', 'outer', 'positional', 'right', 'semi']` in function `ibis.expr.operations.relations.JoinLink.__init__` [bad-argument-type]
+ ERROR ibis/expr/tests/test_visualize.py:90:54-57: Argument `str` is not assignable to parameter `how` with type `Literal['anti', 'any_inner', 'any_left', 'asof', 'cross', 'inner', 'left', 'outer', 'positional', 'right', 'semi']` in function `ibis.expr.types.relations.Table.join` [bad-argument-type]
+ ERROR ibis/tests/expr/test_decimal.py:137:20-29: Argument `float | int` is not assignable to parameter `precision` with type `int | None` in function `ibis.expr.datatypes.core.Decimal.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_decimal.py:137:31-36: Argument `float | int` is not assignable to parameter `scale` with type `int | None` in function `ibis.expr.datatypes.core.Decimal.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_table.py:2060:25-29: Argument `str` is not assignable to parameter `keep` with type `Literal['first', 'last'] | None` in function `ibis.expr.types.relations.Table.distinct` [bad-argument-type]
+ ERROR ibis/tests/expr/test_temporal.py:329:12-31: Object of class `DataType` has no attribute `unit` [missing-attribute]
+ ERROR ibis/tests/expr/test_temporal.py:798:36-40: Argument `str` is not assignable to parameter `unit` with type `Literal['D', 'M', 'Q', 'W', 'Y', 'h', 'm', 'ms', 'ns', 's', 'us']` in function `ibis.expr.types.temporal.TimestampValue.truncate` [bad-argument-type]
+ ERROR ibis/tests/expr/test_temporal.py:806:36-40: Argument `str` is not assignable to parameter `unit` with type `Literal['D', 'M', 'Q', 'W', 'Y']` in function `ibis.expr.types.temporal.DateValue.truncate` [bad-argument-type]
+ ERROR ibis/tests/expr/test_temporal.py:814:36-40: Argument `str` is not assignable to parameter `unit` with type `Literal['h', 'm', 'ms', 'ns', 's', 'us']` in function `ibis.expr.types.temporal.TimeValue.truncate` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:39:19-46: Argument `list[Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:39:19-46: Argument `list[Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:39:19-46: Argument `list[Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:40:20-58: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:40:20-58: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:40:20-58: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:54:18-19: Argument `Literal[1]` is not assignable to parameter `func` with type `FunctionType` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:54:18-19: Argument `Literal[1]` is not assignable to parameter `func` with type `FunctionType` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:54:18-19: Argument `Literal[1]` is not assignable to parameter `func` with type `FunctionType` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:55:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:55:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:55:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:56:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:56:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:56:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:64:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:64:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:64:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:65:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:65:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:65:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:73:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:73:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:73:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:74:24-30: Argument `Literal['int8']` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:74:24-30: Argument `Literal['int8']` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:74:24-30: Argument `Literal['int8']` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:82:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:82:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:82:23-58: Argument `list[Scalar | Unknown]` is not assignable to parameter `func_args` with type `tuple[Value[Unknown, Columnar], ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:83:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.AnalyticVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:83:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ElementWiseVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_udf.py:83:24-62: Argument `list[Boolean | Int8 | String]` is not assignable to parameter `input_type` with type `tuple[DataType, ...]` in function `ibis.expr.operations.vectorized.ReductionVectorizedUDF.__init__` [bad-argument-type]
+ ERROR ibis/tests/expr/test_value_exprs.py:200:12-27: Object of class `Node` has no attribute `value` [missing-attribute]
+ ERROR ibis/tests/expr/test_value_exprs.py:821:12-23: Object of class `int` has no attribute `type` [missing-attribute]
+ ERROR ibis/tests/expr/test_value_exprs.py:909:34-39: Argument `float | int | str` is not assignable to parameter `fill_value` with type `Scalar` in function `ibis.expr.types.generic.Value.fill_null` [bad-argument-type]
+ ERROR ibis/tests/expr/test_value_exprs.py:1054:23-27: Argument `float | int | list[str] | str` is not assignable to parameter `lower` with type `TimeValue | str | time` in function `ibis.expr.types.temporal._TimeComponentMixin.between` [bad-argument-type]
+ ERROR ibis/tests/expr/test_value_exprs.py:1054:29-34: Argument `float | int | list[int] | str` is not assignable to parameter `upper` with type `TimeValue | str | time` in function `ibis.expr.types.temporal._TimeComponentMixin.between` [bad-argument-type]
+ ERROR ibis/tests/expr/test_window_frames.py:318:10-22: Object of class `int` has no attribute `op` [missing-attribute]
+ ERROR ibis/tests/expr/test_window_frames.py:318:16-19: `int` is not assignable to upper bound `Value` of type variable `V` [bad-specialization]
+ ERROR ibis/tests/expr/test_window_frames.py:324:10-23: Object of class `int` has no attribute `op` [missing-attribute]
+ ERROR ibis/tests/expr/test_window_frames.py:324:16-20: `int` is not assignable to upper bound `Value` of type variable `V` [bad-specialization]
+ ERROR ibis/tests/expr/test_window_frames.py:329:12-20: Object of class `Node` has no attribute `value` [missing-attribute]
+ ERROR ibis/tests/expr/test_window_frames.py:330:12-24: Object of class `Node` has no attribute `preceding` [missing-attribute]
+ ERROR ibis/tests/expr/test_window_frames.py:333:12-20: Object of class `Node` has no attribute `value` [missing-attribute]
+ ERROR ibis/tests/expr/test_window_frames.py:334:12-24: Object of class `Node` has no attribute `preceding` [missing-attribute]
+ ERROR ibis/tests/test_util.py:161:21-22: Argument `Generator[int] | bool | bytes | int | list[int] | list[Unknown] | str` is not assignable to parameter `iterable` with type `Iterable[int]` in function `list.__init__` [bad-argument-type]
+ ERROR ibis/tests/test_util.py:161:32-40: Argument `Literal[True] | list[int] | list[Unknown]` is not assignable to parameter `iterable` with type `Iterable[@_]` in function `list.__init__` [bad-argument-type]
sockeye (https://github.com/awslabs/sockeye)
+ ERROR test/unit/test_decoder.py:41:18-22: Argument `tuple[bool]` is not assignable to parameter `use_lhuc` with type `bool` in function `sockeye.transformer.TransformerConfig.__init__` [bad-argument-type]
+ ERROR test/unit/test_encoder.py:53:61-65: Argument `tuple[bool]` is not assignable to parameter `use_lhuc` with type `bool` in function `sockeye.transformer.TransformerConfig.__init__` [bad-argument-type]
+ ERROR test/unit/test_inference.py:289:92-101: Argument `str | None` is not assignable to parameter `delimiter` with type `str` in function `sockeye.inference.make_input_from_factored_string` [bad-argument-type]
+ ERROR test/unit/test_utils.py:134:41-53: Argument `list[float | None] | list[float]` is not assignable to parameter `means` with type `list[float | None]` in function `sockeye.utils.combine_means` [bad-argument-type]
+ ERROR test/unit/test_utils.py:157:39-50: Argument `list[float | None] | list[float]` is not assignable to parameter `stds` with type `list[float | None]` in function `sockeye.utils.combine_stds` [bad-argument-type]
+ ERROR test/unit/test_utils.py:157:52-64: Argument `list[float | None] | list[float]` is not assignable to parameter `means` with type `list[float | None]` in function `sockeye.utils.combine_stds` [bad-argument-type]
+ ERROR test/unit/test_utils.py:396:53-67: Argument `list[str] | str` is not assignable to parameter `replace_tokens` with type `list[Unknown] | None` in function `sockeye.utils.count_seq_len` [bad-argument-type]
xarray (https://github.com/pydata/xarray)
+ ERROR xarray/tests/test_backends.py:3509:46-3511:18: No matching overload found for function `xarray.core.dataset.Dataset.to_zarr` called with arguments: (Unknown, region=dict[str, slice[int, int, Any]] | dict[str, slice[Any, int, Any]], mode=str | None, **dict[str, Any]) [no-matching-overload]
+ ERROR xarray/tests/test_backends.py:5547:27-30: Argument `str` is not assignable to parameter `data_vars` with type `Literal['all', 'different', 'minimal'] | CombineKwargDefault | list[str] | None` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5548:25-32: Argument `str` is not assignable to parameter `combine` with type `Literal['by_coords', 'nested']` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5550:22-26: Argument `str` is not assignable to parameter `join` with type `Literal['exact', 'inner', 'left', 'outer', 'override', 'right'] | CombineKwargDefault` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5553:38-5555:18: No matching overload found for function `xarray.structure.concat.concat` called with arguments: (list[Unknown], data_vars=str, dim=Literal['t'], join=str, compat=Literal['equals']) [no-matching-overload]
+ ERROR xarray/tests/test_backends.py:5697:21-29: Unpacked keyword argument `str | None` is not assignable to parameter `compat` with type `Literal['broadcast_equals', 'equals', 'identical', 'minimal', 'no_conflicts', 'override'] | CombineKwargDefault` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5697:21-29: Unpacked keyword argument `str | None` is not assignable to parameter `preprocess` with type `((Dataset) -> Dataset) | None` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5697:21-29: Unpacked keyword argument `str | None` is not assignable to parameter `data_vars` with type `Literal['all', 'different', 'minimal'] | CombineKwargDefault | list[str] | None` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5697:21-29: Unpacked keyword argument `str | None` is not assignable to parameter `parallel` with type `bool` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5697:21-29: Unpacked keyword argument `str | None` is not assignable to parameter `combine_attrs` with type `Literal['drop', 'drop_conflicts', 'identical', 'no_conflicts', 'override'] | ((...) -> Any)` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5697:21-29: Unpacked keyword argument `str | None` is not assignable to parameter `errors` with type `Literal['ignore', 'raise', 'warn']` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5698:29-36: Argument `str` is not assignable to parameter `combine` with type `Literal['by_coords', 'nested']` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5784:47-54: Argument `str` is not assignable to parameter `combine` with type `Literal['by_coords', 'nested']` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5784:79-87: Unpacked keyword argument `str` is not assignable to parameter `compat` with type `Literal['broadcast_equals', 'equals', 'identical', 'minimal', 'no_conflicts', 'override'] | CombineKwargDefault` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5784:79-87: Unpacked keyword argument `str` is not assignable to parameter `preprocess` with type `((Dataset) -> Dataset) | None` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5784:79-87: Unpacked keyword argument `str` is not assignable to parameter `data_vars` with type `Literal['all', 'different', 'minimal'] | CombineKwargDefault | list[str] | None` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5784:79-87: Unpacked keyword argument `str` is not assignable to parameter `parallel` with type `bool` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5784:79-87: Unpacked keyword argument `str` is not assignable to parameter `join` with type `Literal['exact', 'inner', 'left', 'outer', 'override', 'right'] | CombineKwargDefault` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5784:79-87: Unpacked keyword argument `str` is not assignable to parameter `combine_attrs` with type `Literal['drop', 'drop_conflicts', 'identical', 'no_conflicts', 'override'] | ((...) -> Any)` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5784:79-87: Unpacked keyword argument `str` is not assignable to parameter `errors` with type `Literal['ignore', 'raise', 'warn']` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5788:26-57: No matching overload found for function `xarray.structure.concat.concat` called with arguments: (list[Unknown], dim=Literal['t'], **dict[str, str]) [no-matching-overload]
+ ERROR xarray/tests/test_backends.py:5805:46-77: No matching overload found for function `xarray.structure.concat.concat` called with arguments: (list[Unknown], dim=Literal['t'], **dict[str, str]) [no-matching-overload]
+ ERROR xarray/tests/test_backends.py:5811:44-51: Argument `str` is not assignable to parameter `combine` with type `Literal['by_coords', 'nested']` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5811:76-84: Unpacked keyword argument `str` is not assignable to parameter `compat` with type `Literal['broadcast_equals', 'equals', 'identical', 'minimal', 'no_conflicts', 'override'] | CombineKwargDefault` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5811:76-84: Unpacked keyword argument `str` is not assignable to parameter `preprocess` with type `((Dataset) -> Dataset) | None` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5811:76-84: Unpacked keyword argument `str` is not assignable to parameter `data_vars` with type `Literal['all', 'different', 'minimal'] | CombineKwargDefault | list[str] | None` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5811:76-84: Unpacked keyword argument `str` is not assignable to parameter `parallel` with type `bool` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5811:76-84: Unpacked keyword argument `str` is not assignable to parameter `join` with type `Literal['exact', 'inner', 'left', 'outer', 'override', 'right'] | CombineKwargDefault` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5811:76-84: Unpacked keyword argument `str` is not assignable to parameter `combine_attrs` with type `Literal['drop', 'drop_conflicts', 'identical', 'no_conflicts', 'override'] | ((...) -> Any)` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:5811:76-84: Unpacked keyword argument `str` is not assignable to parameter `errors` with type `Literal['ignore', 'raise', 'warn']` in function `xarray.backends.api.open_mfdataset` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:7122:23-69: No matching overload found for function `xarray.core.dataset.Dataset.to_netcdf` called with arguments: (Literal['foo.nc'], engine=str, invalid_netcdf=Literal[True]) [no-matching-overload]
+ ERROR xarray/tests/test_backends.py:7155:41-46: Argument `complex | complex128 | complexfloating[_32Bit, _32Bit]` is not assignable to parameter `value` with type `bytes | complex | float | int | str` in function `xarray.backends.zarr.FillValueCoder.encode` [bad-argument-type]
+ ERROR xarray/tests/test_backends.py:7176:37-42: Argument `float64 | floating[_32Bit]` is not assignable to parameter `value` with type `bytes | complex | float | int | str` in function `xarray.backends.zarr.FillValueCoder.encode` [bad-argument-type]
+ ERROR xarray/tests/test_cftimeindex.py:845:34-39: Argument `str` is not assignable to parameter `unit` with type `Literal['D', 'W', 'd', 'day', 'days', 'h', 'hour', 'hours', 'hr', 'm', 'micro', 'micros', 'microsecond', 'microseconds', 'milli', 'millis', 'millisecond', 'milliseconds', 'min', 'minute', 'minutes', 'ms', 'nano', 'nanos', 'nanosecond', 'nanoseconds', 'ns', 's', 'sec', 'second', 'seconds', 'us', 'w', 'µs'] | None` in function `pandas._libs.tslibs.timedeltas.Timedelta.__new__` [bad-argument-type]
+ ERROR xarray/tests/test_cftimeindex_resample.py:301:39-47: Unpacked keyword argument `str` is not assignable to parameter `indexer` with type `Mapping[Hashable, DateOffset | Resampler | Timedelta | str | timedelta] | None` in function `xarray.core.dataarray.DataArray.resample` [bad-argument-type]
+ ERROR xarray/tests/test_cftimeindex_resample.py:301:39-47: Unpacked keyword argument `str` is not assignable to parameter `skipna` with type `bool | None` in function `xarray.core.dataarray.DataArray.resample` [bad-argument-type]
+ ERROR xarray/tests/test_cftimeindex_resample.py:301:39-47: Unpacked keyword argument `str` is not assignable to parameter `closed` with type `Literal['left', 'right'] | None` in function `xarray.core.dataarray.DataArray.resample` [bad-argument-type]
+ ERROR xarray/tests/test_cftimeindex_resample.py:301:39-47: Unpacked keyword argument `str` is not assignable to parameter `label` with type `Literal['left', 'right'] | None` in function `xarray.core.dataarray.DataArray.resample` [bad-argument-type]
+ ERROR xarray/tests/test_cftimeindex_resample.py:301:39-47: Unpacked keyword argument `str` is not assignable to parameter `restore_coord_dims` with type `bool | None` in function `xarray.core.dataarray.DataArray.resample` [bad-argument-type]
+ ERROR xarray/tests/test_coarsen.py:248:8-17: Object of class `int` has no attribute `isnull` [missing-attribute]
+ ERROR xarray/tests/test_coarsen.py:252:19-29: Object of class `int` has no attribute `coarsen` [missing-attribute]
+ ERROR xarray/tests/test_conventions.py:470:52-61: Argument `str` is not assignable to parameter `time_unit` with type `Literal['ms', 'ns', 's', 'us']` in function `xarray.coding.times.CFDatetimeCoder.__init__` [bad-argument-type]
+ ERROR xarray/tests/test_conventions.py:554:52-61: Argument `str` is not assignable to parameter `time_unit` with type `Literal['ms', 'ns', 's', 'us']` in function `xarray.coding.times.CFDatetimeCoder.__init__` [bad-argument-type]
+ ERROR xarray/tests/test_conventions.py:556:50-59: Argument `str` is not assignable to parameter `time_unit` with type `Literal['ms', 'ns', 's', 'us'] | None` in function `xarray.coding.times.CFTimedeltaCoder.__init__` [bad-argument-type]
+ ERROR xarray/tests/test_conventions.py:566:52-61: Argument `str` is not assignable to parameter `time_unit` with type `Literal['ms', 'ns', 's', 'us']` in function `xarray.coding.times.CFDatetimeCoder.__init__` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:3220:56-62: Argument `str` is not assignable to parameter `method` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull']` in function `xarray.core.dataarray.DataArray.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:3222:34-78: No matching overload found for function `numpy.lib._function_base_impl.quantile` called with arguments: (Unknown, ndarray, method=str) [no-matching-overload]
+ ERROR xarray/tests/test_dataarray.py:3238:51-57: Argument `str` is not assignable to parameter `interpolation` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull'] | None` in function `xarray.core.dataarray.DataArray.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:3240:42-48: Argument `str` is not assignable to parameter `method` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull']` in function `xarray.core.dataarray.DataArray.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:3246:39-45: Argument `str` is not assignable to parameter `method` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull']` in function `xarray.core.dataarray.DataArray.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:3246:61-67: Argument `str` is not assignable to parameter `interpolation` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull'] | None` in function `xarray.core.dataarray.DataArray.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:3293:16-30: Object of class `ndarray` has no attribute `attrs` [missing-attribute]
+ ERROR xarray/tests/test_dataarray.py:3296:20-34: Object of class `ndarray` has no attribute `attrs` [missing-attribute]
+ ERROR xarray/tests/test_dataarray.py:3299:20-34: Object of class `ndarray` has no attribute `attrs` [missing-attribute]
+ ERROR xarray/tests/test_dataarray.py:4238:52-58: Argument `int` is not assignable to parameter `shifts` with type `Mapping[Any, int] | None` in function `xarray.core.dataarray.DataArray.shift` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:4716:58-62: Argument `str` is not assignable to parameter `mode` with type `Literal['constant', 'edge', 'linear_ramp', 'maximum', 'mean', 'median', 'minimum', 'reflect', 'symmetric', 'wrap']` in function `xarray.core.dataarray.DataArray.pad` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:4720:19-4725:14: No matching overload found for function `numpy.lib._arraypad_impl.pad` called with arguments: (ndarray[tuple[int, int, int], dtype[signedinteger[_NBitIntP]]], pad_width=tuple[tuple[Literal[1], Literal[3]], tuple[Literal[0], Literal[0]], tuple[Literal[2], Literal[2]]], mode=str, stat_length=int | tuple[int, int] | tuple[tuple[int, int], tuple[Literal[4], Literal[4]], tuple[int, int]] | None) [no-matching-overload]
+ ERROR xarray/tests/test_dataarray.py:4758:46-50: Argument `str` is not assignable to parameter `mode` with type `Literal['constant', 'edge', 'linear_ramp', 'maximum', 'mean', 'median', 'minimum', 'reflect', 'symmetric', 'wrap']` in function `xarray.core.dataarray.DataArray.pad` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:4758:65-77: Argument `str | None` is not assignable to parameter `reflect_type` with type `Literal['even', 'odd'] | None` in function `xarray.core.dataarray.DataArray.pad` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:4768:36-49: No matching overload found for function `numpy.lib._arraypad_impl.pad` called with arguments: (**dict[str, ndarray[tuple[int, int, int], dtype[signedinteger[_NBitIntP]]] | str | tuple[tuple[int, int], tuple[int, int], tuple[int, int]]]) [no-matching-overload]
+ ERROR xarray/tests/test_dataarray.py:7010:14-21: Object of class `str` has no attribute `isin` [missing-attribute]
+ ERROR xarray/tests/test_dataarray.py:7018:14-21: Object of class `str` has no attribute `isin` [missing-attribute]
+ ERROR xarray/tests/test_dataarray.py:7485:50-54: Argument `bool | str` is not assignable to parameter `keep` with type `Literal['first', 'last', False]` in function `xarray.core.dataarray.DataArray.drop_duplicates` [bad-argument-type]
+ ERROR xarray/tests/test_dataarray.py:7494:46-50: Argument `bool | str` is not assignable to parameter `keep` with type `Literal['first', 'last', False]` in function `xarray.core.dataarray.DataArray.drop_duplicates` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:1966:43-51: Unpacked keyword argument `NAType | float` is not assignable to parameter `indexers` with type `Mapping[Any, Any] | None` in function `xarray.core.dataset.Dataset.reindex` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:1966:43-51: Unpacked keyword argument `NAType | float` is not assignable to parameter `method` with type `Literal['backfill', 'bfill', 'ffill', 'nearest', 'pad'] | None` in function `xarray.core.dataset.Dataset.reindex` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:1966:43-51: Unpacked keyword argument `NAType | float` is not assignable to parameter `tolerance` with type `Iterable[float] | float | str | None` in function `xarray.core.dataset.Dataset.reindex` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:1966:43-51: Unpacked keyword argument `NAType | float` is not assignable to parameter `copy` with type `bool` in function `xarray.core.dataset.Dataset.reindex` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:2779:17-43: No matching overload found for function `xarray.structure.alignment.align` called with arguments: (Dataset, Dataset, join=str) [no-matching-overload]
+ ERROR xarray/tests/test_dataset.py:6475:40-46: Argument `str` is not assignable to parameter `method` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull']` in function `xarray.core.dataset.Dataset.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:6493:42-48: Argument `str` is not assignable to parameter `interpolation` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull'] | None` in function `xarray.core.dataset.Dataset.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:6497:39-45: Argument `str` is not assignable to parameter `method` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull']` in function `xarray.core.dataset.Dataset.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:6497:61-67: Argument `str` is not assignable to parameter `interpolation` with type `Literal['averaged_inverted_cdf', 'closest_observation', 'hazen', 'higher', 'interpolated_inverted_cdf', 'inverted_cdf', 'linear', 'lower', 'median_unbiased', 'midpoint', 'nearest', 'normal_unbiased', 'weibull'] | None` in function `xarray.core.dataset.Dataset.quantile` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7716:50-56: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7716:65-71: Argument `str` is not assignable to parameter `parser` with type `Literal['pandas', 'python']` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7722:56-62: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7722:71-77: Argument `str` is not assignable to parameter `parser` with type `Literal['pandas', 'python']` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7728:51-57: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7728:66-72: Argument `str` is not assignable to parameter `parser` with type `Literal['pandas', 'python']` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7734:51-57: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7734:66-72: Argument `str` is not assignable to parameter `parser` with type `Literal['pandas', 'python']` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7743:59-65: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7749:64-70: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7749:79-85: Argument `str` is not assignable to parameter `parser` with type `Literal['pandas', 'python']` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7755:59-65: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7755:74-80: Argument `str` is not assignable to parameter `parser` with type `Literal['pandas', 'python']` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7763:56-62: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7770:63-69: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7770:78-84: Argument `str` is not assignable to parameter `parser` with type `Literal['pandas', 'python']` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7781:28-34: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7790:55-61: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7790:70-76: Argument `str` is not assignable to parameter `parser` with type `Literal['pandas', 'python']` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7800:28-34: Argument `str | Unknown | None` is not assignable to parameter `engine` with type `Literal['numexpr', 'python'] | None` in function `xarray.core.dataset.Dataset.query` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7948:36-46: Argument `int` is not assignable to parameter `edge_order` with type `Literal[1, 2]` in function `xarray.core.dataarray.DataArray.differentiate` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7950:20-64: No matching overload found for function `numpy.lib._function_base_impl.gradient` called with arguments: (DataArray, DataArray, axis=Literal[0], edge_order=int) [no-matching-overload]
+ ERROR xarray/tests/test_dataset.py:7956:49-59: Argument `int` is not assignable to parameter `edge_order` with type `Literal[1, 2]` in function `xarray.core.dataarray.DataArray.differentiate` [bad-argument-type]
+ ERROR xarray/tests/test_dataset.py:7957:42-52: Argument `int` is not assignable to parameter `edge_order` with type `Literal[1, 2]` in function `xarray.core.dataset.Dataset.differentiate` [bad-argument-type]
... (truncated 61 lines) ...
spack (https://github.com/spack/spack)
+ ERROR lib/spack/spack/test/oci/urlopen.py:431:48-69: Argument `bool` is not assignable to parameter `domain` with type `str` in function `spack.test.oci.mock_registry.InMemoryOCIRegistry.__init__` [bad-argument-type]
+ ERROR lib/spack/spack/test/util/filesystem.py:512:53-67: Unpacked keyword argument `str` is not assignable to parameter `string` with type `bool` in function `spack.util.filesystem.filter_file` [bad-argument-type]
+ ERROR lib/spack/spack/test/util/filesystem.py:512:53-67: Unpacked keyword argument `str` is not assignable to parameter `backup` with type `bool` in function `spack.util.filesystem.filter_file` [bad-argument-type]
+ ERROR lib/spack/spack/test/util/filesystem.py:512:53-67: Unpacked keyword argument `str` is not assignable to parameter `ignore_absent` with type `bool` in function `spack.util.filesystem.filter_file` [bad-argument-type]
+ ERROR lib/spack/spack/test/util/filesystem.py:669:27-40: Object of class `list` has no attribute `split` [missing-attribute]
+ ERROR lib/spack/spack/test/util/filesystem.py:675:18-23: Type `None` is not iterable [not-iterable]
+ ERROR lib/spack/spack/test/util/filesystem.py:681:18-33: Type `None` is not iterable [not-iterable]
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #3715
seems mypy primer result is quite noisy, need to figure out a way.
Test Plan