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

penguinolog / urwid / 37595992062
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: typing-delegate-mixin
DEFAULT BRANCH: master
Ran 07 Oct 2026 08:47AM 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

07 Oct 2026 08:45AM UTC coverage: 88.861%. First build
37595992062

push

github

penguinolog
Allow display attributes to inherit colors and settings

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%)

11880 of 13186 relevant lines covered (90.1%)

10.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
99.4
urwid/canvas.py
3
85.89
urwid/display/common.py
1
77.51
urwid/display/_raw_display_base.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.14-ubuntu-latest - 37595992062.1 07 Oct 2026 08:47AM UTC 68
87.63
GitHub Action Run
2 run-3.12-windows-latest - 37595992062.2 07 Oct 2026 08:48AM UTC 68
77.34
GitHub Action Run
3 run-pypy3.11-ubuntu-latest - 37595992062.3 07 Oct 2026 08:49AM UTC 68
86.27
GitHub Action Run
4 run-3.11-windows-latest - 37595992062.4 07 Oct 2026 08:48AM UTC 68
77.34
GitHub Action Run
5 run-pypy3.11-windows-latest - 37595992062.5 07 Oct 2026 08:52AM UTC 68
76.83
GitHub Action Run
6 run-3.13t-ubuntu-latest - 37595992062.6 07 Oct 2026 08:50AM UTC 68
86.82
GitHub Action Run
7 run-3.14t-windows-latest - 37595992062.7 07 Oct 2026 08:49AM UTC 68
76.97
GitHub Action Run
8 run-3.13-ubuntu-latest - 37595992062.8 07 Oct 2026 08:47AM UTC 68
87.62
GitHub Action Run
9 run-3.14t-ubuntu-latest - 37595992062.9 07 Oct 2026 08:47AM UTC 68
86.82
GitHub Action Run
10 run-3.13-windows-latest - 37595992062.10 07 Oct 2026 08:48AM UTC 68
77.34
GitHub Action Run
11 run-3.12-ubuntu-latest - 37595992062.11 07 Oct 2026 08:47AM UTC 68
87.62
GitHub Action Run
12 run-3.14-windows-latest - 37595992062.12 07 Oct 2026 08:48AM UTC 68
77.34
GitHub Action Run
13 run-3.11-ubuntu-latest - 37595992062.13 07 Oct 2026 08:47AM UTC 68
87.62
GitHub Action Run
Source Files on build 37595992062
  • Tree
  • List 68
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37595992062
  • 17a28957 on github
  • 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