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

Fix loop over dict in raid_name() #52

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Fix loop over dict in raid_name() #52

merged 1 commit into from
Nov 1, 2024

Conversation

jikortus
Copy link
Contributor

@jikortus jikortus commented Oct 31, 2024

The original approch shouldn't actually break anything, but pylint was unhappy about it for a reason:

anabot/runtime/installation/hub/partitioning/advanced/common.py:46:12: E4702: Iterated dict 'LEVELS' is being modified inside for loop body, iterate through a copy of it instead. (modified-iterating-dict)

This pylint error was actually discovered as part of work on PR #53; this PR (#52) should likely be merged after 53, so that all of the checks pass.

The original approch shouldn't actually break anything, but pylint
was unhappy about it for a reason.
@jikortus jikortus requested a review from jstodola October 31, 2024 17:14
@jikortus jikortus self-assigned this Oct 31, 2024
@jikortus jikortus merged commit 3f358fc into main Nov 1, 2024
4 of 5 checks passed
@jikortus jikortus deleted the raid_name-fix branch November 1, 2024 15:48
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.

2 participants