Skip to content

v0.3.0

Choose a tag to compare

@markng markng released this 04 Apr 20:11
· 31 commits to main since this release
d890321

What's New

Configurable Operators

  • [tool.pytest-leela] config section with operators and exclude settings
  • # leela: skip pragma to suppress mutations on specific lines
  • Default target discovery: scans target/, src/, or flat layout automatically

Performance Optimizations

  • Coverage sharing: line coverage is now collected during the normal test run (saves one full test suite execution per --leela invocation)
  • sys.modules fast-clear: precomputed module sets for O(K) targeted clearing instead of O(N) full scan

Quality

  • 100% mutation kill rate on self-mutation check (482/482 killed)
  • Applied ruff format across codebase

Install / Upgrade

pip install pytest-leela==0.3.0