• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

penguinolog / urwid / 37910573657
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: typing-delegate-mixin
DEFAULT BRANCH: master
Ran 09 Oct 2026 09:20AM UTC
Jobs 13
Files 68
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Oct 2026 08:51AM UTC coverage: 89.024%. Remained the same
37910573657

push

github

penguinolog
typing: precise checker base for delegate_to_widget_mixin() users

Type checkers saw an Any base for WidgetWrap, WidgetPlaceholder, AttrMap,
PopUpLauncher, LineBox and all their subclasses, which hid real errors and
made them assignable to any type. Checkers now see a declared base; the
runtime factory and the generated classes are unchanged.

- Two checker-only classes in widget.py declare the forwarded API; each user
  binds them under TYPE_CHECKING and the factory result at runtime.
- Drop the misc and safe-super ignores and the casts that only existed for
  the Any base; narrowed size overrides get the usual override ignore.
- Button and CheckBox mouse_event name their coordinates col/row, as Widget
  does, so they match the flow widget protocol in Pyrefly.
- PopUpLauncher accepts any widget; TreeWidget icons are typed as Widget.
- Fix the example type errors the Any base hid.
- Runtime tests pin the delegation behaviour; tests/type_checks pins the
  checker view, including the accepted breaks: render() returns Canvas,
  narrowed size overrides report, and no assignment to unrelated types.

| what | from | to |
| --- | --- | --- |
| tox mypy | mypy urwid examples | mypy urwid examples tests/type_checks |
| CI mypy (pythonpackage, isolated_mypy) | mypy urwid | mypy urwid examples tests/type_checks |
| pyrefly project-includes | examples, urwid | examples, tests/type_checks, urwid |

4725 of 5498 branches covered (85.94%)

Branch coverage included in aggregate %.

25 of 25 new or added lines in 8 files covered. (100.0%)

11935 of 13216 relevant lines covered (90.31%)

10.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-pypy3.11-ubuntu-latest - 37910573657.1 09 Oct 2026 09:23AM UTC 68
86.45
GitHub Action Run
2 run-3.13t-ubuntu-latest - 37910573657.2 09 Oct 2026 09:24AM UTC 68
86.98
GitHub Action Run
3 run-3.14t-windows-latest - 37910573657.3 09 Oct 2026 09:23AM UTC 68
77.17
GitHub Action Run
4 run-3.12-ubuntu-latest - 37910573657.4 09 Oct 2026 09:21AM UTC 68
87.79
GitHub Action Run
5 run-3.12-windows-latest - 37910573657.5 09 Oct 2026 09:22AM UTC 68
77.54
GitHub Action Run
6 run-pypy3.11-windows-latest - 37910573657.6 09 Oct 2026 09:25AM UTC 68
77.01
GitHub Action Run
7 run-3.14-ubuntu-latest - 37910573657.7 09 Oct 2026 09:20AM UTC 68
87.8
GitHub Action Run
8 run-3.11-windows-latest - 37910573657.8 09 Oct 2026 09:22AM UTC 68
77.54
GitHub Action Run
9 run-3.14-windows-latest - 37910573657.9 09 Oct 2026 09:22AM UTC 68
77.54
GitHub Action Run
10 run-3.13-windows-latest - 37910573657.10 09 Oct 2026 09:22AM UTC 68
77.53
GitHub Action Run
11 run-3.11-ubuntu-latest - 37910573657.11 09 Oct 2026 09:21AM UTC 68
87.79
GitHub Action Run
12 run-3.13-ubuntu-latest - 37910573657.12 09 Oct 2026 09:21AM UTC 68
87.79
GitHub Action Run
13 run-3.14t-ubuntu-latest - 37910573657.13 09 Oct 2026 09:20AM UTC 68
86.99
GitHub Action Run
Source Files on build 37910573657
  • Tree
  • List 68
  • Changed 13
  • Source Changed 10
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37910573657
  • 21085e4e on github
  • Prev Build on master (#37904525591)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc