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

hgrecco / pint / 1303
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 05 Dec 2019 01:17AM UTC
Jobs 13
Files 192
Run time 5min
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

pending completion
1303

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>

35107 of 41089 relevant lines covered (85.44%)

11.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1303.1 (PKGS="python=3.6") 05 Dec 2019 01:18AM UTC 0
77.87
Travis Job 1303.1
2 1303.2 (PKGS="python=3.7") 05 Dec 2019 01:17AM UTC 0
77.87
Travis Job 1303.2
3 1303.3 (PKGS="python=3.8") 05 Dec 2019 01:17AM UTC 0
78.23
Travis Job 1303.3
4 1303.4 (PKGS="python=3.6 uncertainties=3.0") 05 Dec 2019 01:18AM UTC 0
87.85
Travis Job 1303.4
5 1303.5 (PKGS="python=3.7 uncertainties=3.0") 05 Dec 2019 01:18AM UTC 0
87.77
Travis Job 1303.5
6 1303.6 (PKGS="python=3.6 numpy=1.14") 05 Dec 2019 01:19AM UTC 0
86.01
Travis Job 1303.6
7 1303.7 (PKGS="python=3.7 numpy=1.14") 05 Dec 2019 01:20AM UTC 0
86.01
Travis Job 1303.7
8 1303.8 (PKGS="python=3.8 numpy=1.17") 05 Dec 2019 01:20AM UTC 0
86.22
Travis Job 1303.8
9 1303.9 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 05 Dec 2019 01:20AM UTC 0
87.85
Travis Job 1303.9
10 1303.10 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 05 Dec 2019 01:20AM UTC 0
87.77
Travis Job 1303.10
11 1303.11 (PKGS="python=3.6 numpy uncertainties") 05 Dec 2019 01:22AM UTC 0
87.77
Travis Job 1303.11
12 1303.12 (PKGS="python=3.7 numpy uncertainties") 05 Dec 2019 01:22AM UTC 0
87.85
Travis Job 1303.12
13 1303.13 (PKGS="python=3.8 numpy uncertainties") 05 Dec 2019 01:22AM UTC 0
88.03
Travis Job 1303.13
Source Files on build 1303
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1303
  • 616ea8c3 on github
  • Prev Build on staging (#1301)
  • Next Build on staging (#1310)
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