Skip to content

Commit 2970ada

Browse files
committed
linting
1 parent 0fb21bf commit 2970ada

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

cf/docstring/docstring.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,8 @@
654654
# return_esmpy_regrid_operator
655655
"{{return_esmpy_regrid_operator: `bool`, optional}}": """return_esmpy_regrid_operator: `bool`, optional
656656
If True then do not perform the regridding, rather
657-
return the esmpy.Regrid instance that defines the
658-
regridding operation.""",
657+
return the `esmpy.Regrid` instance that defines the
658+
regridding operation.""",
659659
# ----------------------------------------------------------------
660660
# Method description substitutions (4 levels of indentation)
661661
# ----------------------------------------------------------------

cf/field.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13488,7 +13488,7 @@ def regrids(
1348813488
z=None,
1348913489
ln_z=None,
1349013490
verbose=None,
13491-
return_esmpy_regrid_operator=False,
13491+
return_esmpy_regrid_operator=False,
1349213492
inplace=False,
1349313493
i=False,
1349413494
_compute_field_mass=None,
@@ -13728,10 +13728,10 @@ def regrids(
1372813728
.. versionadded:: 3.16.0
1372913729

1373013730
{{inplace: `bool`, optional}}
13731-
13731+
1373213732
{{return_esmpy_regrid_operator: `bool`, optional}}
1373313733

13734-
.. versionadded:: 3.16.2
13734+
.. versionadded:: 3.16.2
1373513735

1373613736
axis_order: sequence, optional
1373713737
Deprecated at version 3.14.0.
@@ -13849,7 +13849,7 @@ def regridc(
1384913849
dst_z=None,
1385013850
z=None,
1385113851
ln_z=None,
13852-
return_esmpy_regrid_operator=False,
13852+
return_esmpy_regrid_operator=False,
1385313853
inplace=False,
1385413854
i=False,
1385513855
_compute_field_mass=None,
@@ -14024,10 +14024,10 @@ def regridc(
1402414024
.. versionadded:: 3.16.2
1402514025

1402614026
{{inplace: `bool`, optional}}
14027-
14027+
1402814028
{{return_esmpy_regrid_operator: `bool`, optional}}
1402914029

14030-
.. versionadded:: 3.16.2
14030+
.. versionadded:: 3.16.2
1403114031

1403214032
axis_order: sequence, optional
1403314033
Deprecated at version 3.14.0.
@@ -14120,7 +14120,7 @@ def regridc(
1412014120
dst_z=dst_z,
1412114121
z=z,
1412214122
ln_z=ln_z,
14123-
return_esmpy_regrid_operator=return_esmpy_regrid_operator,
14123+
return_esmpy_regrid_operator=return_esmpy_regrid_operator,
1412414124
inplace=inplace,
1412514125
)
1412614126

cf/query.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,6 @@ def __str__(self):
495495
if self.open_lower:
496496
repr_value = "(" + repr_value[1:]
497497

498-
499498
if self.open_upper:
500499
repr_value = repr_value[:-1] + ")"
501500

@@ -1740,15 +1739,15 @@ def wi(
17401739
bound so that value0 is excluded from the
17411740
range. By default the interval is closed
17421741
so that value0 is included.
1743-
1742+
17441743
.. versionadded:: NEXTVERSION
17451744
17461745
open_upper: `bool`, optional
17471746
If True, open the interval at the upper
17481747
bound so that value1 is excluded from the
17491748
range. By default the interval is closed
17501749
so that value1 is included.
1751-
1750+
17521751
.. versionadded:: NEXTVERSION
17531752
17541753
units: `str` or `Units`, optional

0 commit comments

Comments
 (0)