Skip to content

Commit

Permalink
Ignore actx import error for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Dec 18, 2024
1 parent 67a087d commit 1d8252e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pytato/analysis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,9 @@ def update_for_ndarray(self, key_hash: Any, key: Any) -> None:
self.rec(key_hash, key.data.tobytes())

def update_for_TaggableCLArray(self, key_hash: Any, key: Any) -> None:
from arraycontext.impl.pyopencl.taggable_cl_array import TaggableCLArray
from arraycontext.impl.pyopencl.taggable_cl_array import (
TaggableCLArray, # pylint: disable=import-error
)
assert isinstance(key, TaggableCLArray)
self.rec(key_hash, key.get())

Expand Down

0 comments on commit 1d8252e

Please sign in to comment.