Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener authored and inducer committed Oct 18, 2024
1 parent 7037bff commit fd8dc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyopencl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def _find_pyopencl_include_path() -> str:
# NOTE: only available in Python >=3.9
from importlib.resources import files
except ImportError:
from importlib_resources import files
from importlib_resources import files # type: ignore[no-redef]

include_path = str(files("pyopencl") / "cl")
if not exists(include_path):
Expand Down

0 comments on commit fd8dc14

Please sign in to comment.