Skip to content

[ty] Fix variadic signature display - #27869

Merged
dhruvmanila merged 2 commits into
mainfrom
dhruv/variadic-signature-display
Aug 19, 2026
Merged

dhruvmanila merged 2 commits into
mainfrom
dhruv/variadic-signature-display

Conversation

@dhruvmanila

@dhruvmanila dhruvmanila commented Aug 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Preserve the unpacking * in named variadic annotations and avoid adding a redundant bare * before keyword-only parameters when *args is already present. This fixes malformed revealed signatures without changing signature storage or inference.

Test plan

  • Add a directly declared mixed-signature regression.
  • Update TypeVarTuple partial, lambda, and bidirectional reveal expectations.
  • Regenerate existing single-line and multiline signature-display snapshots.

@astral-sh-bot astral-sh-bot Bot added the ty The ty type checker label Aug 19, 2026
@astral-sh-bot

astral-sh-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

Typing conformance results

The percentage of diagnostics emitted that were expected errors held steady at 97.68%. The percentage of expected errors that received a diagnostic held steady at 93.44%. The number of fully passing files held steady at 109/136.

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 1054 1054 +0
False Positives 25 25 +0
False Negatives 74 74 +0
Total Diagnostics 1121 1121 +0
Precision 97.68% 97.68% +0.00%
Recall 93.44% 93.44% +0.00%
Passing Files 109/136 109/136 +0

True positives changed (4)

4 diagnostics
Test case Diff

callables_protocol.py:121

-error[invalid-assignment] Object of type `def cb6_bad1(*vals: bytes, *, max_len: int | None = None) -> list[bytes]` is not assignable to `NotProto6`
+error[invalid-assignment] Object of type `def cb6_bad1(*vals: bytes, max_len: int | None = None) -> list[bytes]` is not assignable to `NotProto6`

callables_protocol.py:260

-error[invalid-assignment] Object of type `def cb12_bad1(*args: Any, *, kwarg0: Any) -> None` is not assignable to `Proto12`
+error[invalid-assignment] Object of type `def cb12_bad1(*args: Any, kwarg0: Any) -> None` is not assignable to `Proto12`

callables_protocol.py:35

-error[invalid-assignment] Object of type `def cb1_bad1(*vals: bytes, *, max_items: int | None) -> list[bytes]` is not assignable to `Proto1`
+error[invalid-assignment] Object of type `def cb1_bad1(*vals: bytes, max_items: int | None) -> list[bytes]` is not assignable to `Proto1`

callables_protocol.py:37

-error[invalid-assignment] Object of type `def cb1_bad3(*vals: bytes, *, max_len: str | None) -> list[bytes]` is not assignable to `Proto1`
+error[invalid-assignment] Object of type `def cb1_bad3(*vals: bytes, max_len: str | None) -> list[bytes]` is not assignable to `Proto1`

@astral-sh-bot

astral-sh-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

Memory usage report

Memory usage unchanged ✅

@astral-sh-bot

astral-sh-bot Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

ecosystem-analyzer results

Lint rule Added Removed Changed
invalid-assignment 0 0 52
invalid-argument-type 0 0 6
unresolved-attribute 0 0 5
invalid-return-type 0 0 1
Total 0 0 64

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

