Skip to content

Commit 8db3792

Browse files
authored
Update whats-new + lint (#70)
* Update whats-new + rstcheck settings. * lint
1 parent 389da46 commit 8db3792

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

cf_xarray/tests/test_accessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ def test_kwargs_expand_key_to_multiple_keys():
230230
@pytest.mark.parametrize(
231231
"obj, expected",
232232
[
233-
(ds, set(("latitude", "longitude", "time", "X", "Y", "T", "air_temperature"))),
234-
(ds.air, set(("latitude", "longitude", "time", "X", "Y", "T", "area"))),
233+
(ds, {"latitude", "longitude", "time", "X", "Y", "T", "air_temperature"}),
234+
(ds.air, {"latitude", "longitude", "time", "X", "Y", "T", "area"}),
235235
(ds_no_attrs.air, set()),
236236
],
237237
)

doc/whats-new.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ What's New
22
----------
33
v0.2.1
44
======
5-
5+
- Support for the ``bounds`` attribute. (:pr:`68`, :issue:`32`). `Deepak Cherian`_.
66
- Add ``.cf.guess_coord_axis`` to automagically guess axis and coord names, and add
77
appropriate attributes. (:pr:`67`, :issue:`46`). `Deepak Cherian`_.
88

99
v0.2.0 (Jul 28, 2020)
1010
=====================
1111

12-
``cf_xarray`` is now available on conda-forge. Thanks to `Anderson Banihirwe`_ and `Filipe Fernandes`_
13-
12+
- ``cf_xarray`` is now available on conda-forge. Thanks to `Anderson Banihirwe`_ and `Filipe Fernandes`_
1413
- Remap datetime accessor syntax for groupby. E.g. ``.cf.groupby("T.month")`` → ``.cf.groupby("ocean_time.month")``.
1514
(:pr:`64`, :issue:`6`). `Julia Kent`_.
1615
- Added ``.cf.rename_like`` to rename matching variables. Only coordinate variables

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,6 @@ test = pytest
116116

117117
[pytest-watch]
118118
nobeep = True
119+
120+
[rstcheck]
121+
ignore_roles=pr,issue

0 commit comments

Comments
 (0)