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

penguinolog / urwid / 42774293322
94%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2026 07:19AM UTC
Jobs 17
Files 81
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 Nov 2026 05:48PM UTC coverage: 93.547% (-0.008%) from 93.555%
42774293322

push

github

web-flow
Add ListBox.set_scrollpos() and a wheel mode that scrolls the view (#1616)

* Add ListBox.set_scrollpos()

Scroll a ListBox view to an exact row, as Scrollable.set_scrollpos does.
It is the base for a ListBox wheel mode that scrolls the view.

- The focus stays while one of its rows is in view; otherwise the first or
  last widget in the view takes it.
- A pending set_focus() or set_focus_valign() placement is completed first,
  so the next render keeps the requested row.
- ScrollBar keeps scrolling a plain ListBox by its focus: it skips
  ListBox.set_scrollpos, and still calls a subclass's own set_scrollpos.

* Add a ListBox wheel mode that scrolls the view

ListBox, TreeListBox and Table take wheel="focus" | "view".
The default "focus" keeps moving the focus one row per notch.

- "view" scrolls the view one row per notch; the focus stays while one
  of its rows is in view, otherwise it moves as set_scrollpos moves it.
- A notch measures only the rows around the view, so its cost does not
  grow with the body, and unsized or wrap-around walkers work too.
- When the view cannot move one row, as when the cursor of the focus
  widget keeps it in place, the notch does what "focus" mode does.
- At either end of the list the notch is returned unhandled in both modes.

6899 of 7564 branches covered (91.21%)

Branch coverage included in aggregate %.

85 of 88 new or added lines in 3 files covered. (96.59%)

17790 of 18828 relevant lines covered (94.49%)

14.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.29
-0.38% urwid/widget/listbox.py
Jobs
ID Job ID Ran Files Coverage
1 run-pypy3.11-windows-latest - 42774293322.1 10 Nov 2026 07:26AM UTC 81
81.65
GitHub Action Run
2 run-3.14t-windows-latest - 42774293322.2 10 Nov 2026 07:23AM UTC 81
81.75
GitHub Action Run
3 run-3.13t-ubuntu-latest - 42774293322.3 10 Nov 2026 07:24AM UTC 81
91.66
GitHub Action Run
4 run-3.15t-windows-latest - 42774293322.4 10 Nov 2026 07:23AM UTC 81
81.75
GitHub Action Run
5 run-3.11-windows-latest - 42774293322.5 10 Nov 2026 07:21AM UTC 81
82.3
GitHub Action Run
6 run-3.12-windows-latest - 42774293322.6 10 Nov 2026 07:21AM UTC 81
82.26
GitHub Action Run
7 run-3.13-ubuntu-latest - 42774293322.7 10 Nov 2026 07:19AM UTC 81
92.27
GitHub Action Run
8 run-3.11-ubuntu-latest - 42774293322.8 10 Nov 2026 07:19AM UTC 81
92.3
GitHub Action Run
9 run-3.14t-ubuntu-latest - 42774293322.9 10 Nov 2026 07:20AM UTC 81
91.67
GitHub Action Run
10 run-3.14-ubuntu-latest - 42774293322.10 10 Nov 2026 07:19AM UTC 81
92.27
GitHub Action Run
11 run-3.14-windows-latest - 42774293322.11 10 Nov 2026 07:21AM UTC 81
82.27
GitHub Action Run
12 run-3.13-windows-latest - 42774293322.12 10 Nov 2026 07:21AM UTC 81
82.27
GitHub Action Run
13 run-3.12-ubuntu-latest - 42774293322.13 10 Nov 2026 07:19AM UTC 81
92.27
GitHub Action Run
14 run-3.15-ubuntu-latest - 42774293322.14 10 Nov 2026 07:19AM UTC 81
92.27
GitHub Action Run
15 run-3.15-windows-latest - 42774293322.15 10 Nov 2026 07:22AM UTC 81
81.75
GitHub Action Run
16 run-3.15t-ubuntu-latest - 42774293322.16 10 Nov 2026 07:20AM UTC 81
91.67
GitHub Action Run
17 run-pypy3.11-ubuntu-latest - 42774293322.17 10 Nov 2026 07:22AM UTC 81
91.27
GitHub Action Run
Source Files on build 42774293322
  • Tree
  • List 81
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42774293322
  • 2f2424d5 on github
  • Prev Build on master (#42647850718)
  • Next Build on master (#42787857294)
  • 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