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

hgrecco / pint / 1303 / 3
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 05 Dec 2019 01:17AM UTC
Files 16
Run time 1s
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 Dec 2019 01:15AM UTC coverage: 78.23% (+0.1%) from 78.112%
PKGS="python=3.8"

push

travis-ci

web-flow
Merge #911

911: Implement registry-based string preprocessing as list of callables r=hgrecco a=jthielen

As suggested in #429, this implements simple registry-based unit/expression string preprocessing through a list of callables.

There are a couple questions I was wondering about:
- Is the added argument to the docstring sufficient documentation, or would additional documentation (such as an example with percent as in #429) be useful?
- Right now, the unit string preprocessing occurs in `parse_units`, rather than `_parse_units`, which avoids the cache. For performance reasons, would it be worth the extra complexity of cache invalidation to have this moved inside `_parse_units` after the cache check?

Closes #429
Closes #851

Co-authored-by: Jon Thielen <github@jont.cc>

2731 of 3491 relevant lines covered (78.23%)

0.78 hits per line

Source Files on job 1303.3 (PKGS="python=3.8")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1200
  • Travis Job 1303.3
  • 616ea8c3 on github
  • Prev Job for PKGS="python=3.8" on staging (#1301.3)
  • Next Job for PKGS="python=3.8" on staging (#1310.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc