Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 176e1c0 commit e578095
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions more_executors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
This documentation was built from an unknown revision.
"""

from ._impl.executors import Executors
from . import futures
from . import asyncio
Expand Down
2 changes: 1 addition & 1 deletion more_executors/_impl/futures/zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, fs):
self.lock = Lock()
self.count_remaining = len(self.fs)

for (idx, future) in enumerate(self.fs):
for idx, future in enumerate(self.fs):
chain_cancel(self.out, future)
future.add_done_callback(weak_callback(partial(self.handle_done, idx)))

Expand Down

0 comments on commit e578095

Please sign in to comment.