fleetlint Policy for a fleet of repositories
v0.6
Getting started

quality/mutation-gate/python

Mutation testing runs on the core

Implements quality/mutation-gate for python.

Severityinfo
Tiers1
Stackspython
Scoperoot
Kindoutcome
Sourcelibrary v0.3.1
Selected byfleetlint-recommended@v0.3.1

Requirement

mutmut (or cosmic-ray) runs on the core packages, from the task runner or a workflow.

Why

Coverage says a line ran; a surviving mutant says the tests would not notice if it were wrong.

Fix

Configure [tool.mutmut] in pyproject.toml for the core package and run mutmut run weekly.

Agent instruction: Add a mutate target that runs the stack’s mutation tool on the core packages with a survivor threshold, and a weekly workflow that calls it.

See: https://fleetlint.org/baseline/#tests, https://fleetlint.org/stacks/#python


Generated by fleetlint docs from catalog v0.3.1.