Skip to content

Fix 250 - #252

Merged
oberstet merged 2 commits into
crossbario:masterfrom
oberstet:fix_250
Nov 10, 2026
Merged

oberstet merged 2 commits into
crossbario:masterfrom
oberstet:fix_250

Conversation

@oberstet

Copy link
Copy Markdown
Contributor

fixes #250

…es a renamed rule after the errors

ty 0.0.100 (2026-11-09) failed `just check-typing` at master: unresolved-attribute -> missing-attribute
renamed, so its --ignore silenced nothing, and new rules reported on
code the old ones covered.

- Renamed in the ignore list: unresolved-attribute -> missing-attribute.
- New ignores: missing-union-attribute, until their sites are fixed (crossbario#251).
- The recipe prints ty's version, tees its output, and after it repeats
  any unknown-rule, renamed-rule or renamed-rule-in-ignore-comment
  warning and exits 1, so the next rename is one named line, not a wall
  of errors. Same change as crossbar#2392 and autobahn-python#2051.

Tested with ty 0.0.100: check-typing passes; with unresolved-attribute
put back the recipe fails and names it; with missing-union-attribute's
ignore removed it fails on those errors (exit code kept).

Note: This work was completed with AI assistance (Claude Code).
@oberstet
oberstet merged commit 38f2c0b into crossbario:master Nov 10, 2026
5 checks passed
@oberstet
oberstet deleted the fix_250 branch November 10, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check-typing: follow ty 0.0.100's rule names, and ignore its new missing-union-attribute rule for now

1 participant