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

hgrecco / pint / 914
91%

Build:
DEFAULT BRANCH: master
Ran 06 Sep 2018 04:56PM UTC
Jobs 13
Files 29
Run time 10min
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
914

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>

312 of 312 new or added lines in 3 files covered. (100.0%)

535 of 561 relevant lines covered (95.37%)

115.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 914.1 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.14 PANDAS=1) 06 Sep 2018 05:07PM UTC 0
87.35
Travis Job 914.1
2 914.2 (UNCERTAINTIES="N" PYTHON="3.3" NUMPY_VERSION=1.9.2 PANDAS=0) 06 Sep 2018 04:56PM UTC 0
86.14
Travis Job 914.2
3 914.3 (UNCERTAINTIES="N" PYTHON="3.4" NUMPY_VERSION=1.11.2 PANDAS=0) 06 Sep 2018 04:56PM UTC 0
86.2
Travis Job 914.3
4 914.4 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=1.11.2 PANDAS=0) 06 Sep 2018 04:57PM UTC 0
86.2
Travis Job 914.4
5 914.5 (UNCERTAINTIES="Y" PYTHON="3.5" NUMPY_VERSION=1.11.2 PANDAS=0) 06 Sep 2018 04:57PM UTC 0
88.11
Travis Job 914.5
6 914.6 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.11.2 PANDAS=0) 06 Sep 2018 05:00PM UTC 0
86.2
Travis Job 914.6
7 914.7 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=0 PANDAS=0) 06 Sep 2018 04:59PM UTC 0
77.83
Travis Job 914.7
8 914.8 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=0 PANDAS=0) 06 Sep 2018 04:59PM UTC 0
77.79
Travis Job 914.8
9 914.9 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 05:00PM UTC 0
86.26
Travis Job 914.9
10 914.10 (UNCERTAINTIES="N" PYTHON="3.4" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 05:02PM UTC 0
86.14
Travis Job 914.10
11 914.11 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 05:02PM UTC 0
86.14
Travis Job 914.11
12 914.12 (UNCERTAINTIES="Y" PYTHON="3.5" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 05:03PM UTC 0
88.05
Travis Job 914.12
13 914.13 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.14 PANDAS=0) 06 Sep 2018 05:03PM UTC 0
86.14
Travis Job 914.13
Source Files on build 914
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #914
  • 90c74c8c on github
  • Prev Build on master (#893)
  • Next Build on master (#938)
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