Skip to content

Commit 408d96b

Browse files
⬆️🐍 Update dependency ty to v0.0.29 (#984)
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.26` → `==0.0.29` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/ty/0.0.29?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ty/0.0.26/0.0.29?slim=true) | --- ### Release Notes <details> <summary>astral-sh/ty (ty)</summary> ### [`v0.0.29`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0029) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.28...0.0.29) Released on 2026-04-05. ##### Bug fixes - Avoid special-casing for `dataclasses.field` if it's not in `field_specifiers` ([#&#8203;24397](https://redirect.github.com/astral-sh/ruff/pull/24397)) - Reject unsupported `environment.python-version` values in configuration files ([#&#8203;24402](https://redirect.github.com/astral-sh/ruff/pull/24402)) - Respect supported lower bounds from `requires-python` ([#&#8203;24401](https://redirect.github.com/astral-sh/ruff/pull/24401)) ##### Core type checking - Add support for `types.new_class` ([#&#8203;23144](https://redirect.github.com/astral-sh/ruff/pull/23144)) - Fix PEP 695 type aliases in `with` statement ([#&#8203;24395](https://redirect.github.com/astral-sh/ruff/pull/24395)) - Respect `__new__` and metaclass `__call__` return types ([#&#8203;24357](https://redirect.github.com/astral-sh/ruff/pull/24357)) - Treat enum attributes with type annotations as members ([#&#8203;23776](https://redirect.github.com/astral-sh/ruff/pull/23776)) ##### Contributors - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;carljm](https://redirect.github.com/carljm) ### [`v0.0.28`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0028) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.27...0.0.28) Released on 2026-04-02. ##### Bug fixes - Mark loop header assignments as used to avoid false positives in "unused variable" diagnostics ([#&#8203;24336](https://redirect.github.com/astral-sh/ruff/pull/24336)) ##### LSP server - Show constructor signature of classes when hovering over them ([#&#8203;24257](https://redirect.github.com/astral-sh/ruff/pull/24257)) ##### Core type checking - Avoid emitting cascading diagnostics when parsing invalid type expressions ([#&#8203;24326](https://redirect.github.com/astral-sh/ruff/pull/24326)) - Handle most "deep" mutual TypeVar constraints ([#&#8203;24079](https://redirect.github.com/astral-sh/ruff/pull/24079)) - Improve consistency and quality of diagnostics relating to invalid type forms ([#&#8203;24325](https://redirect.github.com/astral-sh/ruff/pull/24325)) - Improve robustness of various type-qualifier-related checks ([#&#8203;24251](https://redirect.github.com/astral-sh/ruff/pull/24251)) - Infer the `extra_items` keyword argument to class-based TypedDicts as an annotation expression ([#&#8203;24362](https://redirect.github.com/astral-sh/ruff/pull/24362)) - Use bidirectional inference to fix false positives on operations such as `x: list[int | None] = [None] * 2` ([#&#8203;24197](https://redirect.github.com/astral-sh/ruff/pull/24197)) - Sync vendored typeshed stubs ([#&#8203;24340](https://redirect.github.com/astral-sh/ruff/pull/24340)). [Typeshed diff](https://redirect.github.com/python/typeshed/compare/f8f0794d0fe249c06dc9f31a004d85be6cca6ced...c5e47faeda2cf9d233f91bc1dc95814b0cc7ccba) - Tighten up validation of subscripts and attributes in type expressions ([#&#8203;24329](https://redirect.github.com/astral-sh/ruff/pull/24329)) - Use `infer_type_expression` for parsing parameter annotations and return-type annotations ([#&#8203;24353](https://redirect.github.com/astral-sh/ruff/pull/24353)) - Use `infer_type_expression` for validating PEP-613 type aliases ([#&#8203;24370](https://redirect.github.com/astral-sh/ruff/pull/24370)) - Validate TypedDict fields when subclassing ([#&#8203;24338](https://redirect.github.com/astral-sh/ruff/pull/24338)) - Validate type qualifiers in functional TypedDict fields and the `extra_items` keyword to functional TypedDicts ([#&#8203;24360](https://redirect.github.com/astral-sh/ruff/pull/24360)) - Improve diagnostics for invalid functional `TypedDict`s ([#&#8203;24345](https://redirect.github.com/astral-sh/ruff/pull/24345)) ##### Contributors - [@&#8203;zsol](https://redirect.github.com/zsol) - [@&#8203;dcreager](https://redirect.github.com/dcreager) - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;oconnor663](https://redirect.github.com/oconnor663) - [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood) - [@&#8203;Glyphack](https://redirect.github.com/Glyphack) ### [`v0.0.27`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#0027) [Compare Source](https://redirect.github.com/astral-sh/ty/compare/0.0.26...0.0.27) Released on 2026-03-31. ##### Bug fixes - Fix panic on debug builds when attempting to provide autocomplete suggestions for `list[int]<CURSOR>()` ([#&#8203;24167](https://redirect.github.com/astral-sh/ruff/pull/24167)) - Fix instance-attribute lookup in methods of protocol classes ([#&#8203;24213](https://redirect.github.com/astral-sh/ruff/pull/24213)) - Fix nested global and nonlocal lookups through forwarding scopes ([#&#8203;24279](https://redirect.github.com/astral-sh/ruff/pull/24279)) - Fix panic on `list[Annotated[()]]` ([#&#8203;24303](https://redirect.github.com/astral-sh/ruff/pull/24303)) - Fix stack overflow on `type A = TypeIs[Callable[[], A]]` ([#&#8203;24245](https://redirect.github.com/astral-sh/ruff/pull/24245)) - Use `_cls` as the name of the first argument for synthesized `collections.namedtuple` constructor methods ([#&#8203;24333](https://redirect.github.com/astral-sh/ruff/pull/24333)) ##### LSP server - Fix semantic token classification for properties accessed on instances ([#&#8203;24065](https://redirect.github.com/astral-sh/ruff/pull/24065)) - Grey out unused bindings in the editor ([#&#8203;23305](https://redirect.github.com/astral-sh/ruff/pull/23305)) ##### Core type checking - Add bidirectional type context for TypedDict `get()` defaults ([#&#8203;24231](https://redirect.github.com/astral-sh/ruff/pull/24231)) - Add bidirectional type context for TypedDict `pop()` defaults ([#&#8203;24229](https://redirect.github.com/astral-sh/ruff/pull/24229)) - Add support for functional TypedDict ([#&#8203;24174](https://redirect.github.com/astral-sh/ruff/pull/24174), [#&#8203;24331](https://redirect.github.com/astral-sh/ruff/pull/24331), [#&#8203;24295](https://redirect.github.com/astral-sh/ruff/pull/24295)) - Ban type qualifiers in PEP-695 type aliases ([#&#8203;24242](https://redirect.github.com/astral-sh/ruff/pull/24242)) - Enforce `Final` attribute assignment rules for annotated and augmented writes ([#&#8203;23880](https://redirect.github.com/astral-sh/ruff/pull/23880)) - Improve support for `Callable` type context ([#&#8203;23888](https://redirect.github.com/astral-sh/ruff/pull/23888)) - Infer lambda expressions with `Callable` type context ([#&#8203;22633](https://redirect.github.com/astral-sh/ruff/pull/22633)) - Don't incorrectly infer the type of a method as being a singleton type when it's accessed off an instance ([#&#8203;24039](https://redirect.github.com/astral-sh/ruff/pull/24039)) - Propagate type context through `await` expressions ([#&#8203;24256](https://redirect.github.com/astral-sh/ruff/pull/24256)) - Resolve union-likes in emitting union attribute errors ([#&#8203;24263](https://redirect.github.com/astral-sh/ruff/pull/24263)) - Show the user where the variable was declared as `Final` when emitting a diagnostic about a `Final` variable being reassigned ([#&#8203;24194](https://redirect.github.com/astral-sh/ruff/pull/24194)) ##### Contributors - [@&#8203;carljm](https://redirect.github.com/carljm) - [@&#8203;mvanhorn](https://redirect.github.com/mvanhorn) - [@&#8203;oconnor663](https://redirect.github.com/oconnor663) - [@&#8203;ibraheemdev](https://redirect.github.com/ibraheemdev) - [@&#8203;zanieb](https://redirect.github.com/zanieb) - [@&#8203;denyszhak](https://redirect.github.com/denyszhak) - [@&#8203;Glyphack](https://redirect.github.com/Glyphack) - [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh) - [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "every weekend" - 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/qmap). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjExMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJweXRob24iXX0=--> --------- 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 f4ce106 commit 408d96b

3 files changed

Lines changed: 23 additions & 23 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,5 +423,5 @@ dev = [
423423
{include-group = "build"},
424424
{include-group = "test"},
425425
"nox>=2025.11.12",
426-
"ty==0.0.26",
426+
"ty==0.0.29",
427427
]

python/mqt/qmap/visualization/visualize_search_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ def _visualize_search_graph_check_parameters(
13771377
msg = "search_node_colorbar_title must be None, a string, or list of strings and None."
13781378
raise TypeError(msg)
13791379
elif isinstance(search_node_colorbar_title, str):
1380-
search_node_colorbar_title_out = [search_node_colorbar_title] * number_of_node_traces # ty: ignore[invalid-assignment]
1380+
search_node_colorbar_title_out = [search_node_colorbar_title] * number_of_node_traces
13811381
else:
13821382
msg = "search_node_colorbar_title must be None, a string, or list of strings and None."
13831383
raise TypeError(msg)

uv.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)