Skip to content
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

Merged
merged 3 commits into from
Aug 4, 2022

Conversation

hendrikmakait
Copy link
Member

@hendrikmakait hendrikmakait commented Aug 1, 2022

Partially addresses pre-commit failures in #6809

  • Tests added / passed
  • Passes pre-commit run --all-files

@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2022

Unit Test Results

See 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
  2 989 tests ±    0    2 897 ✔️  -     1       88 💤 ±  0  3 +1  1 🔥 ±0 
21 338 runs  +373  20 328 ✔️ +416  1 005 💤  - 44  4 +1  1 🔥 ±0 

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.

distributed/client.py Outdated Show resolved Hide resolved
@@ -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):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks @crusaderky!

@crusaderky crusaderky merged commit 4af2d0a into dask:main Aug 4, 2022
gjoseph92 pushed a commit to gjoseph92/distributed that referenced this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants