Skip to content

v1.12.1

Choose a tag to compare

@kratos0718 kratos0718 released this 19 Sep 08:15
· 26 commits to main since this release

Precision fixes to three existing checks, found by widening the corpus scan well past the original ~29 frameworks:

  • CH011 (lru-cache-on-method): only trust lru_cache/cache when it can actually be functools's, not any decorator that happens to share the name. SQLAlchemy's own @reflection.cache was a false positive on ~94 methods.
  • CH009/CH012/CH028 (threads/processes/timers): add the "passed as an argument to any call" escape their siblings CH016/CH027/CH031 already had. Found via a real false positive in uvicorn's multi-worker supervisor.
  • CH049 (staticmethod-references-self): two more real false positives fixed - self in a decorator expression (celery), and a locally-defined class legitimately closing over an outer method's self (pytest).

Also documents five new real CH047 hits (SQLAlchemy, Poetry, Flask, Celery) and one CH009 hit (langgraph), none filed yet. Full detail in docs/FINDINGS.md.