-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Miscellaneous flake8-bugbear
issues
#6814
Conversation
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 15 files + 1 15 suites +1 6h 10m 30s ⏱️ + 12m 55s For more details on these failures and errors, see this check. Results for commit 7cdd058. ± Comparison against base commit 192a8bb. ♻️ This comment has been updated with latest results. |
50881d9
to
7cdd058
Compare
@@ -837,7 +837,7 @@ def __init__( | |||
# It's a LocalCluster or LocalCluster-compatible object | |||
self.cluster = address | |||
status = self.cluster.status | |||
if status and status in [Status.closed, Status.closing]: | |||
if status in (Status.closed, Status.closing): |
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, thanks @crusaderky!
Partially addresses pre-commit failures in #6809
pre-commit run --all-files