Skip to content

Commit 286fdb6

Browse files
authored
Merge pull request #241 from proxystore/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 2497005 + 713b36e commit 286fdb6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
hooks:
1919
- id: codespell
2020
- repo: 'https://github.com/charliermarsh/ruff-pre-commit'
21-
rev: v0.14.4
21+
rev: v0.14.5
2222
hooks:
2323
- id: ruff
2424
args:

taps/executor/dask.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from concurrent.futures import Future
66
from typing import Any
77
from typing import Callable
8+
from typing import cast
89
from typing import Generator
910
from typing import Iterable
1011
from typing import Iterator
@@ -81,7 +82,8 @@ def submit(
8182
[`Future`][concurrent.futures.Future]-like object representing \
8283
the result of the execution of the callable.
8384
"""
84-
return self.client.submit(function, *args, **kwargs)
85+
future = self.client.submit(function, *args, **kwargs)
86+
return cast(Future[T], future)
8587

8688
def map(
8789
self,

0 commit comments

Comments
 (0)