mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-24 22:25:10 +00:00
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] ```
This commit is contained in:
parent
f8ea68f242
commit
e955753c1b
@ -9,7 +9,7 @@ import sys
|
|||||||
import time
|
import time
|
||||||
from typing import Any, Callable, Dict, List
|
from typing import Any, Callable, Dict, List
|
||||||
|
|
||||||
import pybind11_ubench_holder_comparison as m # type: ignore[import]
|
import pybind11_ubench_holder_comparison as m # type: ignore[import-not-found]
|
||||||
|
|
||||||
number_bucket_pc = None
|
number_bucket_pc = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user