Skip to content

[ty] Experiment: "Newtonian" object type#26469

Draft
sharkdp wants to merge 8 commits into
mainfrom
codex/relaxed-isinstance-gradual-top
Draft

[ty] Experiment: "Newtonian" object type#26469
sharkdp wants to merge 8 commits into
mainfrom
codex/relaxed-isinstance-gradual-top

Conversation

@sharkdp

@sharkdp sharkdp commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@astral-sh-bot

astral-sh-bot Bot commented Jun 30, 2026

Copy link
Copy Markdown

Typing conformance results improved 🎉

The percentage of diagnostics emitted that were expected errors increased from 94.47% to 94.57%. The percentage of expected errors that received a diagnostic held steady at 89.19%. The number of fully passing files improved from 95/134 to 96/134.

Summary

How are test cases classified?

Each test case represents one expected error annotation or a group of annotations sharing a tag. Counts are per test case, not per diagnostic — multiple diagnostics on the same line count as one. Required annotations (E) are true positives when ty flags the expected location and false negatives when it does not. Optional annotations (E?) are true positives when flagged but true negatives (not false negatives) when not. Tagged annotations (E[tag]) require ty to flag exactly one of the tagged lines; tagged multi-annotations (E[tag+]) allow any number up to the tag count. Flagging unexpected locations counts as a false positive.

Metric Old New Diff Outcome
True Positives 957 957 +0
False Positives 56 55 -1 ⏬ (✅)
False Negatives 116 116 +0
Total Diagnostics 1061 1060 -1
Precision 94.47% 94.57% +0.09% ⏫ (✅)
Recall 89.19% 89.19% +0.00%
Passing Files 95/134 96/134 +1 ⏫ (✅)

Test file breakdown

1 file altered
File True Positives False Positives False Negatives Status
narrowing_typeis.py 9 0 (-1) ✅ 0 ✅ Newly Passing 🎉
Total (all files) 957 55 (-1) ✅ 116 96/134

False positives removed (1)

1 diagnostic
Test case Diff

narrowing_typeis.py:35

-error[invalid-assignment] Object of type `object` is not assignable to `int`

@astral-sh-bot

astral-sh-bot Bot commented Jun 30, 2026

Copy link
Copy Markdown

Memory usage report

Summary

Project Old New Diff Outcome
prefect 449.56MB 449.67MB +0.02% (107.52kB)
sphinx 167.06MB 167.10MB +0.02% (34.28kB)
trio 70.47MB 70.48MB +0.02% (15.97kB)
flake8 29.02MB 29.03MB +0.02% (6.52kB)

Significant changes

Click to expand detailed breakdown

prefect

Name Old New Diff Outcome
all_narrowing_constraints_for_expression 5.23MB 5.27MB +0.73% (38.86kB)
check_file_impl 17.65MB 17.64MB -0.05% (9.43kB)
StaticClassLiteral<'db>::try_mro_ 3.39MB 3.40MB +0.22% (7.65kB)
FunctionType 4.60MB 4.61MB +0.15% (6.88kB)
CallableType 2.87MB 2.88MB +0.23% (6.80kB)
Specialization 2.69MB 2.70MB +0.22% (6.08kB)
is_redundant_with_impl::interned_arguments 2.35MB 2.36MB +0.21% (4.98kB)
member_lookup_with_policy_inner 10.23MB 10.24MB +0.05% (4.83kB)
Type<'db>::apply_specialization_inner_::interned_arguments 2.96MB 2.97MB +0.15% (4.53kB)
Type<'db>::apply_specialization_inner_ 2.04MB 2.04MB +0.17% (3.51kB)
GenericAlias 1.11MB 1.12MB +0.24% (2.74kB)
is_redundant_with_impl 1.31MB 1.31MB +0.20% (2.68kB)
infer_expression_types_impl 38.01MB 38.01MB +0.01% (2.58kB)
Type<'db>::class_member_with_policy_ 7.91MB 7.92MB +0.03% (2.49kB)
member_lookup_with_policy_inner::interned_arguments 6.74MB 6.75MB +0.03% (2.34kB)
... 38 more

sphinx

Name Old New Diff Outcome
all_narrowing_constraints_for_expression 1.94MB 1.96MB +0.66% (13.15kB)
infer_expression_types_impl 14.89MB 14.89MB +0.03% (4.62kB)
StaticClassLiteral<'db>::try_mro_ 1.79MB 1.80MB +0.21% (3.88kB)
check_file_impl 4.44MB 4.44MB -0.07% (3.12kB)
Specialization 1.42MB 1.42MB +0.17% (2.50kB)
is_redundant_with_impl::interned_arguments 1.14MB 1.14MB +0.16% (1.89kB)
CallableType 1.44MB 1.45MB +0.12% (1.81kB)
GenericAlias 624.02kB 625.50kB +0.24% (1.48kB)
StaticClassLiteral<'db>::try_mro_::interned_arguments 611.86kB 613.05kB +0.20% (1.20kB)
infer_definition_types 13.69MB 13.69MB +0.01% (1.13kB)
FunctionType 1.79MB 1.79MB +0.06% (1.08kB)
is_redundant_with_impl 631.71kB 632.75kB +0.16% (1.04kB)
infer_scope_types_impl 8.10MB 8.10MB -0.01% (816.00B)
member_lookup_with_policy_inner 4.29MB 4.29MB +0.02% (776.00B)
TupleType 562.09kB 562.66kB +0.10% (576.00B)
... 36 more

trio

Name Old New Diff Outcome
all_narrowing_constraints_for_expression 462.36kB 466.03kB +0.79% (3.67kB)
check_file_impl 1.57MB 1.57MB -0.15% (2.34kB)
FunctionType 740.53kB 742.66kB +0.29% (2.12kB)
Specialization 464.94kB 466.61kB +0.36% (1.67kB)
CallableType 667.97kB 669.27kB +0.19% (1.30kB)
StaticClassLiteral<'db>::try_mro_ 532.71kB 533.98kB +0.24% (1.27kB)
GenericAlias 192.23kB 193.15kB +0.48% (936.00B)
when_constraint_set_assignable_to_owned_impl 282.59kB 283.49kB +0.32% (928.00B)
infer_expression_types_impl 4.42MB 4.42MB +0.02% (896.00B)
is_redundant_with_impl::interned_arguments 237.10kB 237.62kB +0.22% (528.00B)
StaticClassLiteral<'db>::try_mro_::interned_arguments 182.46kB 182.95kB +0.27% (504.00B)
FunctionType<'db>::signature_ 626.75kB 627.19kB +0.07% (448.00B)
member_lookup_with_policy_inner 1.03MB 1.03MB +0.03% (320.00B)
Type<'db>::class_member_with_policy_ 889.80kB 890.08kB +0.03% (280.00B)
ClassType<'db>::nearest_disjoint_base_ 10.84kB 11.11kB +2.45% (272.00B)
... 30 more

flake8

