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

urwid / urwid / 44753961488
95%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 02:30PM UTC
Jobs 17
Files 113
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

20 Nov 2026 02:29PM UTC coverage: 94.577% (+0.007%) from 94.57%
44753961488

push

github

web-flow
Split the canvas, escape, raw display and common modules into packages (#1707)

The largest modules become packages of private modules whose __init__ only
re-exports, and protocol knowledge both terminal sides wrote twice is defined once.

- canvas.py -> urwid.canvas; the unreleased term_canvas.py moves into it as
  urwid.canvas.term, with TermCanvas built from layered private base classes.
- display/escape.py, display/_raw_display_base.py and display/common.py become
  packages; the raw Screen is split into layered private base classes.
- Every name the released modules defined stays importable from its old path.
- ESC, CSI, OSC, ST and BEL have one definition; escape gains DCS and
  ModeReportState, from which the DECRQM sets and the term canvas reports are built.
- display/_sgr.py holds the SGR flag table, the encoder parts shared by the raw
  display and the DECRQSS reply, and the SGR decoder moved from ansi_parser.
- vterm's key tables are generated from the decoder's tables, and one mouse
  modifier table and button function serve the decoder and vterm's encoder.
- AnsiParser and the term canvas share ansi_parser.ParseState, the string-state
  sets and one CSI parameter helper.
- The C0 and C1 ranges and the CAN/SUB and command-string sets are defined once.
- SolidCanvas, TextCanvas, CompositeCanvas, the term canvas layers and the raw
  Screen layers get __slots__.
- PrivateMode members are grouped by purpose and sorted.
- pylint allows explicit re-exports from a package __init__, the form mypy's
  strict mode requires for names __all__ does not list.

The classes defined in the new private modules report those modules in __module__.

8067 of 8728 branches covered (92.43%)

Branch coverage included in aggregate %.

4842 of 5017 new or added lines in 31 files covered. (96.51%)

20708 of 21697 relevant lines covered (95.44%)

15.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
37
74.9
urwid/display/common/_colors.py
24
93.29
urwid/display/escape/_trie.py
21
84.67
urwid/display/_raw_display_base/_screen.py
13
86.56
urwid/display/_raw_display_base/_input.py
13
89.8
urwid/display/common/_screen.py
11
96.07
urwid/canvas/term/_parser.py
11
95.41
urwid/canvas/term/_screen.py
9
92.31
urwid/canvas/term/_rectangles.py
9
94.57
urwid/display/_raw_display_base/_detection.py
8
96.45
urwid/display/common/_attr_spec.py
4
96.97
urwid/canvas/term/_modes.py
3
99.35
urwid/canvas/_composite.py
3
96.58
urwid/canvas/term/_editing.py
2
97.37
urwid/canvas/term/_state.py
2
96.08
urwid/display/_raw_display_base/_attributes.py
2
97.45
urwid/display/_raw_display_base/_base.py
1
95.0
urwid/canvas/term/_cells.py
1
98.17
urwid/canvas/term/_reports.py
1
99.01
urwid/display/_sgr.py
Jobs
ID Job ID Ran Files Coverage
1 run-pypy3.11-windows-latest - 44753961488.1 20 Nov 2026 02:38PM UTC 113
82.63
GitHub Action Run
2 run-3.14-windows-latest - 44753961488.2 20 Nov 2026 02:32PM UTC 113
83.67
GitHub Action Run
3 run-3.15t-windows-latest - 44753961488.3 20 Nov 2026 02:35PM UTC 113
82.71
GitHub Action Run
4 run-3.15-ubuntu-latest - 44753961488.4 20 Nov 2026 02:30PM UTC 113
93.33
GitHub Action Run
5 run-3.11-windows-latest - 44753961488.5 20 Nov 2026 02:32PM UTC 113
83.69
GitHub Action Run
6 run-3.15t-ubuntu-latest - 44753961488.6 20 Nov 2026 02:31PM UTC 113
92.75
GitHub Action Run
7 run-3.14t-ubuntu-latest - 44753961488.7 20 Nov 2026 02:31PM UTC 113
92.75
GitHub Action Run
8 run-3.12-ubuntu-latest - 44753961488.8 20 Nov 2026 02:31PM UTC 113
93.32
GitHub Action Run
9 run-3.15-windows-latest - 44753961488.9 20 Nov 2026 02:33PM UTC 113
82.71
GitHub Action Run
10 run-3.14-ubuntu-latest - 44753961488.10 20 Nov 2026 02:30PM UTC 113
93.33
GitHub Action Run
11 run-3.13-ubuntu-latest - 44753961488.11 20 Nov 2026 02:31PM UTC 113
93.32
GitHub Action Run
12 run-pypy3.11-ubuntu-latest - 44753961488.12 20 Nov 2026 02:33PM UTC 113
92.28
GitHub Action Run
13 run-3.13-windows-latest - 44753961488.13 20 Nov 2026 02:33PM UTC 113
83.66
GitHub Action Run
14 run-3.12-windows-latest - 44753961488.14 20 Nov 2026 02:33PM UTC 113
83.66
GitHub Action Run
15 run-3.13t-ubuntu-latest - 44753961488.15 20 Nov 2026 02:33PM UTC 113
92.74
GitHub Action Run
16 run-3.14t-windows-latest - 44753961488.16 20 Nov 2026 02:34PM UTC 113
82.71
GitHub Action Run
17 run-3.11-ubuntu-latest - 44753961488.17 20 Nov 2026 02:31PM UTC 113
93.35
GitHub Action Run
Source Files on build 44753961488
  • Tree
  • List 113
  • Changed 7
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44753961488
  • 1d524d8d on github
  • Prev Build on master (#44724325347)
  • Next Build on master (#44763080693)
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