Skip to content

Fix black formatting in tests/networks/nets/test_navit.py to pass static-checks CI - #9055

Draft
vikashg with Copilot wants to merge 2 commits into
devfrom
copilot/fix-static-checks-codeformat
Draft

Fix black formatting in tests/networks/nets/test_navit.py to pass static-checks CI#9055
vikashg with Copilot wants to merge 2 commits into
devfrom
copilot/fix-static-checks-codeformat

Conversation

Copilot AI commented Aug 10, 2026

Copy link
Copy Markdown

The static-checks (codeformat) CI job was failing because black flagged tests/networks/nets/test_navit.py as needing reformatting (lines exceeding black's length limit in TEST_CASES_SHAPE dict literals, the test_shape list comprehension, and assertion calls with long messages).

Description

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

The CI static-checks job was failing because black would reformat
test_navit.py. Applied black formatting to fix the issue.

Also includes navit.py source and __init__.py export from PR #9011.

Co-authored-by: vikashg <3863212+vikashg@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job static-checks (codeformat) Fix black formatting in tests/networks/nets/test_navit.py to pass static-checks CI Aug 10, 2026
Copilot AI requested a review from vikashg August 10, 2026 20:27
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