Skip to content

Commit

Permalink
Fix pre-commit mypy error:
Browse files Browse the repository at this point in the history
```
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]
```
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Oct 27, 2023
1 parent f8ea68f commit e955753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubench/holder_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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

Expand Down

0 comments on commit e955753

Please sign in to comment.