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

hgrecco / pint / 913
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 06 Sep 2018 04:42PM UTC
Jobs 13
Files 16
Run time 11min
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
913

push

travis-ci

bors[bot]
Merge #684

684: Add pandas support r=hgrecco a=znicholls

This pull request adds pandas support to pint (hence is related to #645, #401 and pandas-dev/pandas#10349).

An example can be seen in `example-notebooks/basic-example.ipynb`.

It's a little bit hacksih, feedback would be greatly appreciated by me and @andrewgsavage. One obvious example is that we have to run all the interface tests with `pytest` to fit with `pandas` test suite, which introduces a dependency for the CI and currently gives us this awkward testing setup (see the alterations we had to make to `testsuite`). This also means that our code coverage tests are fiddly too.

If you'd like us to squash the commits, that can be done.

If pint has a linter, it would be good to run that over this pull request too as we're a little bit all over the place re style.

Things to discuss:

- [x]  general feedback and changes
- [x] test setup, especially need for pytest for pandas tests and hackish way to get around automatic discovery
- [x] squashing/rebasing
- [x] linting/other code style (related to #664 and #628: we're happy with whatever, I've found using an automatic linter e.g. black and/or flake8 has made things much simpler in other projects)
- [x] including notebooks in the repo (if we want to, I'm happy to put them under CI so we can make sure they run)
- [x] setting up the docs correctly

Co-authored-by: Zebedee Nicholls <zebedee.nicholls@climate-energy-college.org>
Co-authored-by: andrewgsavage <andrewgsavage@gmail.com>

2872 of 3247 relevant lines covered (88.45%)

11.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 913.1 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.14 PANDAS=1) 06 Sep 2018 04:53PM UTC 0
87.35
Travis Job 913.1
2 913.2 (UNCERTAINTIES="N" PYTHON="3.3" NUMPY_VERSION=1.9.2 PANDAS=0) 06 Sep 2018 04:42PM UTC 0
86.14
Travis Job 913.2
3 913.3 (UNCERTAINTIES="N" PYTHON="3.4" NUMPY_VERSION=1.11.2 PANDAS=0) 06 Sep 2018 04:42PM UTC 0
86.2
Travis Job 913.3
4 913.4 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=1.11.2 PANDAS=0) 06 Sep 2018 04:42PM UTC 0
86.2
Travis Job 913.4
5 913.5 (UNCERTAINTIES="Y" PYTHON="3.5" NUMPY_VERSION=1.11.2 PANDAS=0) 06 Sep 2018 04:42PM UTC 0
88.11
Travis Job 913.5
6 913.6 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.11.2 PANDAS=0) 06 Sep 2018 04:44PM UTC 0
86.2
Travis Job 913.6
7 913.7 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=0 PANDAS=0) 06 Sep 2018 04:44PM UTC 0
77.83
Travis Job 913.7
8 913.8 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=0 PANDAS=0) 06 Sep 2018 04:44PM UTC 0
77.79
Travis Job 913.8
9 913.9 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 04:45PM UTC 0
86.26
Travis Job 913.9
10 913.10 (UNCERTAINTIES="N" PYTHON="3.4" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 04:47PM UTC 0
86.14
Travis Job 913.10
11 913.11 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 04:49PM UTC 0
86.14
Travis Job 913.11
12 913.12 (UNCERTAINTIES="Y" PYTHON="3.5" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 04:48PM UTC 0
88.05
Travis Job 913.12
13 913.13 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 04:49PM UTC 0
86.05
Travis Job 913.13
Source Files on build 913
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #913
  • 90c74c8c on github
  • Prev Build on staging (#889)
  • Next Build on staging (#931)
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