Skip to content

test(packaging): avoid bandit assert in classifier contract tests#56

Merged
SavinRazvan merged 1 commit into
mainfrom
feature/codacy-packaging-test-assert-fix
Jun 17, 2026
Merged

test(packaging): avoid bandit assert in classifier contract tests#56
SavinRazvan merged 1 commit into
mainfrom
feature/codacy-packaging-test-assert-fix

Conversation

@SavinRazvan

Copy link
Copy Markdown
Owner

Summary

  • Replace assert with explicit AssertionError in packaging classifier contract tests
  • Clears Codacy/Bandit B101 on test_setup_classifiers_contract.py

Test plan

  • Add verification commands before merge

Attribution

  • Author: Savin I. Razvan
  • GitHub-User: @SavinRazvan
  • Agent/s: review-pr | prepare-pr | merge-pr
  • Made-with: Cursor

Replace pytest assert statements with explicit AssertionError raises so Codacy/Bandit B101 does not flag packaging contract checks.

Author: Savin I. Razvan
GitHub-User: @SavinRazvan
Agent/s: review-pr | prepare-pr | merge-pr
Made-with: Cursor
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@SavinRazvan SavinRazvan merged commit ec91992 into main Jun 17, 2026
10 checks passed
@SavinRazvan SavinRazvan deleted the feature/codacy-packaging-test-assert-fix branch June 17, 2026 07:46
@SavinRazvan

Copy link
Copy Markdown
Owner Author

.

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