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

hgrecco / pint / 1304 / 13
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2019 01:30AM 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: 88.026% (+0.02%) from 88.009%
PKGS="python=3.8 numpy uncertainties"

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>

3073 of 3491 relevant lines covered (88.03%)

0.88 hits per line

Source Files on job 1304.13 (PKGS="python=3.8 numpy uncertainties")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1201
  • Travis Job 1304.13
  • 616ea8c3 on github
  • Prev Job for PKGS="python=3.8 numpy uncertainties" on master (#1302.13)
  • Next Job for PKGS="python=3.8 numpy uncertainties" on master (#1311.13)
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