Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1464 +/- ##
=======================================
Coverage 99.89% 99.89%
=======================================
Files 6 6
Lines 997 997
Branches 135 135
=======================================
Hits 996 996
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
41dad46 to
b792d97
Compare
|
@copilot Can you check the errors in the actions. Create a branch with the fixes for ty. |
…tityInfo ty v0.0.33 improved pydantic model analysis and now correctly infers __init__ signatures. With alias=, the __init__ only accepts the alias parameter name (e.g. dataType), even when populate_by_name=True is set. Switching to validation_alias= keeps dataType accepted for JSON parsing while exposing the Python field name data_type as the __init__ parameter, which satisfies both ty's type checking and the existing tests. Agent-Logs-Url: https://github.com/liudger/python-bsblan/sessions/42f382e1-fe63-4644-8d29-ae0689a1c1b0 Co-authored-by: liudger <4112111+liudger@users.noreply.github.com>
Fixed in commit a91b291.
Changed Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|



This PR contains the following updates:
==0.0.32→==0.0.33Release Notes
astral-sh/ty (ty)
v0.0.33Compare Source
Released on 2026-04-28.
Breaking changes
ty now prefers the declared type of an annotated assignment in more situations (#24802).
Consider this example:
ty previously favored the inferred type of the right hand side expression when
thresholdandresultwere used. This is useful forthreshold, as it allows something likethreshold += 1to work without an error: we know thatthresholdcould later becomeNone, but right now, we see that it is anint. However, forresult, the inferred type isUnknown. This is not a useful type and it can lead to false negatives. Starting with this release, ty will therefore preferthe declared type if the inferred and declared types are mutually assignable. In the above example,
thresholdwill still be inferred asint(or ratherLiteral[1]), butresultwill now be inferred asstr. If you previously addedcasts to work around this behavior, you should be able to remove them after upgrading.Bug fixes
LSP server
Core type checking
finallyblocks where alltry/exceptblocks are terminal (#24882)ClassVarvs instance-attribute overrides (#24767)Unpack[...](#24868)Callabletype context (#24317)**unpacking ofTypedDictin dict-literal assignments (#24703)Unpack[TypedDict]in**kwargssignatures (#24653)[*xs]as an irrefutable pattern when matching onSequence(#24787)Diagnostics
invalid-return-typediagnostics,invalid-yielddiagnostics, attribute assignment diagnostics (#24770, #24771)dictassignment error diagnostics (#24768)invalid-keydiagnostics for unions of TypedDicts (#24693)invalid-type-formdiagnostics for PEP-613 type alias values (#24760)Performance
Other changes
Contributors
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.