Skip to content

v0.1.1 — Bug Fixes

Choose a tag to compare

@cheickmec cheickmec released this 11 Feb 00:18
· 147 commits to main since this release

pysmells v0.1.1

Fixes 9 issues found during code review (2 P1, 4 P2, 3 P3).

Fixed

  • Import analysis now captures full dotted paths — #CYC, #UDE, #FIO no longer under-report on package-based repos
  • RFC metric counts distinct external method calls (was counting class names)
  • elif chains no longer produce duplicate #14 and #68 findings
  • #58 no longer false-positives on ExitStack.enter_context(open(...))
  • Single-file scans now run per-class OO metrics (LCOM, CBO, RFC, MID)
  • CLI docs corrected with actual script path from repo root
  • Detection counts corrected: 40 per-file + 10 cross-file + 5 OO metrics = 55
  • SKILL.md mappings fixed (003, 005, 006, 008, MID pointed to wrong reference files)
  • --min-severity now validates input and rejects invalid values