From e955753c1b34c64f39907b8459d6e0d383e1ca12 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 26 Oct 2023 22:48:43 -0700 Subject: [PATCH] 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] ``` --- ubench/holder_comparison.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubench/holder_comparison.py b/ubench/holder_comparison.py index ce3aa36e5..dff645842 100644 --- a/ubench/holder_comparison.py +++ b/ubench/holder_comparison.py @@ -9,7 +9,7 @@ import sys import time 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