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

penguinolog / urwid / 42179752857
94%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2026 07:17AM UTC
Jobs 17
Files 78
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

05 Nov 2026 05:49PM UTC coverage: 93.121% (+0.04%) from 93.082%
42179752857

push

github

web-flow
Add FilteredListWalker: a filtered view over a list walker (#1593)

* Add FilteredListWalker: a filtered view over a list walker

A read-only list walker that shows the items of a source list walker passing a predicate.
Its positions are the source indices, so no mapping between two index spaces is needed.

- The source is a list or deque walker; any other iterable is copied into a SimpleFocusListWalker.
- predicate, set_predicate() and refilter() re-apply the filter; every source change does too.
- The focus stays on its widget while visible, and returns to it when it becomes visible again.
- A hidden focus moves to the next visible item after a source change, to the first after a predicate change.
- A rebuild walks the source once, and a predicate that raises leaves the view unchanged.
- The view holds the source connection weakly, so a dropped view is freed while the source lives.
- examples/filter_list.py narrows a list as a query is typed, keeping the cursor in the query.

* Empty a FilteredListWalker when the predicate raises on a source change

After a change to the source the previous visible positions may no longer exist there,
so keeping them let get_focus() and a ListBox read the wrong widget or raise IndexError.

- The view empties itself, emits "modified", and re-raises to the code that changed the source.
- It keeps the widget focused last, so the next change to the source or the predicate returns to it.
- Only the predicate is guarded: a listener of the view that raises leaves the rebuilt view in place.

6652 of 7338 branches covered (90.65%)

Branch coverage included in aggregate %.

97 of 97 new or added lines in 1 file covered. (100.0%)

17080 of 18147 relevant lines covered (94.12%)

14.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-pypy3.11-windows-latest - 42179752857.1 06 Nov 2026 07:26AM UTC 78
81.17
GitHub Action Run
2 run-3.14t-ubuntu-latest - 42179752857.2 06 Nov 2026 07:18AM UTC 78
91.26
GitHub Action Run
3 run-3.14t-windows-latest - 42179752857.3 06 Nov 2026 07:21AM UTC 78
81.26
GitHub Action Run
4 run-pypy3.11-ubuntu-latest - 42179752857.4 06 Nov 2026 07:22AM UTC 78
90.85
GitHub Action Run
5 run-3.15-windows-latest - 42179752857.5 06 Nov 2026 07:20AM UTC 78
81.26
GitHub Action Run
6 run-3.13-windows-latest - 42179752857.6 06 Nov 2026 07:19AM UTC 78
81.54
GitHub Action Run
7 run-3.14-ubuntu-latest - 42179752857.7 06 Nov 2026 07:17AM UTC 78
91.89
GitHub Action Run
8 run-3.12-windows-latest - 42179752857.8 06 Nov 2026 07:19AM UTC 78
81.54
GitHub Action Run
9 run-3.13t-ubuntu-latest - 42179752857.9 06 Nov 2026 07:22AM UTC 78
91.25
GitHub Action Run
10 run-3.13-ubuntu-latest - 42179752857.10 06 Nov 2026 07:17AM UTC 78
91.88
GitHub Action Run
11 run-3.15t-windows-latest - 42179752857.11 06 Nov 2026 07:21AM UTC 78
81.26
GitHub Action Run
12 run-3.15t-ubuntu-latest - 42179752857.12 06 Nov 2026 07:18AM UTC 78
91.26
GitHub Action Run
13 run-3.11-windows-latest - 42179752857.13 06 Nov 2026 07:19AM UTC 78
81.57
GitHub Action Run
14 run-3.12-ubuntu-latest - 42179752857.14 06 Nov 2026 07:17AM UTC 78
91.88
GitHub Action Run
15 run-3.15-ubuntu-latest - 42179752857.15 06 Nov 2026 07:17AM UTC 78
91.89
GitHub Action Run
16 run-3.11-ubuntu-latest - 42179752857.16 06 Nov 2026 07:17AM UTC 78
91.91
GitHub Action Run
17 run-3.14-windows-latest - 42179752857.17 06 Nov 2026 07:19AM UTC 78
81.54
GitHub Action Run
Source Files on build 42179752857
  • Tree
  • List 78
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42179752857
  • 56f8dc77 on github
  • Prev Build on master (#42061735516)
  • Next Build on master (#42221274414)
  • 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