Skip to content

Commit

Permalink
fix: appease mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Dec 18, 2024
1 parent cdabd26 commit be83bc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dask_awkward/layers/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
_dask_uses_tasks = hasattr(dask.blockwise, "Task")

if _dask_uses_tasks:
from dask.blockwise import Task, TaskRef # type: ignore
from dask.blockwise import Task, TaskRef

if TYPE_CHECKING:
from awkward import Array as AwkwardArray
Expand Down
2 changes: 1 addition & 1 deletion src/dask_awkward/lib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
)

if _dask_uses_tasks:
from dask.blockwise import TaskRef # type: ignore
from dask.blockwise import TaskRef

if TYPE_CHECKING:
from awkward.contents.content import Content
Expand Down
2 changes: 1 addition & 1 deletion src/dask_awkward/lib/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from dask_awkward.utils import first

if _dask_uses_tasks:
from dask.blockwise import GraphNode, Task, TaskRef # type: ignore
from dask.blockwise import GraphNode, Task, TaskRef

if TYPE_CHECKING:
from awkward._nplikes.typetracer import TypeTracerReport
Expand Down

0 comments on commit be83bc9

Please sign in to comment.