Name Old New Diff Outcome
StaticClassLiteral<'db>::try_mro_ 217.61kB 219.20kB +0.73% (1.59kB)
Specialization 178.42kB 179.30kB +0.49% (896.00B)
CallableType 210.95kB 211.67kB +0.34% (736.00B)
FunctionType 228.89kB 229.52kB +0.27% (640.00B)
GenericAlias 77.55kB 78.12kB +0.73% (576.00B)
StaticClassLiteral<'db>::try_mro_::interned_arguments 74.81kB 75.30kB +0.66% (504.00B)
all_narrowing_constraints_for_expression 74.68kB 75.02kB +0.46% (352.00B)
FunctionType<'db>::signature_ 244.67kB 244.93kB +0.11% (264.00B)
ProtocolInterface 32.08kB 32.26kB +0.56% (184.00B)
Type<'db>::apply_specialization_inner_ 121.10kB 121.27kB +0.14% (168.00B)
Type<'db>::apply_specialization_inner_::interned_arguments 178.28kB 178.44kB +0.09% (160.00B)
cached_protocol_interface 25.29kB 25.44kB +0.59% (152.00B)
TupleType 76.94kB 77.03kB +0.12% (96.00B)
is_redundant_with_impl::interned_arguments 89.63kB 89.72kB +0.10% (88.00B)
BoundMethodType 55.55kB 55.62kB +0.14% (80.00B)
... 5 more

@astral-sh-bot

astral-sh-bot Bot commented Jun 30, 2026

Copy link
Copy Markdown

ecosystem-analyzer results

Lint rule Added Removed Changed
invalid-argument-type 7 951 56
invalid-assignment 1 214 14
unresolved-attribute 0 126 47
invalid-return-type 4 92 13
no-matching-overload 0 104 0
invalid-key 0 53 0
unsupported-operator 0 43 3
not-subscriptable 0 41 2
not-iterable 0 20 3
unused-type-ignore-comment 20 0 0
call-non-callable 2 14 0
invalid-yield 0 14 0
unused-ignore-comment 8 0 0
invalid-raise 0 2 0
invalid-type-form 0 0 2
call-top-callable 1 0 0
Total 43 1,674 140

Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.

Showing a random sample of 222 of 1857 changes. See the HTML report for the full diff.

