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

hgrecco / pint / 1304
91%

Build:
DEFAULT BRANCH: master
Ran 05 Dec 2019 01:24AM 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
1304

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 1304.1 (PKGS="python=3.6") 05 Dec 2019 01:25AM UTC 0
77.87
Travis Job 1304.1
2 1304.2 (PKGS="python=3.7") 05 Dec 2019 01:24AM UTC 0
77.87
Travis Job 1304.2
3 1304.3 (PKGS="python=3.8") 05 Dec 2019 01:25AM UTC 0
78.14
Travis Job 1304.3
4 1304.4 (PKGS="python=3.6 uncertainties=3.0") 05 Dec 2019 01:25AM UTC 0
87.85
Travis Job 1304.4
5 1304.5 (PKGS="python=3.7 uncertainties=3.0") 05 Dec 2019 01:25AM UTC 0
87.85
Travis Job 1304.5
6 1304.6 (PKGS="python=3.6 numpy=1.14") 05 Dec 2019 01:27AM UTC 0
86.01
Travis Job 1304.6
7 1304.7 (PKGS="python=3.7 numpy=1.14") 05 Dec 2019 01:27AM UTC 0
86.01
Travis Job 1304.7
8 1304.8 (PKGS="python=3.8 numpy=1.17") 05 Dec 2019 01:27AM UTC 0
86.22
Travis Job 1304.8
9 1304.9 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0") 05 Dec 2019 01:28AM UTC 0
87.85
Travis Job 1304.9
10 1304.10 (PKGS="python=3.7 numpy=1.14 uncertainties=3.0") 05 Dec 2019 01:28AM UTC 0
87.77
Travis Job 1304.10
11 1304.11 (PKGS="python=3.6 numpy uncertainties") 05 Dec 2019 01:29AM UTC 0
87.77
Travis Job 1304.11
12 1304.12 (PKGS="python=3.7 numpy uncertainties") 05 Dec 2019 01:29AM UTC 0
87.85
Travis Job 1304.12
13 1304.13 (PKGS="python=3.8 numpy uncertainties") 05 Dec 2019 01:30AM UTC 0
88.03
Travis Job 1304.13
Source Files on build 1304
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1304
  • 616ea8c3 on github
  • Prev Build on master (#1302)
  • Next Build on master (#1311)
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