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

petl-developers / petl / 36034197402
92%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2026 05:27PM UTC
Jobs 1
Files 129
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

24 Sep 2026 05:25PM UTC coverage: 92.175% (+0.006%) from 92.169%
36034197402

push

github

web-flow
Add callable support to setheader (#721)

## Summary

- allow `setheader()` and `Table.setheader()` to accept a callable
- apply the callable to each field in the existing header
- preserve existing iterable-header behavior, including objects that are
both iterable and callable
- document the callable form and add regression coverage
- fix the existing 1.7.26 changelog heading so warning-as-error
documentation CI passes

Closes #431

## Testing

- `.venv/bin/python -m pytest petl/test/transform/test_headers.py
petl/test/test_method_shadow.py` (61 passed)
- `.venv/bin/python -m pytest --doctest-modules
petl/transform/headers.py` (5 passed)
- `.venv/bin/python -m pytest petl` (658 passed, 18 skipped)
- `sphinx-build -W -b singlehtml -d ../build/doctrees .
../build/singlehtml` (passed)

27 of 28 new or added lines in 2 files covered. (96.43%)

14501 of 15732 relevant lines covered (92.18%)

0.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.0
-0.32% petl/test/transform/test_headers.py
Jobs
ID Job ID Ran Files Coverage
1 36034197402.1 24 Sep 2026 05:27PM UTC 129
92.18
GitHub Action Run
Source Files on build 36034197402
  • Tree
  • List 129
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1725e4a2 on github
  • Prev Build on master (#35653845729)
  • Next Build on master (#36038632482)
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