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

urwid / urwid / 37790924734
89%

Build:
DEFAULT BRANCH: master
Ran 08 Oct 2026 02:16PM 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

08 Oct 2026 02:15PM UTC coverage: 88.861% (+0.5%) from 88.335%
37790924734

push

github

web-flow
Allow display attributes to inherit colors and settings (#1409)

A foreground or background of `'inherit'` takes the color from the
enclosing attribute, so a container sets a background its children keep
without a palette entry per fg x bg combination.

Fixes #329

- AttrSpec and palette entries accept `'inherit'`; `'no-bold'` and the like
  turn a setting off over the enclosing attribute.
- Nested markup and AttrMap record the enclosing attributes as a
  LayeredAttr; AttrMap can also map a whole LayeredAttr.
- BaseScreen.resolve_attr() resolves any run attribute; all bundled
  screens use it, and the raw and web screens redraw only the rows a
  palette change gives other colors.
- ANSIText leaves colors it does not set to the enclosing attribute and
  keeps SGR resets as 'no-' settings; SGR 3/23 and 9/29 (italics,
  strikethrough) are parsed for ANSIText and Terminal.
- AttrSpec.copy_modified() can add a color to a spec without one.
- examples/input_test.py uses a dark Monokai palette with inherited
  backgrounds.

Breaking: canvas content and Text.get_text() carry LayeredAttr for
nested attributes.
Custom screens have to call resolve_attr() instead of reading
the palette.
An attribute an AttrMap maps to None shows the map's None attribute.

4721 of 5496 branches covered (85.9%)

Branch coverage included in aggregate %.

193 of 200 new or added lines in 8 files covered. (96.5%)

4 existing lines in 3 files now uncovered.

11880 of 13186 relevant lines covered (90.1%)

10.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
99.4
-0.33% urwid/canvas.py
3
85.89
2.72% urwid/display/common.py
1
77.51
0.72% urwid/display/_raw_display_base.py

Coverage Regressions

Lines Coverage ∆ File
2
77.51
0.72% urwid/display/_raw_display_base.py
1
85.89
2.72% urwid/display/common.py
1
64.47
1.21% urwid/display/web.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.13t-ubuntu-latest - 37790924734.1 08 Oct 2026 02:19PM UTC 68
86.82
GitHub Action Run
2 run-3.11-ubuntu-latest - 37790924734.2 08 Oct 2026 02:16PM UTC 68
87.62
GitHub Action Run
3 run-3.14-ubuntu-latest - 37790924734.3 08 Oct 2026 02:16PM UTC 68
87.63
GitHub Action Run
4 run-3.14t-ubuntu-latest - 37790924734.4 08 Oct 2026 02:16PM UTC 68
86.82
GitHub Action Run
5 run-3.14-windows-latest - 37790924734.5 08 Oct 2026 02:17PM UTC 68
77.34
GitHub Action Run
6 run-pypy3.11-ubuntu-latest - 37790924734.6 08 Oct 2026 02:19PM UTC 68
86.25
GitHub Action Run
7 run-3.13-ubuntu-latest - 37790924734.7 08 Oct 2026 02:16PM UTC 68
87.62
GitHub Action Run
8 run-3.12-ubuntu-latest - 37790924734.8 08 Oct 2026 02:16PM UTC 68
87.62
GitHub Action Run
9 run-3.12-windows-latest - 37790924734.9 08 Oct 2026 02:17PM UTC 68
77.34
GitHub Action Run
10 run-3.13-windows-latest - 37790924734.10 08 Oct 2026 02:17PM UTC 68
77.34
GitHub Action Run
11 run-pypy3.11-windows-latest - 37790924734.11 08 Oct 2026 02:20PM UTC 68
76.83
GitHub Action Run
12 run-3.11-windows-latest - 37790924734.12 08 Oct 2026 02:17PM UTC 68
77.34
GitHub Action Run
13 run-3.14t-windows-latest - 37790924734.13 08 Oct 2026 02:18PM UTC 68
76.97
GitHub Action Run
Source Files on build 37790924734
  • Tree
  • List 68
  • Changed 14
  • Source Changed 13
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37790924734
  • 10a7f457 on github
  • Prev Build on master (#37464375464)
  • Next Build on master (#37820455958)
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