Skip to content

Commit 357a1bc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1c769a0 commit 357a1bc

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

pandas/core/ops/invalid.py

+12-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,21 @@
55
from __future__ import annotations
66

77
import operator
8-
from typing import TYPE_CHECKING, Callable, NoReturn, Any
8+
from typing import (
9+
TYPE_CHECKING,
10+
Any,
11+
Callable,
12+
NoReturn,
13+
)
14+
915
import numpy as np
1016

1117
if TYPE_CHECKING:
12-
from pandas._typing import npt, ArrayLike, Scalar
18+
from pandas._typing import (
19+
ArrayLike,
20+
Scalar,
21+
npt,
22+
)
1323

1424

1525
def invalid_comparison(

pandas/io/excel/_odswriter.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
)
1919

2020
if TYPE_CHECKING:
21+
from odf.opendocument import OpenDocumentSpreadsheet
22+
2123
from pandas._typing import (
2224
ExcelWriterIfSheetExists,
2325
FilePath,
@@ -26,7 +28,6 @@
2628
)
2729

2830
from pandas.io.formats.excel import ExcelCell
29-
from odf.opendocument import OpenDocumentSpreadsheet
3031

3132

3233
class ODSWriter(ExcelWriter):

0 commit comments

Comments
 (0)