Skip to content

Commit 71e4687

Browse files
k-ibarakiclaude
andcommitted
style(test): Move Pane import to file top per PEP 8
Follow PEP 8 guidelines by moving the openpyxl.worksheet.views.Pane import from inside the test function to the top of the file with other imports. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 00a21ec commit 71e4687

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_sharepoint_excel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import pytest
77
from openpyxl import Workbook
88
from openpyxl.styles import Font, PatternFill
9+
from openpyxl.worksheet.views import Pane
910

1011
from src.sharepoint_excel import SharePointExcelParser
1112

@@ -788,8 +789,6 @@ def test_split_pane_is_ignored(self):
788789
ws["A2"] = "Data"
789790

790791
# split paneを設定(frozenではなくsplit)
791-
from openpyxl.worksheet.views import Pane
792-
793792
ws.sheet_view.pane = Pane(ySplit=3, xSplit=0, state="split")
794793

795794
excel_bytes = BytesIO()

0 commit comments

Comments
 (0)