Commit 8bd80b4
⬆️🐍 Update dependency ty to v0.0.21 (#812)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [ty](https://redirect.github.com/astral-sh/ty)
([changelog](https://redirect.github.com/astral-sh/ty/blob/main/CHANGELOG.md))
| `==0.0.20` → `==0.0.21` |

|

|
---
### Release Notes
<details>
<summary>astral-sh/ty (ty)</summary>
###
[`v0.0.21`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0021)
[Compare
Source](https://redirect.github.com/astral-sh/ty/compare/0.0.20...0.0.21)
Released on 2026-03-05.
##### Bug fixes
- Avoid stack overflow with recursive typevar
([#​23652](https://redirect.github.com/astral-sh/ruff/pull/23652))
- Fix panic on incomplete except handlers
([#​23708](https://redirect.github.com/astral-sh/ruff/pull/23708))
- Allow unions of different-length iterables in `*args` unpacking into
optional positional parameters
([#​23124](https://redirect.github.com/astral-sh/ruff/pull/23124))
- Don't replace `Any` attributes with `object` after `isinstance`
narrowing
([#​23725](https://redirect.github.com/astral-sh/ruff/pull/23725))
##### LSP server
- Exclude decorators from class/def code folding
([#​23543](https://redirect.github.com/astral-sh/ruff/pull/23543))
- Fix handling of non-Python text documents
([#​23704](https://redirect.github.com/astral-sh/ruff/pull/23704))
##### Configuration
- Add `all` selector to `ty.json` schema
([#​23721](https://redirect.github.com/astral-sh/ruff/pull/23721))
- Fix precedence of `all` selector in TOML configurations
([#​23723](https://redirect.github.com/astral-sh/ruff/pull/23723))
- Make `all` selector case-sensitive
([#​23713](https://redirect.github.com/astral-sh/ruff/pull/23713))
##### Type checking
- Add `invalid-enum-member-annotation` lint rule
([#​23648](https://redirect.github.com/astral-sh/ruff/pull/23648))
- Add a diagnostic for an unused awaitable
([#​23650](https://redirect.github.com/astral-sh/ruff/pull/23650))
- Add a diagnostic if a `TypeVar` is used to specialize a `ParamSpec`,
or vice versa
([#​23738](https://redirect.github.com/astral-sh/ruff/pull/23738))
- Add more type-variable default validation
([#​23639](https://redirect.github.com/astral-sh/ruff/pull/23639))
- Add unbound type variable detection in annotations
([#​23641](https://redirect.github.com/astral-sh/ruff/pull/23641))
- Apply narrowing to walrus values
([#​23687](https://redirect.github.com/astral-sh/ruff/pull/23687))
- Do not union `Unknown` into unannotated container types
([#​23718](https://redirect.github.com/astral-sh/ruff/pull/23718))
- Avoid inferring generics with negative intersections
([#​23750](https://redirect.github.com/astral-sh/ruff/pull/23750))
- More precise types for `name` and `value` of an enum
([#​23683](https://redirect.github.com/astral-sh/ruff/pull/23683))
- Better preserve user-provided union order in inferred specializations
([#​23715](https://redirect.github.com/astral-sh/ruff/pull/23715))
- Support narrowing in ternary expressions
([#​23726](https://redirect.github.com/astral-sh/ruff/pull/23726))
- Validate bare ParamSpec usage in type annotations, and support
stringified ParamSpecs as the first argument to `Callable`
([#​23625](https://redirect.github.com/astral-sh/ruff/pull/23625))
##### Contributors
- [@​charliermarsh](https://redirect.github.com/charliermarsh)
- [@​zsol](https://redirect.github.com/zsol)
- [@​Gankra](https://redirect.github.com/Gankra)
- [@​MichaReiser](https://redirect.github.com/MichaReiser)
- [@​AlexWaygood](https://redirect.github.com/AlexWaygood)
- [@​rizzip](https://redirect.github.com/rizzip)
- [@​iksuddle](https://redirect.github.com/iksuddle)
- [@​dcreager](https://redirect.github.com/dcreager)
- [@​BurntSushi](https://redirect.github.com/BurntSushi)
- [@​carljm](https://redirect.github.com/carljm)
- [@​oconnor663](https://redirect.github.com/oconnor663)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At
any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/munich-quantum-toolkit/ddsim).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicHl0aG9uIl19-->
---------
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com>1 parent 930637b commit 8bd80b4
3 files changed
Lines changed: 28 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments