Skip to content

v1.10.0

Choose a tag to compare

@kratos0718 kratos0718 released this 18 Sep 13:44
· 32 commits to main since this release
  • CH034 raise-literal: raise "x"/None/(1,2)/{...} always fails with an unrelated TypeError instead of the exception you meant to raise (flake8-bugbear B016)
  • CH035 empty-except-tuple: except () can never match anything — dead code (flake8-bugbear B029)
  • CH036 environ-reassignment: os.environ = {...} rebinds the name but never syncs the real process environment (flake8-bugbear B003)

All three verified directly in a REPL before any AST code was written. Corpus scan across ~29 frameworks found 2 real bugs (llama_index, HuggingFace datasets) and zero false positives.

Full findings: docs/FINDINGS.md