Skip to content

Fix --check and secret FP for 1.1.1 - #139

Merged
szymoniwacz merged 3 commits into
mainfrom
fix/check-and-secret-1.1.1
Aug 9, 2026
Merged

szymoniwacz merged 3 commits into
mainfrom
fix/check-and-secret-1.1.1

Conversation

@szymoniwacz

Copy link
Copy Markdown
Owner

Summary

  • Fix --check bandit invocation to use a single -r with multiple paths
  • Skip package __init__.py when mapping changed sources to pytest targets
  • Tighten possible_secret high-entropy detection so f-string/code fragments are ignored
  • Bump to 1.1.1 and sync feedback checklist / changelog / README

Test plan

  • pytest — 280 passed
  • ruff check src tests
  • mypy src
  • Smoke: diffrat review --range HEAD~1..HEAD --check no longer fails with unrecognized arguments or tests/test___init__.py

Use a single bandit -r with multiple paths, and skip package
__init__.py when mapping to pytest targets.
Ignore code and prose string fragments so f-string message pieces
no longer trigger high-entropy secret hints.
Record the check and hint fixes in the changelog and update the
external feedback checklist for --brief and Review quality.
@szymoniwacz
szymoniwacz merged commit 17ba536 into main Aug 9, 2026
1 check passed
@szymoniwacz
szymoniwacz deleted the fix/check-and-secret-1.1.1 branch August 9, 2026 10:13
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