Commit 1581ea9
committed
Fix crossbario#1892: ignore ty 0.0.53 possibly-missing-submodule + unused-type-ignore-comment
ty is run unpinned (we ride the latest release and adjust the ignore
list as it evolves). ty 0.0.53 began emitting two diagnostic classes on
existing, unchanged source that the check-typing recipe did not ignore,
so `ty check` exited 1 and Code Quality Checks went red:
- 921x possibly-missing-submodule (vendored FlatBuffers-generated code
under src/autobahn/wamp/gen/** plus a few flatbuffers.* re-export
sites in message_fbs.py / message.py / protocol.py)
- 1x unused-type-ignore-comment (src/autobahn/util.py:1062)
0 errors; all warnings. Drift, not a code regression: master was green
on 2026-06-19 with an earlier ty, and went red on a 2026-06-25 run that
pulled ty 0.0.53 (surfaced on the unrelated example-cleanup PR crossbario#1887).
Add both rules to the check-typing --ignore list. Reproduced red->green
locally with ty 0.0.53 against the cpy311 venv: 922 diagnostics/exit 1
before, "All checks passed!"/exit 0 after.
Note: This work was completed with AI assistance (Claude Code).1 parent 3b24f7a commit 1581ea9
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| 718 | + | |
| 719 | + | |
718 | 720 | | |
719 | 721 | | |
720 | 722 | | |
| |||
0 commit comments