This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [ty](https://github.com/astral-sh/ty) ([changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)) | `0.0.88` → `0.0.89` |  |  |
---
### Release Notes
<details>
<summary>astral-sh/ty (ty)</summary>
### [`v0.0.89`](https://github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0089)
[Compare Source](https://github.com/astral-sh/ty/compare/0.0.88...0.0.89)
Released on 2026-10-16.
##### Core type checking
- Added support for return type inference for unannotated functions and methods ([#​29253](https://github.com/astral-sh/ruff/pull/29253)).
Return type inference is currently disabled by default. Enable it with the [`analysis.return-type-inference`](https://docs.astral.sh/ty/reference/configuration/#return-type-inference) setting in `pyproject.toml`:
```toml
[tool.ty.analysis]
return-type-inference = "always"
```
Or in `ty.toml`:
```toml
[analysis]
return-type-inference = "always"
```
Please share your feedback, especially any problems you encounter, in [the return type inference feedback issue](https://github.com/astral-sh/ty/issues/4739).
- Sync vendored typeshed stubs ([#​29402](https://github.com/astral-sh/ruff/pull/29402)). [Typeshed diff](https://github.com/python/typeshed/compare/b932d8ce0f893d7d9ef167f0379dcaf9f48bf70b...86d68f86591c4bf97723350505d2cd28123ab3b6)
##### Bug fixes
- Avoid a panic when negating dynamic type aliases ([#​29427](https://github.com/astral-sh/ruff/pull/29427))
- Widen tuple literal lengths when other collection elements contain nested tuple types ([#​29147](https://github.com/astral-sh/ruff/pull/29147))
- Report invalid `Generic` and `Protocol` arguments containing nested variadic type variables ([#​29146](https://github.com/astral-sh/ruff/pull/29146))
##### Performance
- Speed up generic class-pattern narrowing by skipping impossible intersection comparisons ([#​29240](https://github.com/astral-sh/ruff/pull/29240))
##### Contributors
- [@​carljm](https://github.com/carljm)
- [@​charliermarsh](https://github.com/charliermarsh)
- [@​sharkdp](https://github.com/sharkdp)
</details>
---
### Configuration
📅 **Schedule**: (in timezone Europe/Warsaw)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNDUuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE0NS4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbImRlcHMtY29kZSIsInJlbm92YXRlIl19-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
0.0.88→0.0.89Release Notes
astral-sh/ty (ty)
v0.0.89Compare Source
Released on 2026-10-16.
Core type checking
Added support for return type inference for unannotated functions and methods (#29253).
Return type inference is currently disabled by default. Enable it with the
analysis.return-type-inferencesetting inpyproject.toml:Or in
ty.toml:Please share your feedback, especially any problems you encounter, in the return type inference feedback issue.
Sync vendored typeshed stubs (#29402). Typeshed diff
Bug fixes
GenericandProtocolarguments containing nested variadic type variables (#29146)Performance
Contributors
Configuration
📅 Schedule: (in timezone Europe/Warsaw)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.