We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a7844e commit d4681daCopy full SHA for d4681da
.pre-commit-config.yaml
@@ -24,8 +24,7 @@ repos:
24
- id: rst-inline-touching-normal
25
- id: text-unicode-replacement-char
26
- repo: https://github.com/astral-sh/ruff-pre-commit
27
- # Ruff version.
28
- rev: v0.11.12
+ rev: v0.12.1
29
hooks:
30
- id: ruff-format
31
- id: ruff
xarray/core/duck_array_ops.py
@@ -157,7 +157,7 @@ def isna(data: Any) -> bool:
157
-------
158
Whether or not the data is np.nan or pd.NA
159
"""
160
- return data is pd.NA or data is np.nan
+ return data is pd.NA or data is np.nan # noqa: PLW0177
161
162
163
def isnull(data):
0 commit comments