Fix CI test matrix failures caused by Ruff errors in app.py#52
Merged
quantumdynamics927-dotcom merged 4 commits intomainfrom Apr 5, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/quantumdynamics927-dotcom/QPyth/sessions/a2644eb8-4165-44e2-9e67-0236df66b273 Co-authored-by: quantumdynamics927-dotcom <247722560+quantumdynamics927-dotcom@users.noreply.github.com>
Agent-Logs-Url: https://github.com/quantumdynamics927-dotcom/QPyth/sessions/a2644eb8-4165-44e2-9e67-0236df66b273 Co-authored-by: quantumdynamics927-dotcom <247722560+quantumdynamics927-dotcom@users.noreply.github.com>
Agent-Logs-Url: https://github.com/quantumdynamics927-dotcom/QPyth/sessions/a2644eb8-4165-44e2-9e67-0236df66b273 Co-authored-by: quantumdynamics927-dotcom <247722560+quantumdynamics927-dotcom@users.noreply.github.com>
Agent-Logs-Url: https://github.com/quantumdynamics927-dotcom/QPyth/sessions/a2644eb8-4165-44e2-9e67-0236df66b273 Co-authored-by: quantumdynamics927-dotcom <247722560+quantumdynamics927-dotcom@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
quantumdynamics927-dotcom
April 5, 2026 02:24
View session
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR resolves CI failures in the Python 3.10–3.13 test matrix by bringing app.py back into compliance with the repository’s enforced Ruff linting/formatting rules (import hygiene + formatting), without changing runtime behavior.
Changes:
- Removed an unused
numpyimport that was failing Ruff (F401). - Applied Ruff formatting updates (quote style, blank lines, call formatting) to match repo style checks.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Python 3.10–3.13 CI test jobs were all failing at the Ruff step before tests could run. The failure was isolated to
app.py, where import hygiene and file formatting no longer matched the repository’s enforced lint rules.CI failure source
numpyimport fromapp.pyFormatting cleanup
app.pyso the file conforms to the repo’s enforced style checks