Skip to content

Potential fix for 1 code quality finding#572

Open
tschm wants to merge 3 commits into
mainfrom
ai-findings-autofix/rhiza-tests-api-test_make_variable_overrides.py
Open

Potential fix for 1 code quality finding#572
tschm wants to merge 3 commits into
mainfrom
ai-findings-autofix/rhiza-tests-api-test_make_variable_overrides.py

Conversation

@tschm

@tschm tschm commented Jun 30, 2026

Copy link
Copy Markdown
Member

This PR applies 1/1 suggestions from code quality AI findings.

tschm and others added 2 commits June 30, 2026 16:37
…py from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@tschm tschm marked this pull request as ready for review June 30, 2026 12:39
Copilot AI review requested due to automatic review settings June 30, 2026 12:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates a Makefile-variable override test to avoid asserting behavior based on Makefile include order, aligning the test with higher-level behavioral expectations.

Changes:

  • Reworks the deptry accumulator test assertions to check for presence of expected fragments (deptry invocation, both folders, and DEP004 ignore) instead of a single ordered substring.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +143 to 150
# Assert behavior, not Makefile include order: both folders must be scanned with DEP004 ignored.
assert "deptry " in out, "deptry target should invoke deptry; got:\n" + out[:600]
assert "notebooks" in out and "mypackage" in out, (
"deptry should scan both marimo and source folders; got:\n" + out[:600]
)
assert "--ignore DEP004" in out, (
"deptry should ignore DEP004 when marimo bundle is enabled; got:\n" + out[:600]
)
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