Raw diff (64 changes)
Expression (https://github.com/cognitedata/Expression)
- tests/test_pipe.py:145:29 error[invalid-argument-type] Argument to function `starpipe` is incorrect: Expected `(Literal[1], Literal[2], /) -> tuple[Literal[1], Literal[2]]`, found `def starid[*_P](*value: _P) -> tuple[*_P]`
+ tests/test_pipe.py:145:29 error[invalid-argument-type] Argument to function `starpipe` is incorrect: Expected `(Literal[1], Literal[2], /) -> tuple[Literal[1], Literal[2]]`, found `def starid[*_P](*value: *_P) -> tuple[*_P]`

core (https://github.com/home-assistant/core)
- homeassistant/core.py:593:31 error[invalid-argument-type] Argument to class `partial` is incorrect: Expected `(...) -> None`, found `Overload[[_R](hassjob: HassJob[(...), Coroutine[Any, Any, _R]], *args: Any, *, background: bool = False) -> Future[_R] | None, [_R](hassjob: HassJob[(...), Coroutine[Any, Any, _R] | _R], *args: Any, *, background: bool = False) -> Future[_R] | None]`
+ homeassistant/core.py:593:31 error[invalid-argument-type] Argument to class `partial` is incorrect: Expected `(...) -> None`, found `Overload[[_R](hassjob: HassJob[(...), Coroutine[Any, Any, _R]], *args: Any, background: bool = False) -> Future[_R] | None, [_R](hassjob: HassJob[(...), Coroutine[Any, Any, _R] | _R], *args: Any, background: bool = False) -> Future[_R] | None]`

jax (https://github.com/google/jax)
- jax/_src/ad_checkpoint.py:569:1 error[invalid-assignment] Object of type `def _remat_bind(*args, *, jaxpr, prevent_cse, differentiated, policy) -> Unknown` is not assignable to attribute `bind` of type `def bind(self, *args, **params) -> Unknown`
+ jax/_src/ad_checkpoint.py:569:1 error[invalid-assignment] Object of type `def _remat_bind(*args, jaxpr, prevent_cse, differentiated, policy) -> Unknown` is not assignable to attribute `bind` of type `def bind(self, *args, **params) -> Unknown`
- jax/_src/ad_checkpoint.py:881:1 error[invalid-assignment] Object of type `def _remat_is_high(*_, *, jaxpr, **__) -> bool` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/ad_checkpoint.py:881:1 error[invalid-assignment] Object of type `def _remat_is_high(*_, jaxpr, **__) -> bool` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/ad_checkpoint.py:891:1 error[invalid-assignment] Object of type `def _remat_to_lojax(*hi_args, *, jaxpr, **kwds) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/ad_checkpoint.py:891:1 error[invalid-assignment] Object of type `def _remat_to_lojax(*hi_args, jaxpr, **kwds) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/compute_on.py:399:1 error[invalid-assignment] Object of type `def _compute_on_to_lojax(*hi_args, *, jaxpr, compute_type, out_memory_spaces, compiler_options_json) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/compute_on.py:399:1 error[invalid-assignment] Object of type `def _compute_on_to_lojax(*hi_args, jaxpr, compute_type, out_memory_spaces, compiler_options_json) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/custom_batching.py:355:1 error[invalid-assignment] Object of type `def custom_vmap_impl(*args, *, call, rule, in_tree, out_tree) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/custom_batching.py:355:1 error[invalid-assignment] Object of type `def custom_vmap_impl(*args, call, rule, in_tree, out_tree) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/custom_derivatives.py:1934:1 error[invalid-assignment] Object of type `(*_, *, fwd_jaxpr, **__) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/custom_derivatives.py:1934:1 error[invalid-assignment] Object of type `(*_, fwd_jaxpr, **__) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/custom_derivatives.py:1935:1 error[invalid-assignment] Object of type `def _remat_opt_to_lojax(*hi_args, *, fwd_jaxpr: Jaxpr, num_consts, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/custom_derivatives.py:1935:1 error[invalid-assignment] Object of type `def _remat_opt_to_lojax(*hi_args, fwd_jaxpr: Jaxpr, num_consts, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/hijax.py:387:1 error[invalid-assignment] Object of type `(*args, *, _prim) -> Literal[True]` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/hijax.py:387:1 error[invalid-assignment] Object of type `(*args, _prim) -> Literal[True]` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/hijax.py:412:1 error[invalid-assignment] Object of type `def _call_hi_primitive_to_lojax(*args_flat, *, _prim) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/hijax.py:412:1 error[invalid-assignment] Object of type `def _call_hi_primitive_to_lojax(*args_flat, _prim) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/hijax.py:489:1 error[invalid-assignment] Object of type `(*args, *, _prim, **_) -> Literal[True]` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/hijax.py:489:1 error[invalid-assignment] Object of type `(*args, _prim, **_) -> Literal[True]` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/lax/control_flow/conditionals.py:1045:1 error[invalid-assignment] Object of type `def _cond_is_high(*_, *, branches, **__) -> bool` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/lax/control_flow/conditionals.py:1045:1 error[invalid-assignment] Object of type `def _cond_is_high(*_, branches, **__) -> bool` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/lax/control_flow/conditionals.py:1060:1 error[invalid-assignment] Object of type `def _cond_to_lojax(pred, *hi_args, *, branches, **kwds) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/lax/control_flow/conditionals.py:1060:1 error[invalid-assignment] Object of type `def _cond_to_lojax(pred, *hi_args, branches, **kwds) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/lax/control_flow/loops.py:1572:1 error[invalid-assignment] Object of type `def _scan_is_high(*_, *, jaxpr, **__) -> bool` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/lax/control_flow/loops.py:1572:1 error[invalid-assignment] Object of type `def _scan_is_high(*_, jaxpr, **__) -> bool` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/lax/control_flow/loops.py:1602:1 error[invalid-assignment] Object of type `def _scan_to_lojax(*hi_args, *, jaxpr, ft_in, ft_out, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/lax/control_flow/loops.py:1602:1 error[invalid-assignment] Object of type `def _scan_to_lojax(*hi_args, jaxpr, ft_in, ft_out, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/lax/control_flow/loops.py:2456:1 error[invalid-assignment] Object of type `def _while_is_high(*_, *, cond_jaxpr, body_jaxpr, **__) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/lax/control_flow/loops.py:2456:1 error[invalid-assignment] Object of type `def _while_is_high(*_, cond_jaxpr, body_jaxpr, **__) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/lax/control_flow/loops.py:2481:1 error[invalid-assignment] Object of type `def _while_to_lojax(*hi_args, *, cond_jaxpr, body_jaxpr, cond_nconsts, body_nconsts) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/lax/control_flow/loops.py:2481:1 error[invalid-assignment] Object of type `def _while_to_lojax(*hi_args, cond_jaxpr, body_jaxpr, cond_nconsts, body_nconsts) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/pallas/mosaic/pipeline.py:2477:1 error[invalid-assignment] Object of type `def _emit_pipeline_is_high(*avals, *, body_jaxpr, grid_mapping, args_tree, **_) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/pallas/mosaic/pipeline.py:2477:1 error[invalid-assignment] Object of type `def _emit_pipeline_is_high(*avals, body_jaxpr, grid_mapping, args_tree, **_) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/pallas/mosaic/pipeline.py:2514:1 error[invalid-assignment] Object of type `def _emit_pipeline_to_lojax(*args_flat, *, body_jaxpr, grid_mapping, args_tree, refs_tree, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/pallas/mosaic/pipeline.py:2514:1 error[invalid-assignment] Object of type `def _emit_pipeline_to_lojax(*args_flat, body_jaxpr, grid_mapping, args_tree, refs_tree, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/pallas/mosaic/primitives.py:343:1 error[invalid-assignment] Object of type `def _dma_start_to_lojax(*args, *, tree, device_id_type, priority, add) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/pallas/mosaic/primitives.py:343:1 error[invalid-assignment] Object of type `def _dma_start_to_lojax(*args, tree, device_id_type, priority, add) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/pallas/mosaic/primitives.py:596:1 error[invalid-assignment] Object of type `def _dma_wait_to_lojax(*args, *, tree, device_id_type, insert_dummy_device: bool, is_wait_send: bool) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/pallas/mosaic/primitives.py:596:1 error[invalid-assignment] Object of type `def _dma_wait_to_lojax(*args, tree, device_id_type, insert_dummy_device: bool, is_wait_send: bool) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/pallas/mosaic_gpu/pipeline.py:920:3 error[unresolved-attribute] Unresolved attribute `get_allocations` on type `def pipeline(*gmem_refs: AbstractRefPytree, *, allocations: Any | None = None) -> Unknown`
+ jax/_src/pallas/mosaic_gpu/pipeline.py:920:3 error[unresolved-attribute] Unresolved attribute `get_allocations` on type `def pipeline(*gmem_refs: AbstractRefPytree, allocations: Any | None = None) -> Unknown`
- jax/_src/pallas/mosaic_gpu/pipeline.py:1198:10 error[invalid-return-type] Return type does not match returned value: expected `WarpSpecializedPipeline`, found `def pipeline(*gmem_refs: AbstractRefPytree, *, allocations: Any | None = None) -> Unknown`
+ jax/_src/pallas/mosaic_gpu/pipeline.py:1198:10 error[invalid-return-type] Return type does not match returned value: expected `WarpSpecializedPipeline`, found `def pipeline(*gmem_refs: AbstractRefPytree, allocations: Any | None = None) -> Unknown`
- jax/_src/pallas/mpmd.py:442:1 error[invalid-assignment] Object of type `def _mpmd_map_is_high(*args, *, jaxprs, **params) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/pallas/mpmd.py:442:1 error[invalid-assignment] Object of type `def _mpmd_map_is_high(*args, jaxprs, **params) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/pallas/mpmd.py:505:1 error[invalid-assignment] Object of type `def _mpmd_map_to_lojax(*hi_args, *, meshes, jaxprs, external_meshes, out_avals, input_output_aliases, compiler_params, interpret, debug, cost_estimate, metadata, name, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *lotypes_wrapped_in_hitypes, **params) -> Unknown`
+ jax/_src/pallas/mpmd.py:505:1 error[invalid-assignment] Object of type `def _mpmd_map_to_lojax(*hi_args, meshes, jaxprs, external_meshes, out_avals, input_output_aliases, compiler_params, interpret, debug, cost_estimate, metadata, name, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *lotypes_wrapped_in_hitypes, **params) -> Unknown`
- jax/_src/pallas/pallas_call.py:146:1 error[invalid-assignment] Object of type `def _pallas_call_is_high(*_, *, jaxpr, **params) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/pallas/pallas_call.py:146:1 error[invalid-assignment] Object of type `def _pallas_call_is_high(*_, jaxpr, **params) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/pallas/pallas_call.py:242:1 error[invalid-assignment] Object of type `def _pallas_call_to_lojax(*hi_args, *, jaxpr: Jaxpr, input_output_aliases: tuple[tuple[int, int], ...], grid_mapping: GridMapping, mesh: Mesh | None, debug: bool, interpret: Any, compiler_params: Any, cost_estimate: CostEstimate | None, out_avals: tuple[AbstractValue, ...], metadata: FrozenDict[str, str] | None, name: str | None) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *lotypes_wrapped_in_hitypes, **params) -> Unknown`
+ jax/_src/pallas/pallas_call.py:242:1 error[invalid-assignment] Object of type `def _pallas_call_to_lojax(*hi_args, jaxpr: Jaxpr, input_output_aliases: tuple[tuple[int, int], ...], grid_mapping: GridMapping, mesh: Mesh | None, debug: bool, interpret: Any, compiler_params: Any, cost_estimate: CostEstimate | None, out_avals: tuple[AbstractValue, ...], metadata: FrozenDict[str, str] | None, name: str | None) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *lotypes_wrapped_in_hitypes, **params) -> Unknown`
- jax/_src/pallas/primitives.py:669:1 error[invalid-assignment] Object of type `def _run_scoped_is_high(*avals, *, jaxpr, **params) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/pallas/primitives.py:669:1 error[invalid-assignment] Object of type `def _run_scoped_is_high(*avals, jaxpr, **params) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/pallas/primitives.py:676:1 error[invalid-assignment] Object of type `def _run_scoped_to_lojax(*args, *, jaxpr, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/pallas/primitives.py:676:1 error[invalid-assignment] Object of type `def _run_scoped_to_lojax(*args, jaxpr, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/pjit.py:882:1 error[invalid-assignment] Object of type `def _is_high(*_, *, jaxpr, **__) -> bool` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/pjit.py:882:1 error[invalid-assignment] Object of type `def _is_high(*_, jaxpr, **__) -> bool` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/pjit.py:895:1 error[invalid-assignment] Object of type `def _to_lojax(*hi_args, *, jaxpr, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/pjit.py:895:1 error[invalid-assignment] Object of type `def _to_lojax(*hi_args, jaxpr, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/shard_map.py:745:1 error[invalid-assignment] Object of type `(*_, *, jaxpr, **__) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/shard_map.py:745:1 error[invalid-assignment] Object of type `(*_, jaxpr, **__) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/shard_map.py:779:1 error[invalid-assignment] Object of type `def _shard_map_to_lojax(*hi_args, *, jaxpr, in_specs, out_specs, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/shard_map.py:779:1 error[invalid-assignment] Object of type `def _shard_map_to_lojax(*hi_args, jaxpr, in_specs, out_specs, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/state/discharge.py:692:1 error[invalid-assignment] Object of type `def _run_state_is_high(*_, *, jaxpr, **__) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/state/discharge.py:692:1 error[invalid-assignment] Object of type `def _run_state_is_high(*_, jaxpr, **__) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/state/discharge.py:705:1 error[invalid-assignment] Object of type `def _run_state_to_lojax(*args, *, jaxpr, is_initialized, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/state/discharge.py:705:1 error[invalid-assignment] Object of type `def _run_state_to_lojax(*args, jaxpr, is_initialized, **params) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/state/primitives.py:78:1 error[invalid-assignment] Object of type `(ref_aval, *_, *, tree) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/state/primitives.py:78:1 error[invalid-assignment] Object of type `(ref_aval, *_, tree) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/state/primitives.py:87:1 error[invalid-assignment] Object of type `def _get_to_lojax(ref, *idx, *, tree) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/state/primitives.py:87:1 error[invalid-assignment] Object of type `def _get_to_lojax(ref, *idx, tree) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/state/primitives.py:185:1 error[invalid-assignment] Object of type `(ref_aval, *_, *, tree) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
+ jax/_src/state/primitives.py:185:1 error[invalid-assignment] Object of type `(ref_aval, *_, tree) -> Unknown` is not assignable to attribute `is_high` of type `def is_high(self, *avals, **params) -> bool`
- jax/_src/state/primitives.py:199:1 error[invalid-assignment] Object of type `def _swap_to_lojax(ref, val, *idx, *, tree) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/state/primitives.py:199:1 error[invalid-assignment] Object of type `def _swap_to_lojax(ref, val, *idx, tree) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/_src/xla_metadata.py:477:1 error[invalid-assignment] Object of type `def _xla_metadata_call_to_lojax(*hi_args, *, jaxpr, xla_metadata, ad_metadata) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/_src/xla_metadata.py:477:1 error[invalid-assignment] Object of type `def _xla_metadata_call_to_lojax(*hi_args, jaxpr, xla_metadata, ad_metadata) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
- jax/experimental/fused.py:165:1 error[invalid-assignment] Object of type `def _fused_to_lojax(*hi_args, *, jaxpr, out_spaces) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`
+ jax/experimental/fused.py:165:1 error[invalid-assignment] Object of type `def _fused_to_lojax(*hi_args, jaxpr, out_spaces) -> Unknown` is not assignable to attribute `to_lojax` of type `def to_lojax(self, *args, **params) -> Unknown`

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/logging/loggers.py:400:9 error[invalid-assignment] Object of type `def print_as_log(...) -> None` is not assignable to attribute `print` of type `Overload[(*values: object, *, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, *, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
+ src/prefect/logging/loggers.py:400:9 error[invalid-assignment] Object of type `def print_as_log(...) -> None` is not assignable to attribute `print` of type `Overload[(*values: object, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`

schemathesis (https://github.com/schemathesis/schemathesis)
- src/schemathesis/pytest/lazy.py:288:32 error[invalid-assignment] Object of type `staticmethod[(*args: Any, *, request: Unknown, **kwargs: Any), None]` is not assignable to `def wrapped_test(*args: Any, *, request: Unknown, **kwargs: Any) -> None`
+ src/schemathesis/pytest/lazy.py:288:32 error[invalid-assignment] Object of type `staticmethod[(*args: Any, request: Unknown, **kwargs: Any), None]` is not assignable to `def wrapped_test(*args: Any, request: Unknown, **kwargs: Any) -> None`

scipy (https://github.com/scipy/scipy)
- scipy/special/_ufunc_tools.py:350:5 error[unresolved-attribute] Unresolved attribute `ufunc` on type `(*args, *, out=None, where=True, casting="same_kind", order="K", dtype=None, subok=True, signature=None) -> Unknown`
+ scipy/special/_ufunc_tools.py:350:5 error[unresolved-attribute] Unresolved attribute `ufunc` on type `(*args, out=None, where=True, casting="same_kind", order="K", dtype=None, subok=True, signature=None) -> Unknown`
- scipy/stats/_axis_nan_policy.py:725:9 error[unresolved-attribute] Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (*args, *, _no_deco=False, **kwds), Unknown]`
+ scipy/stats/_axis_nan_policy.py:725:9 error[unresolved-attribute] Unresolved attribute `__signature__` on type `_Wrapped[(...), Unknown, (*args, _no_deco=False, **kwds), Unknown]`

setuptools (https://github.com/pypa/setuptools)
- setuptools/_distutils/compilers/C/tests/test_unix.py:238:9 error[invalid-assignment] Object of type `def gcvs(*args, *, _orig=...) -> Unknown` is not assignable to attribute `get_config_vars` of type `Overload[() -> dict[str, Any], (arg: str, /, *args: str) -> list[Any]]`
+ setuptools/_distutils/compilers/C/tests/test_unix.py:238:9 error[invalid-assignment] Object of type `def gcvs(*args, _orig=...) -> Unknown` is not assignable to attribute `get_config_vars` of type `Overload[() -> dict[str, Any], (arg: str, /, *args: str) -> list[Any]]`
- setuptools/_distutils/compilers/C/tests/test_unix.py:264:9 error[invalid-assignment] Object of type `def gcvs(*args, *, _orig=...) -> Unknown` is not assignable to attribute `get_config_vars` of type `Overload[() -> dict[str, Any], (arg: str, /, *args: str) -> list[Any]]`
+ setuptools/_distutils/compilers/C/tests/test_unix.py:264:9 error[invalid-assignment] Object of type `def gcvs(*args, _orig=...) -> Unknown` is not assignable to attribute `get_config_vars` of type `Overload[() -> dict[str, Any], (arg: str, /, *args: str) -> list[Any]]`
- setuptools/_distutils/compilers/C/tests/test_unix.py:335:9 error[invalid-assignment] Object of type `def gcvs(*args, *, _orig=...) -> Unknown` is not assignable to attribute `get_config_vars` of type `Overload[() -> dict[str, Any], (arg: str, /, *args: str) -> list[Any]]`
+ setuptools/_distutils/compilers/C/tests/test_unix.py:335:9 error[invalid-assignment] Object of type `def gcvs(*args, _orig=...) -> Unknown` is not assignable to attribute `get_config_vars` of type `Overload[() -> dict[str, Any], (arg: str, /, *args: str) -> list[Any]]`
- setuptools/_distutils/compilers/C/tests/test_unix.py:368:9 error[invalid-assignment] Object of type `def gcvs(*args, *, _orig=...) -> Unknown` is not assignable to attribute `get_config_vars` of type `Overload[() -> dict[str, Any], (arg: str, /, *args: str) -> list[Any]]`
+ setuptools/_distutils/compilers/C/tests/test_unix.py:368:9 error[invalid-assignment] Object of type `def gcvs(*args, _orig=...) -> Unknown` is not assignable to attribute `get_config_vars` of type `Overload[() -> dict[str, Any], (arg: str, /, *args: str) -> list[Any]]`

spack (https://github.com/spack/spack)
- lib/spack/spack/vendor/typing_extensions.py:1119:5 error[unresolved-attribute] Unresolved attribute `__text_signature__` on type `def _typeddict_new(*args, *, total=True, **kwargs) -> Unknown`
+ lib/spack/spack/vendor/typing_extensions.py:1119:5 error[unresolved-attribute] Unresolved attribute `__text_signature__` on type `def _typeddict_new(*args, total=True, **kwargs) -> Unknown`

spark (https://github.com/apache/spark)
- python/pyspark/core/rdd.py:2092:32 error[invalid-argument-type] Argument to bound method `RDD.reduce` is incorrect: Expected `(T@max, T@max, /) -> T@max`, found `Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, *, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]`
+ python/pyspark/core/rdd.py:2092:32 error[invalid-argument-type] Argument to bound method `RDD.reduce` is incorrect: Expected `(T@max, T@max, /) -> T@max`, found `Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]`
- python/pyspark/core/rdd.py:2130:32 error[invalid-argument-type] Argument to bound method `RDD.reduce` is incorrect: Expected `(T@min, T@min, /) -> T@min`, found `Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, *, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]`
+ python/pyspark/core/rdd.py:2130:32 error[invalid-argument-type] Argument to bound method `RDD.reduce` is incorrect: Expected `(T@min, T@min, /) -> T@min`, found `Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]`
- python/pyspark/pandas/tests/series/test_compute.py:165:29 error[invalid-argument-type] Argument to bound method `Series.aggregate` is incorrect: Expected `str | list[str]`, found `list[str | Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, *, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]]`
+ python/pyspark/pandas/tests/series/test_compute.py:165:29 error[invalid-argument-type] Argument to bound method `Series.aggregate` is incorrect: Expected `str | list[str]`, found `list[str | Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]]`
- python/pyspark/statcounter.py:30:23 error[invalid-assignment] Object of type `Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, *, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]` is not assignable to `_UFunc_Nin2_Nout1[Literal["maximum"], Literal[21], None]`
+ python/pyspark/statcounter.py:30:23 error[invalid-assignment] Object of type `Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]` is not assignable to `_UFunc_Nin2_Nout1[Literal["maximum"], Literal[21], None]`
- python/pyspark/statcounter.py:31:23 error[invalid-assignment] Object of type `Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, *, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]` is not assignable to `_UFunc_Nin2_Nout1[Literal["minimum"], Literal[21], None]`
+ python/pyspark/statcounter.py:31:23 error[invalid-assignment] Object of type `Overload[[SupportsRichComparisonT](arg1: SupportsRichComparisonT, arg2: SupportsRichComparisonT, /, *_args: SupportsRichComparisonT, key: None = None) -> SupportsRichComparisonT, [_T](arg1: _T, arg2: _T, /, *_args: _T, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None) -> SupportsRichComparisonT, [_T](iterable: Iterable[_T], /, *, key: (_T, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any]) -> _T, [SupportsRichComparisonT, _T](iterable: Iterable[SupportsRichComparisonT], /, *, key: None = None, default: _T) -> SupportsRichComparisonT | _T, [_T1, _T2](iterable: Iterable[_T1], /, *, key: (_T1, /) -> SupportsDunderLT[Any] | SupportsDunderGT[Any], default: _T2) -> _T1 | _T2]` is not assignable to `_UFunc_Nin2_Nout1[Literal["minimum"], Literal[21], None]`

trio (https://github.com/python-trio/trio)
- src/trio/_core/_tests/test_guest_mode.py:496:13 error[invalid-argument-type] Argument to function `start_guest_run` is incorrect: Expected `(() -> object, /) -> object`, found `bound method AbstractEventLoop.call_soon_threadsafe[*_Ts](callback: (*_Ts) -> object, *args: _Ts, *, context: Context | None = None) -> Handle`
+ src/trio/_core/_tests/test_guest_mode.py:496:13 error[invalid-argument-type] Argument to function `start_guest_run` is incorrect: Expected `(() -> object, /) -> object`, found `bound method AbstractEventLoop.call_soon_threadsafe[*_Ts](callback: (*_Ts) -> object, *args: *_Ts, context: Context | None = None) -> Handle`

vision (https://github.com/pytorch/vision)
- references/classification/utils.py:213:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, *, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, *, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
+ references/classification/utils.py:213:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
- references/depth/stereo/utils/distributed.py:18:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, *, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, *, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
+ references/depth/stereo/utils/distributed.py:18:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
- references/detection/utils.py:228:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, *, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, *, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
+ references/detection/utils.py:228:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
- references/optical_flow/utils.py:240:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, *, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, *, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
+ references/optical_flow/utils.py:240:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
- references/segmentation/utils.py:233:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, *, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, *, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
+ references/segmentation/utils.py:233:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
- references/video_classification/utils.py:197:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, *, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, *, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`
+ references/video_classification/utils.py:197:5 error[invalid-assignment] Object of type `def print(...) -> Unknown` is not assignable to attribute `print` of type `Overload[(*values: object, sep: str | None = " ", end: str | None = "\n", file: SupportsWrite[str] | None = None, flush: Literal[False] = False) -> None, (*values: object, sep: str | None = " ", end: str | None = "\n", file: _SupportsWriteAndFlush[str] | None = None, flush: bool) -> None]`

zulip (https://github.com/zulip/zulip)
- zerver/decorator.py:419:9 error[unresolved-attribute] Unresolved attribute `_all_event_types` on type `_Wrapped[(...), HttpResponse, (HttpRequest, /, *args: object, *, api_key: str, **kwargs: object), HttpResponse]`
+ zerver/decorator.py:419:9 error[unresolved-attribute] Unresolved attribute `_all_event_types` on type `_Wrapped[(...), HttpResponse, (HttpRequest, /, *args: object, api_key: str, **kwargs: object), HttpResponse]`

Full report with detailed diff (timing results)

@dhruvmanila
dhruvmanila marked this pull request as ready for review August 19, 2026 05:28
@dhruvmanila
dhruvmanila requested review from a team as code owners August 19, 2026 05:28
@astral-sh-bot
astral-sh-bot Bot requested a review from dcreager August 19, 2026 05:28
@dhruvmanila

Copy link
Copy Markdown
Member Author

Going to go ahead and merge this as this is just a display-only change, happy to address any feedback as follow-up.

@dhruvmanila
dhruvmanila merged commit c876a95 into main Aug 19, 2026
64 of 65 checks passed
@dhruvmanila
dhruvmanila deleted the dhruv/variadic-signature-display branch August 19, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty The ty type checker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant