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

pydata / xarray / 6493
96%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2019 07:25AM UTC
Jobs 10
Files 104
Run time 28min
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
6493

push

travis-ci

web-flow
<a href="https://github.com/pydata/xarray/commit/<a class=hub.com/pydata/xarray/commit/<a class="double-link" href="https://git"><a class=hub.com/pydata/xarray/commit/6963164dbdc55f86f34b741073838f083a68a152">6963164db<a href="https://github.com/pydata/xarray/commit/6963164dbdc55f86f34b741073838f083a68a152">&lt;a href=&quot;https://github.com/pydata/xarray/commit/6963164dbdc55f86f34b741073838f083a68a152&quot;&gt;&amp;quot;&amp;gt;Type checking with mypy (#2655)

* Type checking with mypy

The rest of the scientific Python stack doesn&amp;amp;#39;t seem to support type
annotations yet, but that&amp;amp;#39;s OK -- we can use this incrementally in xarray when
it seems appropriate, and may check a few bugs. I&amp;amp;#39;m especially excited to use
this for internal functions, where we don&amp;amp;#39;t always bother with full docstrings
(e.g., what is the type of the ``variables`` argument?).

This includes:
1. various minor fixes to ensure that &amp;amp;quot;mypy xarray&amp;amp;quot; passes.
2. adding &amp;amp;quot;mypy xarray&amp;amp;quot; to our lint check on Travis-CI.

For reference, see &amp;amp;quot;Using mypy with an existing codebase&amp;amp;quot;:
https://mypy.readthedocs.io/en/stable/existing_code.html

Question: are we OK with (2)? This means Travis-CI will fail if your code
causes mypy to error.

* Lint fix

* DOC: document mypy, don&amp;amp;#39;t run it in travis

* document how to run mypy

* fix type annotation

* Pin pytest to avoid pytest-cov failure

see https://github.com/pytest-dev/pytest-cov/pull/253

* Revert pytest pinning

* Revert &amp;quot;Revert pytest pinning&amp;quot;

This reverts commit &lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/pydata/xarray/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/pydata/xarray/commit/cd187a64eb97ca917476046a2f33c2a995a18680&quot;>cd187a64e</a>">cd187a64e</a><a href="https://github.com/pydata/xarray/commit/6963164dbdc55f86f34b741073838f083a68a152">.

* Revert &quot;Pin pytest to avoid pytest-cov failure&quot;

This reverts commit </a><a class="double-link" href="https://github.com/pydata/xarray/commit/<a class="double-link" href="https://github.com/pydata/xarray/commit/87ba452fad10f9f3715edae12abb1f28153ce99c">87ba452fa">87ba452fa.

69 of 69 new or added lines in 21 files covered. (100.0%)

27459 of 28435 relevant lines covered (96.57%)

7.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6493.1 (CONDA_ENV=py35-min) 08 Jan 2019 07:25AM UTC 0
65.9
Travis Job 6493.1
2 6493.2 (CONDA_ENV=py35) 08 Jan 2019 07:30AM UTC 0
92.8
Travis Job 6493.2
3 6493.3 (CONDA_ENV=py36) 08 Jan 2019 07:31AM UTC 0
95.79
Travis Job 6493.3
4 6493.4 (CONDA_ENV=py37) 08 Jan 2019 07:32AM UTC 0
94.64
Travis Job 6493.4
5 6493.5 (CONDA_ENV=py36-dask-dev) 08 Jan 2019 07:30AM UTC 0
94.27
Travis Job 6493.5
6 6493.6 (CONDA_ENV=py36-rasterio) 08 Jan 2019 07:33AM UTC 0
93.17
Travis Job 6493.6
8 6493.8 (CONDA_ENV=lint) 08 Jan 2019 07:36AM UTC 0
Travis Job 6493.8
9 6493.9 (CONDA_ENV=py36-hypothesis) 08 Jan 2019 07:37AM UTC 0
Travis Job 6493.9
13 6493.13 (CONDA_ENV=py36-bottleneck-dev) 08 Jan 2019 07:45AM UTC 0
91.73
Travis Job 6493.13
16 6493.16 (CONDA_ENV=py36-zarr-dev) 08 Jan 2019 07:54AM UTC 0
89.41
Travis Job 6493.16
Source Files on build 6493
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6493
  • 6963164d on github
  • Prev Build on master (#6470)
  • Next Build on master (#6499)
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

© 2025 Coveralls, Inc