Ran
|
Jobs
10
|
Files
104
|
Run time
28min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<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"><a href="https://github.com/pydata/xarray/commit/6963164dbdc55f86f34b741073838f083a68a152">&quot;&gt;Type checking with mypy (#2655) * Type checking with mypy The rest of the scientific Python stack doesn&amp;#39;t seem to support type annotations yet, but that&amp;#39;s OK -- we can use this incrementally in xarray when it seems appropriate, and may check a few bugs. I&amp;#39;m especially excited to use this for internal functions, where we don&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;quot;mypy xarray&amp;quot; passes. 2. adding &amp;quot;mypy xarray&amp;quot; to our lint check on Travis-CI. For reference, see &amp;quot;Using mypy with an existing codebase&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;#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 &quot;Revert pytest pinning&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/cd187a64eb97ca917476046a2f33c2a995a18680">cd187a64e</a>">cd187a64e</a><a href="https://github.com/pydata/xarray/commit/6963164dbdc55f86f34b741073838f083a68a152">. * Revert "Pin pytest to avoid pytest-cov failure" 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
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
97.08 |
-0.2% | xarray/core/computation.py |
1 |
93.95 |
-0.39% | xarray/core/merge.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 6493.1 (CONDA_ENV=py35-min) | 104 |
65.9 |
Travis Job 6493.1 | |
2 | 6493.2 (CONDA_ENV=py35) | 104 |
92.8 |
Travis Job 6493.2 | |
3 | 6493.3 (CONDA_ENV=py36) | 104 |
95.79 |
Travis Job 6493.3 | |
4 | 6493.4 (CONDA_ENV=py37) | 104 |
94.64 |
Travis Job 6493.4 | |
5 | 6493.5 (CONDA_ENV=py36-dask-dev) | 104 |
94.27 |
Travis Job 6493.5 | |
6 | 6493.6 (CONDA_ENV=py36-rasterio) | 104 |
93.17 |
Travis Job 6493.6 | |
8 | 6493.8 (CONDA_ENV=lint) | 0 | Travis Job 6493.8 | ||
9 | 6493.9 (CONDA_ENV=py36-hypothesis) | 0 | Travis Job 6493.9 | ||
13 | 6493.13 (CONDA_ENV=py36-bottleneck-dev) | 104 |
91.73 |
Travis Job 6493.13 | |
16 | 6493.16 (CONDA_ENV=py36-zarr-dev) | 104 |
89.41 |
Travis Job 6493.16 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|