Raw diff sample (222 of 1857 changes)
Expression (https://github.com/cognitedata/Expression)
- expression/collections/maptree.py:121:24 error[invalid-return-type] Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
- expression/collections/maptree.py:121:51 error[invalid-argument-type] Argument to function `mk` is incorrect: Expected `Key@rebalance`, found `object`

PyGithub (https://github.com/PyGithub/PyGithub)
- github/AdvisoryVulnerability.py:129:59 error[invalid-assignment] Object of type `object` is not assignable to `SimpleAdvisoryVulnerabilityPackage`
- github/AdvisoryVulnerability.py:136:31 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["patched_versions"]` on object of type `Top[dict[Unknown, Unknown]]`
- github/AdvisoryVulnerability.py:166:45 error[invalid-argument-type] Invalid argument to key "vulnerable_version_range" with declared type `str | None` on TypedDict `SimpleAdvisoryVulnerability`: value of type `object`
- github/AdvisoryVulnerability.py:166:45 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["vulnerable_version_range"]` on object of type `Top[dict[Unknown, Unknown]]`
- github/MainClass.py:671:27 error[no-matching-overload] No overload of bound method `str.join` matches arguments

Tanjun (https://github.com/FasterSpeeding/Tanjun)
- tanjun/commands/slash.py:1795:63 error[invalid-argument-type] Argument is incorrect: Expected `str | int | float`, found `object`
- tanjun/commands/slash.py:2094:80 error[invalid-argument-type] Argument is incorrect: Expected `str | int | float`, found `object`

aiohttp (https://github.com/aio-libs/aiohttp)
- aiohttp/cookiejar.py:332:23 error[invalid-assignment] Object of type `ItemsView[object, object]` is not assignable to `Mapping[str, str | BaseCookie[str] | Morsel[Any]] | Iterable[tuple[str, str | BaseCookie[str] | Morsel[Any]]] | BaseCookie[str]`
- aiohttp/cookiejar.py:353:27 error[invalid-argument-type] Method `__getitem__` of type `bound method Morsel[str].__getitem__(key: str, /) -> Any` cannot be called with key of type `Literal[0]` on object of type `Morsel[str]`

altair (https://github.com/vega/altair)
+ altair/vegalite/v6/api.py:3100:70 warning[unused-ignore-comment] Unused blanket `ty: ignore` directive

antidote (https://github.com/Finistere/antidote)
- src/antidote/core/_injection.py:298:9 error[unresolved-attribute] Object of type `((...) -> object) & ~Top[staticmethod[(...), object]] & ~Top[classmethod[Unknown, (...), object]]` has no attribute `__qualname__`
+ src/antidote/core/_injection.py:298:9 error[unresolved-attribute] Object of type `((...) -> object) & ~Top[staticmethod[(...), object*]] & ~Top[classmethod[Unknown, (...), object*]]` has no attribute `__qualname__`
- src/antidote/core/_injection.py:298:30 error[unresolved-attribute] Object of type `((...) -> object) & ~Top[staticmethod[(...), object]] & ~Top[classmethod[Unknown, (...), object]]` has no attribute `__name__`
+ src/antidote/core/_injection.py:298:30 error[unresolved-attribute] Object of type `((...) -> object) & ~Top[staticmethod[(...), object*]] & ~Top[classmethod[Unknown, (...), object*]]` has no attribute `__name__`
- src/antidote/core/_injection.py:302:42 error[unresolved-attribute] Object of type `((...) -> object) & ~Top[staticmethod[(...), object]] & ~Top[classmethod[Unknown, (...), object]] & ~MethodType` has no attribute `__name__`
+ src/antidote/core/_injection.py:302:42 error[unresolved-attribute] Object of type `((...) -> object) & ~Top[staticmethod[(...), object*]] & ~Top[classmethod[Unknown, (...), object*]] & ~MethodType` has no attribute `__name__`

apprise (https://github.com/caronc/apprise)
- apprise/config/base.py:1246:37 error[invalid-argument-type] Method `__delitem__` of type `bound method Top[dict[Unknown, Unknown]].__delitem__(key: Never, /) -> None` cannot be called with key of type `Literal["schema"]` on object of type `Top[dict[Unknown, Unknown]]`

bidict (https://github.com/jab/bidict)
- bidict/_iter.py:26:20 error[invalid-yield] Yield type `tuple[object, object]` does not match annotated yield type `tuple[KT@iteritems, VT@iteritems]`

black (https://github.com/psf/black)
- src/black/trans.py:310:24 error[invalid-raise] Cannot use object of type `object` as an exception cause
- src/black/trans.py:485:47 error[invalid-argument-type] Argument to bound method `StringMerger._merge_string_group` is incorrect: Expected `Line`, found `object`

bokeh (https://github.com/bokeh/bokeh)
- src/bokeh/core/property/bases.py:252:44 error[invalid-argument-type] Argument to function `array_equal` is incorrect: Expected `ArrayLike`, found `T@Property & ~ndarray[tuple[object, ...], dtype[object]]`
+ src/bokeh/core/property/bases.py:252:44 error[invalid-argument-type] Argument to function `array_equal` is incorrect: Expected `ArrayLike`, found `T@Property & ~ndarray[tuple[object*, ...], dtype[object*]]`
- src/bokeh/util/serialization.py:367:17 error[invalid-argument-type] Argument to bound method `MaskedArray.filled` is incorrect: Argument type `ndarray[tuple[Any, ...], dtype[Any]] & MaskedArray[tuple[object, ...], dtype[object]]` does not satisfy upper bound `MaskedArray[_ShapeT_co@MaskedArray, _DTypeT_co@MaskedArray]` of type variable `Self`

cloud-init (https://github.com/canonical/cloud-init)
- cloudinit/distros/arch.py:142:19 error[invalid-argument-type] Argument to function `subp` is incorrect: Expected `str | bytes | list[str] | list[bytes]`, found `list[object]`
- cloudinit/net/eni.py:132:25 error[no-matching-overload] No overload of bound method `str.join` matches arguments

core (https://github.com/home-assistant/core)
- homeassistant/components/onvif/device.py:440:17 error[unresolved-attribute] Object of type `object` has no attribute `Name`
- homeassistant/components/onvif/device.py:453:21 error[unresolved-attribute] Object of type `object` has no attribute `PTZConfiguration`
- homeassistant/helpers/service.py:918:18 error[invalid-assignment] Object of type `object` is not assignable to `ServiceResponse`

cwltool (https://github.com/common-workflow-language/cwltool)
- cwltool/builder.py:279:21 error[invalid-assignment] Cannot assign to a subscript on an object of type `float`
- cwltool/builder.py:279:24 error[invalid-key] Unknown key "secondaryFiles" for TypedDict `CWLDirectoryType` (subscripted object has type `(int & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | (float & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | ... omitted 3 union elements`)
- cwltool/checker.py:115:12 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/checker.py:117:65 error[invalid-key] Unknown key "items" for TypedDict `CWLDirectoryType` (subscripted object has type `(int & Top[MutableMapping[Unknown, Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]]) | (float & Top[MutableMapping[Unknown, Unknown]]) | ... omitted 5 union elements`)
- cwltool/checker.py:121:16 error[invalid-key] Unknown key "type" for TypedDict `CWLDirectoryType` (subscripted object has type `(int & Top[MutableMapping[Unknown, Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]]) | (float & Top[MutableMapping[Unknown, Unknown]]) | ... omitted 5 union elements`)
- cwltool/checker.py:121:40 error[invalid-argument-type] Method `__getitem__` of type `Overload[(index: int, /) -> Divergent, (index: slice[int | None, int | None, int | None], /) -> MutableSequence[Divergent]]` cannot be called with key of type `Literal["type"]` on object of type `MutableSequence[Divergent]`
- cwltool/checker.py:123:12 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/checker.py:123:12 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/checker.py:123:38 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/checker.py:133:39 error[invalid-argument-type] Method `__getitem__` of type `Overload[(index: int, /) -> Divergent, (index: slice[int | None, int | None, int | None], /) -> MutableSequence[Divergent]]` cannot be called with key of type `Literal["type"]` on object of type `MutableSequence[Divergent]`
- cwltool/checker.py:133:39 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/checker.py:133:52 error[invalid-argument-type] Argument to function `can_assign_src_to_sink` is incorrect: Expected `int | str | float | ... omitted 6 union elements`, found `object`
- cwltool/checker.py:133:52 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/command_line_tool.py:642:60 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["entryname"]` on object of type `str`
- cwltool/command_line_tool.py:1431:38 error[invalid-assignment] Object of type `object` is not assignable to `int | str | float | ... omitted 5 union elements`
- cwltool/command_line_tool.py:1531:17 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/command_line_tool.py:1534:52 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["fields"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/command_line_tool.py:1534:52 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["fields"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/command_line_tool.py:1534:52 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["fields"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/load_tool.py:337:27 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `str` on object of type `str`
- cwltool/main.py:286:21 error[invalid-assignment] Cannot assign to a subscript on an object of type `str`
- cwltool/main.py:297:17 error[invalid-assignment] Cannot assign to a subscript on an object of type `str`
- cwltool/main.py:300:74 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["type"]` on object of type `str`
- cwltool/main.py:310:25 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["items"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/main.py:311:17 error[invalid-assignment] Cannot assign to a subscript on an object of type `str`
- cwltool/pack.py:30:38 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["run"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/pack.py:31:16 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["run"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/pack.py:32:26 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["run"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/pack.py:47:40 error[invalid-key] Unknown key "id" for TypedDict `CWLFileType` (subscripted object has type `(MutableMapping[str, int | str | float | ... omitted 5 union elements] & ~Top[MutableSequence[Unknown]]) | (int & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | ... omitted 4 union elements`)
- cwltool/pack.py:48:35 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["id"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/pack.py:93:31 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["id"]` on object of type `str`
- cwltool/pack.py:94:39 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["name"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/pack.py:94:39 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["name"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/pack.py:94:41 error[invalid-key] Unknown key "name" for TypedDict `CWLDirectoryType` (subscripted object has type `(MutableMapping[str, int | str | float | ... omitted 5 union elements] & ~Top[MutableSequence[Unknown]]) | (int & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | ... omitted 4 union elements`)
- cwltool/pack.py:98:27 error[invalid-key] Unknown key "$import" for TypedDict `CWLDirectoryType` (subscripted object has type `(MutableMapping[str, int | str | float | ... omitted 5 union elements] & ~Top[MutableSequence[Unknown]]) | (int & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]] & ~Top[MutableSequence[Unknown]]) | ... omitted 4 union elements`)
- cwltool/pack.py:142:9 error[invalid-assignment] Invalid subscript assignment with key of type `object` and value of type `CommentedMap` on object of type `dict[str, CommentedMap | CommentedSeq | str | None]`
- cwltool/pack.py:142:29 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["id"]` on object of type `str`
- cwltool/process.py:1069:58 error[invalid-argument-type] Method `__getitem__` of type `Overload[(index: int, /) -> MutableMapping[str, int | str | float | ... omitted 5 union elements], (index: slice[int | None, int | None, int | None], /) -> MutableSequence[MutableMapping[str, int | str | float | ... omitted 5 union elements]]]` cannot be called with key of type `Literal["requirements"]` on object of type `MutableSequence[MutableMapping[str, int | str | float | ... omitted 5 union elements]]`
- cwltool/process.py:1071:37 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["requirements"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/utils.py:195:41 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- cwltool/workflow_job.py:335:28 error[invalid-argument-type] Argument to function `match_types` is incorrect: Expected `int | str | float | ... omitted 6 union elements`, found `object`
- cwltool/workflow_job.py:342:13 error[invalid-assignment] Invalid subscript assignment with key of type `Literal["type"]` and value of type `object` on object of type `MutableMapping[str, int | str | float | ... omitted 5 union elements]`
- tests/test_examples.py:1474:12 error[invalid-argument-type] Method `__getitem__` of type `Overload[(index: int, /) -> Divergent, (index: slice[int | None, int | None, int | None], /) -> MutableSequence[Divergent]]` cannot be called with key of type `Literal["checksum"]` on object of type `MutableSequence[Divergent]`
- tests/test_examples.py:1474:12 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["checksum"]` on object of type `Top[dict[Unknown, Unknown]]`

dd-trace-py (https://github.com/DataDog/dd-trace-py)
- ddtrace/contrib/internal/botocore/patch.py:100:16 error[invalid-return-type] Return type does not match returned value: expected `dict[str, set[str]]`, found `dict[str, set[object] | set[str]]`
- tests/appsec/appsec/test_remoteconfiguration.py:327:26 error[unresolved-attribute] Object of type `object` has no attribute `metadata`

discord.py (https://github.com/Rapptz/discord.py)
- discord/ui/container.py:153:31 error[unresolved-attribute] Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object]` has no attribute `__name__`
+ discord/ui/container.py:153:31 error[unresolved-attribute] Object of type `((Self@_init_children, Interaction[Any], Any, /) -> Coroutine[Any, Any, Any]) & ~Item[object*]` has no attribute `__name__`
- discord/ui/section.py:190:9 error[invalid-argument-type] Argument to bound method `Item._update_view` is incorrect: Argument type `str & Item[object]` does not satisfy upper bound `Item[V@Item]` of type variable `Self`

django-modern-rest (https://github.com/wemake-services/django-modern-rest)
- dmr/internal/middleware_wrapper.py:111:32 error[invalid-argument-type] Argument to function `apply_converter` is incorrect: Expected `HttpResponse`, found `HttpResponse | Awaitable[HttpResponse]`

dulwich (https://github.com/dulwich/dulwich)
- dulwich/porcelain/__init__.py:8848:23 error[invalid-argument-type] Argument to function `open` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `str | PathLike[str] | (BinaryIO & PathLike[object])`
- dulwich/worktree.py:406:24 error[not-iterable] Object of type `Iterable[str | bytes | PathLike[str]] | bytes | PathLike[str]` may not be iterable

freqtrade (https://github.com/freqtrade/freqtrade)
- freqtrade/strategy/parameters.py:230:21 error[invalid-argument-type] Argument to `ft_FloatDistribution.__init__` is incorrect: Expected `int | float`, found `object`

graphql-core (https://github.com/graphql-python/graphql-core)
- src/graphql/execution/incremental_graph.py:283:27 error[invalid-argument-type] Argument to bound method `IncrementalGraph._enqueue` is incorrect: Expected `SuccessfulExecutionGroup | FailedExecutionGroup | StreamItemsResult`, found `object`

hydpy (https://github.com/hydpy-dev/hydpy)
- hydpy/core/devicetools.py:3705:24 error[invalid-return-type] Return type does not match returned value: expected `tuple[T_inv@_prepare_tuple | None, ...]`, found `(T_inv@_prepare_tuple & tuple[object, ...]) | tuple[T_inv@_prepare_tuple, ...]`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+ src/hydra_zen/wrapper/_implementations.py:274:87 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive

ibis (https://github.com/ibis-project/ibis)
- ibis/expr/operations/core.py:65:34 error[invalid-argument-type] Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(Any & ~Expr & ~Value[object, object]) | None`
+ ibis/expr/operations/core.py:65:34 error[invalid-argument-type] Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(Any & ~Expr & ~Value[object*, object*]) | None`

ignite (https://github.com/pytorch/ignite)
- tests/ignite/test_utils.py:50:28 error[invalid-argument-type] Method `__getitem__` of type `Overload[(index: int, /) -> Unknown, (index: slice[int | None, int | None, int | None], /) -> Sequence[Unknown]]` cannot be called with key of type `Literal["b"]` on object of type `Sequence[Unknown]`

jax (https://github.com/google/jax)
- jax/_src/numpy/index_tricks.py:152:39 error[invalid-assignment] Object of type `(Array & tuple[object, ...]) | (ndarray[tuple[Any, ...], dtype[Any]] & tuple[object, ...]) | (numpy.bool[builtins.bool] & tuple[object, ...]) | (number[Any, int | float | complex] & tuple[object, ...]) | tuple[Array | ndarray[tuple[Any, ...], dtype[Any]] | numpy.bool[builtins.bool] | ... omitted 6 union elements, ...]` is not assignable to `tuple[Array | ndarray[tuple[Any, ...], dtype[Any]] | numpy.bool[builtins.bool] | ... omitted 6 union elements, ...]`
- jax/_src/pallas/helpers.py:272:24 error[invalid-argument-type] Argument is incorrect: Expected `Sequence[tuple[Mesh, (...) -> None]]`, found `list[tuple[object, object]]`
- jax/_src/dtypes.py:660:45 error[invalid-assignment] Object of type `(SupportsDType & tuple[object, ...]) | tuple[str | type[Any] | dtype[Any] | SupportsDType, ...]` is not assignable to `tuple[str | type[Any] | dtype[Any] | SupportsDType, ...]`
- jax/_src/ffi.py:498:34 error[invalid-argument-type] Argument to function `_result_avals` is incorrect: Expected `Sequence[DuckTypedArray | AbstractToken]`, found `(DuckTypedArray & Sequence[object]) | (AbstractToken & Sequence[object]) | Sequence[DuckTypedArray | AbstractToken]`
- jax/_src/lax/lax.py:1729:11 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
- jax/_src/numpy/indexing.py:353:37 error[unsupported-operator] Operator `<` is not supported between objects of type `Array | (int & ndarray[tuple[object, ...], dtype[object]]) | (integer[Any] & ndarray[tuple[object, ...], dtype[object]]) | (Sequence[int | integer[Any]] & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `Literal[0]`

jinja (https://github.com/pallets/jinja)
- src/jinja2/loaders.py:190:28 error[no-matching-overload] No overload of function `fspath` matches arguments

koda-validate (https://github.com/keithasaurus/koda-validate)
- koda_validate/_internal.py:265:16 error[invalid-return-type] Return type does not match returned value: expected `(Any, /) -> Awaitable[tuple[Literal[True], A@_wrap_async_validator] | tuple[Literal[False], Invalid]]`, found `bound method Top[_ToTupleValidator[Unknown]]._validate_to_tuple_async(val: Any) -> CoroutineType[Any, Any, tuple[Literal[True], object] | tuple[Literal[False], Invalid]]`
- koda_validate/serialization/json_schema.py:319:43 error[invalid-argument-type] Argument to function `escape` is incorrect: Argument type `object` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`

meson (https://github.com/mesonbuild/meson)
- mesonbuild/ast/interpreter.py:555:48 error[invalid-argument-type] Argument to bound method `AstInterpreter.node_to_runtime_value` is incorrect: Expected `MesonInterpreterObject | BaseNode | Sequence[Divergent] | ... omitted 6 union elements`, found `object`
- mesonbuild/interpreter/primitives/array.py:123:40 error[invalid-argument-type] Argument to function `flatten` is incorrect: Expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `object`
+ mesonbuild/modules/hotdoc.py:262:28 error[invalid-argument-type] Argument to bound method `list.append` is incorrect: Expected `File | CustomTarget | CustomTargetIndex`, found `list[File | CustomTarget | CustomTargetIndex]`

mitmproxy (https://github.com/mitmproxy/mitmproxy)
- mitmproxy/http.py:1082:21 error[no-matching-overload] No overload of function `always_bytes` matches arguments

mkdocs (https://github.com/mkdocs/mkdocs)
- mkdocs/config/config_options.py:846:42 error[no-matching-overload] No overload of function `join` matches arguments

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
- pymongo/helpers_shared.py:160:20 error[invalid-return-type] Return type does not match returned value: expected `Sequence[tuple[str, int | str | Mapping[str, Any]]]`, found `list[tuple[object, object]]`
- pymongo/helpers_shared.py:158:20 error[invalid-return-type] Return type does not match returned value: expected `Sequence[tuple[str, int | str | Mapping[str, Any]]]`, found `list[str | tuple[object, object]]`
+ pymongo/helpers_shared.py:158:20 error[invalid-return-type] Return type does not match returned value: expected `Sequence[tuple[str, int | str | Mapping[str, Any]]]`, found `list[str | tuple[object*, object*]]`
- pymongo/helpers_shared.py:189:21 error[invalid-argument-type] Method `__getitem__` of type `Overload[(index: int, /) -> str | tuple[str, int | str | Mapping[str, Any]], (index: slice[int | None, int | None, int | None], /) -> Sequence[str | tuple[str, int | str | Mapping[str, Any]]]]` cannot be called with key of type `tuple[str, int | str | Mapping[str, Any]]` on object of type `Sequence[str | tuple[str, int | str | Mapping[str, Any]]]`

mypy (https://github.com/python/mypy)
- mypy/test/test_diff_cache.py:126:42 error[unsupported-operator] Operator `in` is not supported between objects of type `Literal["/b."]` and `object`
- mypy/test/test_diff_cache.py:127:42 error[unsupported-operator] Operator `in` is not supported between objects of type `Literal["/c."]` and `object`

paasta (https://github.com/yelp/paasta)
- paasta_tools/async_utils.py:121:16 error[invalid-return-type] Return type does not match returned value: expected `Coroutine[Any, Any, T@_ensure_coroutine]`, found `Awaitable[T@_ensure_coroutine] & CoroutineType[object, Never, object]`

packaging (https://github.com/pypa/packaging)
- src/packaging/specifiers.py:488:31 error[unresolved-attribute] Object of type `object` has no attribute `get`
- src/packaging/tags.py:158:16 error[invalid-return-type] Return type does not match returned value: expected `str`, found `object`
- src/packaging/version.py:802:21 error[invalid-assignment] Object of type `object` is not assignable to attribute `_dev` of type `tuple[Literal["dev"], int] | None`
- src/packaging/version.py:813:30 error[unresolved-attribute] Object of type `~None` has no attribute `post`

pandas (https://github.com/pandas-dev/pandas)
- pandas/core/ops/mask_ops.py:171:18 error[unsupported-operator] Operator `&` is not supported between objects of type `(NAType & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]]` and `bool | NAType | ndarray[tuple[Any, ...], dtype[Any]]`
- pandas/core/algorithms.py:586:12 error[no-matching-overload] No overload of bound method `ndarray.any` matches arguments
- pandas/core/algorithms.py:555:33 error[invalid-argument-type] Argument to bound method `ExtensionArray.isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | Series | (SequenceNotStr[Unknown] & ndarray[tuple[object, ...], dtype[object]])`
+ pandas/core/algorithms.py:555:33 error[invalid-argument-type] Argument to bound method `ExtensionArray.isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | Series | (SequenceNotStr[Unknown] & ndarray[tuple[object*, ...], dtype[object*]])`
- pandas/core/common.py:467:38 error[invalid-argument-type] Argument to `RandomState.__init__` is incorrect: Expected `_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]] | _NestedSequence[_SupportsArray[dtype[numpy.bool[builtins.bool] | integer[Any]]]] | int | ... omitted 3 union elements`, found `int | integer[Any] | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 3 union elements`
- pandas/core/construction.py:353:28 error[invalid-argument-type] Argument to bound method `MaskedArray.filled` is incorrect: Argument type `Index & MaskedArray[tuple[object, ...], dtype[object]]` does not satisfy upper bound `MaskedArray[_ShapeT_co@MaskedArray, _DTypeT_co@MaskedArray]` of type variable `Self`
- pandas/core/construction.py:353:28 error[invalid-argument-type] Argument to bound method `MaskedArray.filled` is incorrect: Argument type `ndarray[tuple[Any, ...], dtype[Any]] & MaskedArray[tuple[object, ...], dtype[object]]` does not satisfy upper bound `MaskedArray[_ShapeT_co@MaskedArray, _DTypeT_co@MaskedArray]` of type variable `Self`
- pandas/core/dtypes/cast.py:1529:26 error[no-matching-overload] No overload of bound method `ndarray.astype` matches arguments
- pandas/core/frame.py:638:21 error[invalid-argument-type] Argument to function `construct_2d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray)`
+ pandas/core/frame.py:638:21 error[invalid-argument-type] Argument to function `construct_2d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~ndarray[tuple[object*, ...], dtype[object*]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[object*, ...], dtype[object*]] & ~Series & ~Index & ~ExtensionArray)`
- pandas/core/indexing.py:993:51 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
+ pandas/core/internals/construction.py:800:24 error[invalid-return-type] Return type does not match returned value: expected `tuple[list[ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]], Index]`, found `tuple[list[Unknown & ndarray[tuple[Any, ...], dtype[object*]]], Index]`
- pandas/core/reshape/concat.py:799:17 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[Mapping[Unknown, object]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[Mapping[Unknown, object]]`
- pandas/core/reshape/concat.py:818:66 error[invalid-argument-type] Argument to function `len` is incorrect: Expected `Sized`, found `Iterable[Series | DataFrame] | Mapping[HashableT@_clean_keys_and_objs, Series | DataFrame]`
- pandas/core/strings/object_array.py:117:26 error[no-matching-overload] No overload of function `maybe_convert_objects` matches arguments
- pandas/io/formats/excel.py:730:31 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Literal[0]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
- pandas/io/formats/style_render.py:2082:50 error[not-iterable] Object of type `slice[Any, Any, Any] | Sequence[Unknown] | Index | tuple[slice[None, None, None], (Sequence[Unknown] & Series) | Index | (Sequence[Unknown] & ndarray[tuple[object, ...], dtype[object]]) | (Sequence[Unknown] & Top[list[Unknown]]) | (Sequence[Unknown] & str)]` may not be iterable
+ pandas/io/formats/style_render.py:2082:50 error[not-iterable] Object of type `slice[Any, Any, Any] | Sequence[Unknown] | Index | tuple[slice[None, None, None], (Sequence[Unknown] & Series) | Index | (Sequence[Unknown] & ndarray[tuple[object*, ...], dtype[object*]]) | (Sequence[Unknown] & Top[list[Unknown]]) | (Sequence[Unknown] & str)]` may not be iterable
- pandas/tests/extension/date/array.py:115:36 error[not-iterable] Object of type `_ScalarT@__init__` is not iterable
- pandas/util/_validators.py:378:33 error[invalid-argument-type] Argument to function `validate_bool_kwarg` is incorrect: Argument type `object` does not satisfy constraints (`bool`, `int`, `None`) of type variable `BoolishNoneT`

pandera (https://github.com/pandera-dev/pandera)
+ pandera/engines/utils.py:70:26 error[call-non-callable] Object of type `float` is not callable

pip (https://github.com/pypa/pip)
- src/pip/_vendor/packaging/requirements.py:106:13 error[no-matching-overload] No overload of bound method `MutableMapping.update` matches arguments
- src/pip/_vendor/packaging/version.py:788:21 error[invalid-assignment] Object of type `object` is not assignable to attribute `_release` of type `tuple[int, ...]`
- src/pip/_vendor/packaging/version.py:789:21 error[invalid-assignment] Object of type `object` is not assignable to attribute `_pre` of type `tuple[Literal["a", "b", "rc"], int] | None`
- src/pip/_vendor/packaging/version.py:791:21 error[invalid-assignment] Object of type `object` is not assignable to attribute `_dev` of type `tuple[Literal["dev"], int] | None`
- src/pip/_vendor/packaging/version.py:799:35 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["_epoch"]` on object of type `Top[dict[Unknown, Unknown]]`
- src/pip/_vendor/packaging/version.py:816:31 error[unresolved-attribute] Object of type `~None` has no attribute `local`
- src/pip/_vendor/requests/models.py:181:20 error[invalid-return-type] Return type does not match returned value: expected `str | bytes | SupportsRead[str | bytes]`, found `SupportsItems[Any, Any] & ~SupportsRead[object] & ~<Protocol with members '__iter__'>`
+ src/pip/_vendor/requests/models.py:181:20 error[invalid-return-type] Return type does not match returned value: expected `str | bytes | SupportsRead[str | bytes]`, found `SupportsItems[Any, Any] & ~SupportsRead[object*] & ~<Protocol with members '__iter__'>`
- src/pip/_vendor/requests/models.py:650:9 error[invalid-assignment] Object of type `None | bytes | (Iterable[tuple[Any, Any]] & ~str & ~bytes & ~Top[list[Unknown]] & ~tuple[object, ...] & ~Top[Mapping[Unknown, object]]) | ... omitted 5 union elements` is not assignable to attribute `body` of type `bytes | Iterable[bytes | str] | SupportsRead[bytes | str] | None`
+ src/pip/_vendor/requests/models.py:650:9 error[invalid-assignment] Object of type `None | bytes | (Iterable[tuple[Any, Any]] & ~str & ~bytes & ~Top[list[Unknown]] & ~tuple[object*, ...] & ~Top[Mapping[Unknown, object*]]) | ... omitted 5 union elements` is not assignable to attribute `body` of type `bytes | Iterable[bytes | str] | SupportsRead[bytes | str] | None`
- src/pip/_vendor/urllib3/_collections.py:357:31 error[invalid-argument-type] Argument to bound method `HTTPHeaderDict.add` is incorrect: Expected `str`, found `object`
- src/pip/_vendor/urllib3/_collections.py:359:31 error[not-iterable] Object of type `object` is not iterable

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/cli/deploy/_core.py:409:36 error[invalid-argument-type] Argument to function `_create_slas` is incorrect: Expected `UUID`, found `object`
- src/prefect/flow_engine.py:1465:20 error[invalid-return-type] Return type does not match returned value: expected `R@AsyncFlowRunEngine | State[Any] | None`, found `object`
- src/prefect/flow_engine.py:764:20 error[invalid-return-type] Return type does not match returned value: expected `R@FlowRunEngine | State[Any] | None`, found `(R@FlowRunEngine & ~<class 'NotSet'> & ~Top[State[Any]] & ~Coroutine[object, Never, object]) | (type[NotSet] & ~<class 'NotSet'> & ~Coroutine[object, Never, object]) | Unknown`
+ src/prefect/flow_engine.py:764:20 error[invalid-return-type] Return type does not match returned value: expected `R@FlowRunEngine | State[Any] | None`, found `(R@FlowRunEngine & ~<class 'NotSet'> & ~Top[State[Any]] & ~Coroutine[object*, Never*, object*]) | (type[NotSet] & ~<class 'NotSet'> & ~Coroutine[object*, Never*, object*]) | Unknown`

pwndbg (https://github.com/pwndbg/pwndbg)
- pwndbg/commands/ptmalloc2.py:55:15 error[call-non-callable] Object of type `~None` is not callable
- pwndbg/commands/ptmalloc2.py:451:15 error[unresolved-attribute] Object of type `~AlwaysFalsy` has no attribute `value_to_human_readable`

pyproject-metadata (https://github.com/pypa/pyproject-metadata)
- pyproject_metadata/project_table.py:318:21 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
- pyproject_metadata/pyproject.py:103:44 error[unresolved-attribute] Object of type `object` has no attribute `get`

rotki (https://github.com/rotki/rotki)
- rotkehlchen/api/v1/schemas.py:1607:17 error[invalid-assignment] Invalid subscript assignment with key of type `SupportedBlockchain` and value of type `frozenset[object]` on object of type `dict[SupportedBlockchain, frozenset[str]]`

schema_salad (https://github.com/common-workflow-language/schema_salad)
- src/schema_salad/python_codegen_support.py:655:22 error[invalid-argument-type] Argument to bound method `MutableMapping.pop` is incorrect: Expected `Never`, found `Literal["$schemas"]`
- src/schema_salad/python_codegen_support.py:657:22 error[invalid-argument-type] Argument to bound method `MutableMapping.pop` is incorrect: Expected `Never`, found `Literal["$base"]`
- src/schema_salad/avro/schema.py:802:34 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["names"]` on object of type `Top[dict[Unknown, Unknown]]`
- src/schema_salad/avro/schema.py:809:38 error[invalid-argument-type] Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
- src/schema_salad/avro/schema.py:811:38 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
- src/schema_salad/jsonld_context.py:55:29 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["predicate"]` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- src/schema_salad/jsonld_context.py:252:9 error[invalid-assignment] Cannot assign to a subscript on an object of type `str`
- src/schema_salad/metaschema.py:675:22 error[invalid-argument-type] Argument to bound method `MutableSequence.pop` is incorrect: Expected `int`, found `Literal["$namespaces"]`
- src/schema_salad/metaschema.py:677:22 error[invalid-argument-type] Argument to bound method `MutableSequence.pop` is incorrect: Expected `int`, found `Literal["$schemas"]`
- src/schema_salad/metaschema.py:679:22 error[invalid-argument-type] Argument to bound method `MutableMapping.pop` is incorrect: Expected `Never`, found `Literal["$base"]`
- src/schema_salad/ref_resolver.py:375:25 error[invalid-assignment] Invalid subscript assignment with key of type `str` and value of type `object` on object of type `dict[str, int]`
- src/schema_salad/ref_resolver.py:1155:62 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- src/schema_salad/ref_resolver.py:1155:62 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `str` on object of type `str`
- src/schema_salad/ref_resolver.py:1159:45 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- src/schema_salad/ref_resolver.py:1161:41 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- src/schema_salad/ref_resolver.py:1164:41 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[MutableMapping[Unknown, Unknown]]`
- src/schema_salad/schema.py:545:31 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["type"]` on object of type `str`
- src/schema_salad/schema.py:558:20 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["name"]` on object of type `str`
- src/schema_salad/schema.py:564:21 error[invalid-argument-type] Method `__getitem__` of type `Overload[(index: int, /) -> Any, (index: slice[int | None, int | None, int | None], /) -> MutableSequence[Any]]` cannot be called with key of type `Literal["type"]` on object of type `MutableSequence[Any]`
- src/schema_salad/schema.py:564:21 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["items"]` on object of type `str`
- src/schema_salad/schema.py:564:21 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["type"]` on object of type `str`

schemathesis (https://github.com/schemathesis/schemathesis)
- src/schemathesis/core/error_feedback/parsers/drf.py:173:59 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["detail"]` on object of type `Top[dict[Unknown, Unknown]]`
- src/schemathesis/core/error_feedback/parsers/zod.py:54:20 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["issues"]` on object of type `Top[dict[Unknown, Unknown]]`
- src/schemathesis/core/error_feedback/parsers/zod.py:54:20 error[invalid-return-type] Return type does not match returned value: expected `list[dict[Unknown, Unknown]] | None`, found `object`
- src/schemathesis/core/jsonschema/references.py:118:64 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["$ref"]` on object of type `Top[dict[Unknown, Unknown]]`
- src/schemathesis/specs/openapi/adapter/servers.py:31:30 error[invalid-argument-type] Method `__getitem__` of type `bound method Mapping[str, str].__getitem__(key: str, /) -> str` cannot be called with key of type `object` on object of type `Mapping[str, str]`
- src/schemathesis/core/error_feedback/parsers/ajv.py:359:48 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["message"]` on object of type `Top[dict[Unknown, Unknown]]`

scikit-learn (https://github.com/scikit-learn/scikit-learn)
- sklearn/manifold/_spectral_embedding.py:421:9 error[unsupported-operator] Operator `-=` is not supported between objects of type `csr_array[Any, tuple[int, int]]` and `dia_array[float64] | Unknown`
+ sklearn/manifold/_spectral_embedding.py:421:9 error[unsupported-operator] Operator `-=` is not supported between objects of type `csr_array[object*, tuple[int, int]]` and `dia_array[float64] | Unknown`

scipy (https://github.com/scipy/scipy)
- subprojects/highs/highs/highspy/highs.py:284:63 error[invalid-argument-type] Argument to function `Highs.internal_get_value` is incorrect: Expected `Integral | highs_var | highs_cons | ... omitted 4 union elements`, found `object`
- subprojects/highs/highs/highspy/highs.py:881:25 error[unresolved-attribute] Object of type `object` has no attribute `index`
- subprojects/highs/highs/highspy/highs.py:882:26 error[unresolved-attribute] Object of type `object` has no attribute `index`
- subprojects/highs/highs/highspy/highs.py:1132:28 error[unresolved-attribute] Object of type `object` has no attribute `index`

scrapy (https://github.com/scrapy/scrapy)
- scrapy/core/spidermw.py:142:24 error[invalid-return-type] Return type does not match returned value: expected `MutableAsyncChain[_T@_process_spider_exception]`, found `MutableAsyncChain[object]`

setuptools (https://github.com/pypa/setuptools)
- setuptools/_distutils/text_file.py:138:39 error[invalid-argument-type] Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(Unknown & ~Top[list[Unknown]] & ~tuple[object, ...]) | int | None`
+ setuptools/_distutils/text_file.py:138:39 error[invalid-argument-type] Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(Unknown & ~Top[list[Unknown]] & ~tuple[object*, ...]) | int | None`

spark (https://github.com/apache/spark)
- python/pyspark/ml/functions.py:299:25 error[invalid-assignment] Cannot assign to a subscript on an object of type `Mapping[str, ndarray[tuple[Any, ...], dtype[Any]]]`
- python/pyspark/mllib/linalg/__init__.py:862:20 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
- python/pyspark/mllib/linalg/__init__.py:865:25 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `Unknown` on object of type `ndarray[tuple[object, ...], dtype[object]]`
- python/pyspark/pandas/generic.py:490:13 error[invalid-assignment] Invalid subscript assignment with key of type `object` and value of type `Self@pipe` on object of type `dict[str, Any]`
- python/pyspark/pandas/series.py:1234:27 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `_NoValueType` on object of type `Top[dict[Unknown, Unknown]]`
- python/pyspark/sql/classic/dataframe.py:1209:36 error[invalid-argument-type] Argument to bound method `DataFrame._jcols` is incorrect: Expected `Sequence[Column | str] | Column`, found `object`
- python/pyspark/sql/classic/dataframe.py:1211:36 error[invalid-argument-type] Argument to bound method `DataFrame._jcols` is incorrect: Expected `Sequence[Column | str] | Column`, found `_T@list`
- python/pyspark/sql/pandas/conversion.py:989:32 error[invalid-argument-type] Argument to bound method `StructType.add` is incorrect: Expected `str`, found `object`
- python/pyspark/sql/session.py:1215:60 error[invalid-argument-type] Argument to bound method `SparkSession._inferSchema` is incorrect: Expected `list[str] | None`, found `None | (DataType & Top[list[Unknown]]) | list[str] | (DataType & tuple[object, ...])`
+ python/pyspark/sql/session.py:1215:60 error[invalid-argument-type] Argument to bound method `SparkSession._inferSchema` is incorrect: Expected `list[str] | None`, found `None | (DataType & Top[list[Unknown]]) | list[str] | (DataType & tuple[object*, ...])`
- python/pyspark/sql/session.py:1591:23 error[unresolved-attribute] Object of type `~str` has no attribute `encode`
- python/pyspark/sql/session.py:1642:38 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `tuple[slice[None, None, None], int]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
- python/pyspark/testing/sqlutils.py:298:25 error[invalid-argument-type] Method `__delitem__` of type `bound method _Environ[str].__delitem__(key: str) -> None` cannot be called with key of type `object` on object of type `_Environ[str]`
- python/pyspark/testing/sqlutils.py:307:29 error[invalid-argument-type] Method `__delitem__` of type `bound method _Environ[str].__delitem__(key: str) -> None` cannot be called with key of type `object` on object of type `_Environ[str]`

static-frame (https://github.com/static-frame/static-frame)
- static_frame/test/unit/test_index_correspondence.py:22:26 error[no-matching-overload] No overload of bound method `ndarray.tolist` matches arguments
- static_frame/core/frame.py:5598:44 error[invalid-argument-type] Argument to bound method `IndexBase._drop_iloc` is incorrect: Expected `int | integer[Any] | ndarray[Any, Any] | ... omitted 3 union elements`, found `object`
- static_frame/core/store_config.py:50:16 error[invalid-return-type] Return type does not match returned value: expected `int | tuple[int, ...] | None`, found `tuple[object, ...]`
- static_frame/core/type_blocks.py:3134:61 error[invalid-argument-type] Argument to bound method `TypeBlocks._mask_blocks` is incorrect: Expected `int | integer[Any] | ndarray[Any, Any] | ... omitted 3 union elements`, found `object`
- static_frame/core/type_blocks.py:3293:35 error[invalid-argument-type] Argument to bound method `TypeBlocks._drop_blocks` is incorrect: Expected `int | integer[Any] | ndarray[Any, Any] | ... omitted 3 union elements`, found `object`
- static_frame/core/type_blocks.py:3590:29 error[invalid-argument-type] Argument to function `column_2d_filter` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `object`
- static_frame/core/util.py:3939:12 error[invalid-return-type] Return type does not match returned value: expected `str | TextIO`, found `(str & ~PathLike[object]) | (Iterator[str] & ~PathLike[object])`
+ static_frame/core/util.py:3939:12 error[invalid-return-type] Return type does not match returned value: expected `str | TextIO`, found `(str & ~PathLike[object*]) | (Iterator[str] & ~PathLike[object*])`
- static_frame/test/unit/test_index.py:902:26 error[no-matching-overload] No overload of bound method `ndarray.tolist` matches arguments
- static_frame/test/unit/test_index.py:906:26 error[no-matching-overload] No overload of bound method `ndarray.tolist` matches arguments

strawberry (https://github.com/strawberry-graphql/strawberry)
- strawberry/codegen/plugins/python.py:135:62 error[invalid-argument-type] Argument to bound method `PythonPlugin._print_argument_value` is incorrect: Expected `GraphQLStringValue | GraphQLNullValue | GraphQLIntValue | ... omitted 6 union elements`, found `object`

sympy (https://github.com/sympy/sympy)
- sympy/core/basic.py:1096:25 error[invalid-assignment] Object of type `(_SupportsItems[Basic | int | float | complex, Basic | int | float | complex] & Top[set[Unknown]]) | (Iterable[tuple[Basic | int | float | complex, Basic | int | float | complex]] & Top[set[Unknown]])` is not assignable to `Iterable[tuple[Basic | int | float | complex, Basic | int | float | complex]]`
- sympy/core/numbers.py:893:26 error[unresolved-attribute] Object of type `object` has no attribute `removeprefix`
+ sympy/matrices/matrixbase.py:4281:64 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ sympy/matrices/matrixbase.py:4286:66 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- sympy/ntheory/tests/test_factor_.py:66:33 error[unsupported-operator] Operator `//` is not supported between objects of type `~AlwaysFalsy & ~Literal[1] & ~Literal[True]` and `Literal[2]`
- sympy/tensor/indexed.py:664:21 error[unresolved-attribute] Object of type `object` has no attribute `is_integer`

tornado (https://github.com/tornadoweb/tornado)
- tornado/gen.py:516:30 error[invalid-argument-type] Argument to constructor `map.__new__` is incorrect: Expected `(object, /) -> _asyncio.Future[Unknown]`, found `def convert_yielded(yielded: None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | concurrent.futures._base.Future[Unknown]) -> _asyncio.Future[Unknown]`
- tornado/gen.py:239:46 error[invalid-argument-type] Argument to `Runner.__init__` is incorrect: Expected `Generator[None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown], Any, _T@coroutine | Unknown]`, found `(Generator[Any, Any, _T@coroutine] & Generator[object, None, None]) | (_T@coroutine & Generator[object, None, None])`

trio (https://github.com/python-trio/trio)
- src/trio/_util.py:145:12 error[invalid-return-type] Return type does not match returned value: expected `Coroutine[object, Never, RetT@coroutine_or_error]`, found `Awaitable[RetT@coroutine_or_error] & Coroutine[object, Never, object]`

vision (https://github.com/pytorch/vision)
- torchvision/transforms/v2/_utils.py:69:41 error[invalid-argument-type] Argument to function `_convert_fill_arg` is incorrect: Expected `int | float | Sequence[int | float] | None`, found `object`

werkzeug (https://github.com/pallets/werkzeug)
- src/werkzeug/test.py:343:30 error[invalid-argument-type] Argument to `Authorization.__init__` is incorrect: Expected `dict[str, str | None] | None`, found `dict[str, object]`

xarray (https://github.com/pydata/xarray)
- xarray/core/common.py:869:13 error[invalid-assignment] Invalid subscript assignment with key of type `object` and value of type `Self@pipe` on object of type `P@pipe.kwargs`
+ xarray/core/common.py:869:13 error[invalid-assignment] Invalid subscript assignment with key of type `object*` and value of type `Self@pipe` on object of type `P@pipe.kwargs`
- xarray/core/indexing.py:411:19 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `integer[Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
- xarray/namedarray/_array_api.py:75:24 error[unresolved-attribute] Object of type `_arrayfunction[Any, Any] & ~_arrayapi[object, object]` has no attribute `astype`
+ xarray/namedarray/_array_api.py:75:24 error[unresolved-attribute] Object of type `_arrayfunction[Any, Any] & ~_arrayapi[object*, object*]` has no attribute `astype`
- xarray/namedarray/_array_api.py:220:42 error[unresolved-attribute] Object of type `_arrayfunction[Any, _DType@permute_dims] & ~_arrayapi[object, object]` has no attribute `transpose`
+ xarray/namedarray/_array_api.py:220:42 error[unresolved-attribute] Object of type `_arrayfunction[Any, _DType@permute_dims] & ~_arrayapi[object*, object*]` has no attribute `transpose`
- xarray/namedarray/core.py:1011:54 error[invalid-argument-type] Argument to bound method `_sparsearrayapi.todense` is incorrect: Argument type `_sparsearrayapi[object, object]` does not satisfy upper bound `_sparsearrayapi[_ShapeType_co@_sparsearrayapi, _DType_co@_sparsearrayapi]` of type variable `Self`
- xarray/namedarray/core.py:1011:54 error[invalid-argument-type] Argument to bound method `_sparsearrayfunction.todense` is incorrect: Argument type `_arrayapi[Any, _DType_co@NamedArray] & _sparsearrayfunction[object, object]` does not satisfy upper bound `_sparsearrayfunction[_ShapeType_co@_sparsearrayfunction, _DType_co@_sparsearrayfunction]` of type variable `Self`
- xarray/structure/combine.py:69:57 error[invalid-argument-type] Argument to function `_infer_tile_ids_from_nested_list` is incorrect: Expected `NestedSequence[T@_infer_tile_ids_from_nested_list]`, found `object`

zulip (https://github.com/zulip/zulip)
- scripts/lib/supervisor.py:74:31 error[not-subscriptable] Cannot subscript object of type `object` with no `__getitem__` method
- zerver/lib/event_schema.py:464:38 error[not-subscriptable] Cannot subscript object of type `object` with no `__getitem__` method
- zerver/lib/rest.py:112:16 error[invalid-return-type] Return type does not match returned value: expected `tuple[(...) -> HttpResponse, set[str]] | HttpResponse`, found `tuple[Top[(...) -> object] & ~tuple[object, ...], set[Unknown]]`
+ zerver/lib/rest.py:112:16 error[invalid-return-type] Return type does not match returned value: expected `tuple[(...) -> HttpResponse, set[str]] | HttpResponse`, found `tuple[Top[(...) -> object] & ~tuple[object*, ...], set[Unknown]]`
- zerver/lib/validator.py:264:34 error[invalid-argument-type] Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`

Full report with detailed diff (timing results)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant