Skip to content

Commit 88017d2

Browse files
committed
remove mypy
1 parent 05a2e93 commit 88017d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onnx_diagnostic/torch_models/validate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ def _make_folder_name(
123123
els = [model_id.replace("/", "_")]
124124
if subfolder:
125125
els.append(subfolder.replace("/", "_"))
126-
if not task:
127-
els.append(task) # type: ignore[arg-type]
126+
if task:
127+
els.append(task)
128128
if drop_inputs:
129129
ii = "-".join(f"{s[0]}{s[-1]}" for s in drop_inputs)
130130
els.append(f"I-{ii.upper()}")

0 commit comments

Comments
 (0)