Skip to content

Commit 2c10583

Browse files
Ignore ruff/Pyflakes rule F401 more precisely (#10369)
F401 imported but unused The `unravel_index` import was added by cd6065e / #5571.
1 parent 245be4b commit 2c10583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/core/duck_array_ops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818
import numpy as np
1919
import pandas as pd
20-
from numpy import ( # noqa: F401
20+
from numpy import (
2121
isclose,
2222
isnat,
2323
take,
24-
unravel_index,
24+
unravel_index, # noqa: F401
2525
)
2626
from pandas.api.types import is_extension_array_dtype
2727

0 commit comments

Comments
 (0)