Skip to content

Commit e955753

Browse files
committed
Fix pre-commit mypy error:
``` mypy.....................................................................Failed - hook id: mypy - exit code: 1 ubench/holder_comparison.py:12: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore] ```
1 parent f8ea68f commit e955753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ubench/holder_comparison.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import time
1010
from typing import Any, Callable, Dict, List
1111

12-
import pybind11_ubench_holder_comparison as m # type: ignore[import]
12+
import pybind11_ubench_holder_comparison as m # type: ignore[import-not-found]
1313

1414
number_bucket_pc = None
1515

0 commit comments

Comments
 (0)