-
-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pre-commit
hooks
#8444
Update pre-commit
hooks
#8444
Conversation
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 27 files ± 0 27 suites ±0 9h 36m 22s ⏱️ - 6m 21s For more details on these failures, see this check. Results for commit 7b18917. ± Comparison against base commit 7562f9c. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hendrikmakait
distributed/client.py
Outdated
@@ -2188,7 +2188,7 @@ async def _gather(self, futures, errors="raise", direct=None, local_worker=None) | |||
"Cannot gather Futures created by another client. " | |||
f"These are the {len(mismatched_futures)} (out of {len(futures)}) " | |||
f"mismatched Futures and their client IDs (this client is {self.id}): " | |||
f"{ {f: f.client.id for f in mismatched_futures} }" | |||
f"{{f: f.client.id for f in mismatched_futures}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this update results in a genuine behavior change (TIL)
In [1]: f"{ {i:i for i in range(10)} }"
Out[1]: '{0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9}'
In [2]: f"{{i:i for i in range(10)}}"
Out[2]: '{i:i for i in range(10)}'
Can we add an ignore or something to this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I wasn't aware of that! Fixed
Closes #xxxx
pre-commit run --all-files