Skip to content

Fix flake8 violations in ENUMPOLY_STRATEGY_CASES test cases - #972

Closed
rahulsavani with Copilot wants to merge 10 commits into
masterfrom
copilot/fix-flake8-failing-job
Closed

Fix flake8 violations in ENUMPOLY_STRATEGY_CASES test cases#972
rahulsavani with Copilot wants to merge 10 commits into
masterfrom
copilot/fix-flake8-failing-job

Conversation

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

PR #969 introduced ENUMPOLY_STRATEGY_CASES in tests/test_nash.py with several flake8 violations that broke the CI flake8 job.

Description of the changes in this PR

  • E501 — Wrapped two over-long comment lines (115 and 146 chars) across two lines to stay within the 99-char limit
  • W291 — Removed trailing whitespace from list-item continuation lines
  • E128 — Fixed under-indented list continuation lines to use proper visual indent alignment
  • Consistency — Normalised expected=[...] list indentation in test_enumpoly_strategy_2 and test_enumpoly_strategy_4 to match the 4-level (16-space) indent used elsewhere in the file

How to review this PR

  • Review the diff in tests/test_nash.py — changes are formatting-only with no logic alterations
  • Confirm flake8 . passes cleanly from the repo root

Copilot AI changed the title [WIP] Fix the failing GitHub Actions job flake8 Fix flake8 violations in ENUMPOLY_STRATEGY_CASES test cases Jul 3, 2026
Copilot AI requested a review from rahulsavani July 3, 2026 14:23
@rahulsavani rahulsavani closed this Jul 3, 2026
@rahulsavani
rahulsavani deleted the copilot/fix-flake8-failing-job branch July 3, 2026 20:47
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