Skip to content

Add initial flake8 HTK rules plugin#1

Open
jontsai wants to merge 8 commits intomasterfrom
jon-261-flake8-htk-rules
Open

Add initial flake8 HTK rules plugin#1
jontsai wants to merge 8 commits intomasterfrom
jon-261-flake8-htk-rules

Conversation

@jontsai
Copy link
Copy Markdown
Member

@jontsai jontsai commented Apr 18, 2026

Summary

  • extract the accounts-django structured-programming checker shape into the standalone plugin
  • add SP100 and SP101, gated by --structured-programming-files
  • broaden SP101 so literal displays match the public docs
  • add datetime clarity rules DT100-DT102
  • add debugger prevention rules DB100 and DB101 for debugger imports and calls
  • add naming rule NM100 to warn on vague get_ function/method prefixes
  • split check implementation into thematic modules under src/flake8_htk_rules/checks/
  • add real Flake8 entry-point integration coverage and CI flake8 linting
  • update README/package metadata and CI branch targeting for master
  • remove internal decision-log material from the public OSS package

Verification

  • temp virtualenv: python -m unittest discover -s tests -v -> 20 passed
  • temp virtualenv: python -m pytest -> 20 passed
  • temp virtualenv: python -m flake8 src tests
  • temp virtualenv: python -m build --wheel and wheel contents include flake8_htk_rules/checks/ modules
  • integration test runs python -m flake8 and verifies DT100, SP100, SP101, DB100, DB101, and NM100 via the installed entry point

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