Skip to content

Commit 7492557

Browse files
committed
mypy
1 parent 974c60c commit 7492557

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

onnx_diagnostic/_command_lines_parser.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -768,12 +768,8 @@ def get_parser_agg() -> ArgumentParser:
768768

769769

770770
def _cmd_agg(argv: List[Any]):
771-
from .helpers.log_helper import (
772-
CubeLogsPerformance,
773-
open_dataframe,
774-
enumerate_csv_files,
775-
filter_data,
776-
)
771+
from .helpers._log_helper import CubeLogsPerformance
772+
from .helpers.log_helper import open_dataframe, enumerate_csv_files, filter_data
777773

778774
parser = get_parser_agg()
779775
args = parser.parse_args(argv[1:])

onnx_diagnostic/helpers/_log_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def align_dataframe_with(
316316

317317
def apply_excel_style(
318318
filename_or_writer: Any,
319-
f_highlights: Optional[
319+
f_highlights: Optional[ # type: ignore[name-defined]
320320
Dict[str, Callable[[Any], "CubeViewDef.HighLightKind"]] # noqa: F821
321321
] = None,
322322
time_mask_view: Optional[Dict[str, pandas.DataFrame]] = None,

0 commit comments

Comments
 (0)