Skip to content

Fix for Unused global variable#824

Draft
Andrey1994 wants to merge 1 commit intomasterfrom
finding-autofix-85cc263f
Draft

Fix for Unused global variable#824
Andrey1994 wants to merge 1 commit intomasterfrom
finding-autofix-85cc263f

Conversation

@Andrey1994
Copy link
Copy Markdown
Member

To fix this, replace unused loop variable names with _ in loops where the counter is not used.

Best minimal fix in python_package/examples/tests/eego_impedances_and_eeg.py:

  • Change line 20 from for i in range(5): to for _ in range(5):
  • Change line 29 from for i in range(3): to for _ in range(3):

No behavior changes, no new imports, no additional methods/definitions needed.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.

1 participant