Skip to content

Commit 390f81f

Browse files
committed
Fied mypy checks for dict typing
1 parent ca498d3 commit 390f81f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bam_masterdata/cli/excel_to_entities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import re
2-
from typing import TYPE_CHECKING, Any, Optional, dict
2+
from typing import TYPE_CHECKING, Any, Optional
33

44
import openpyxl
55
from openpyxl.worksheet.worksheet import Worksheet
@@ -791,7 +791,7 @@ def excel_to_entities(
791791
A dictionary where each key is a normalized sheet name and the value is a dictionary
792792
containing the extracted entities.
793793
"""
794-
sheets_dict = {}
794+
sheets_dict: dict[str, dict[str, Any]] = {}
795795

796796
# Load the workbook and get the sheet names
797797
workbook = openpyxl.load_workbook(excel_path)

0 commit comments

Comments
 (0)