PROJ007warningFree tier

low-test-coverage-ratio

Codebase has a large amount of hand-written source code but very few automated tests

Applies to: Project-level

Why this matters

Having almost no tests in an application that handles money, PII, or insurance claims is a real liability — bugs that would be caught by a unit test instead reach production and affect customers. A low test-to-source ratio also means AI-assisted refactors are more dangerous, because nothing will catch a regression. The goal isn't 100% coverage; it's to have *enough* tests that the team trusts the suite before shipping.

Catch it before it ships

pip install stablestack # or: npx stablestackstablestack # scans your project, PROJ007 includedstablestack explain PROJ007

False positive in your codebase? Suppress a single line with # noqa: PROJ007