@spardutti/claude-skills 2.16.0 → 2.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/setup-hook.mjs +9 -2
- package/package.json +1 -1
package/lib/setup-hook.mjs
CHANGED
|
@@ -756,8 +756,15 @@ for owner in $OWNERS; do
|
|
|
756
756
|
# worse than reporting nothing. \`mutmut results\` is the readable source:
|
|
757
757
|
# it prints "<mutant name>: survived" per survivor.
|
|
758
758
|
M="$(py_mutmut "$base")"
|
|
759
|
-
#
|
|
760
|
-
|
|
759
|
+
# mutmut caches verdicts in ./mutants and only invalidates one when the
|
|
760
|
+
# SOURCE of that function changes. Adding a test does not, so it replays the
|
|
761
|
+
# old "survived" and calls mutants the new tests kill still alive — measured
|
|
762
|
+
# at 20 of them on one commit. \`results\` then prints that whole cache, so
|
|
763
|
+
# survivors turn up for files nowhere near the diff. Deleting the dir first
|
|
764
|
+
# makes both describe the tree being shipped; \`mutmut run\` rewrites it
|
|
765
|
+
# anyway, and a cold run is ~35s for ~1000 mutants.
|
|
766
|
+
# One cd for all three: they run in the same shell, already there.
|
|
767
|
+
CMD="\${RUN}rm -rf mutants; $M run >/dev/null 2>&1; $M results"
|
|
761
768
|
else
|
|
762
769
|
MISSING="$MISSING $label needs mutmut:
|
|
763
770
|
uv add --dev mutmut # or: poetry add --group dev mutmut, pip install mutmut
|