Skip to content
Critiq Docs

Search docs

Search documentation pages and rules

quality.testing

pytest.mark.skip should include a reason or ticket

Skips without `reason=` or a nearby tracker reference are hard to triage.

#Metadata

Rule ID
py.testing.pytest-skip-without-ticket-reference
Severity
medium
Confidence
0.68
Languages
python
Presets
recommended, strict
Stability
experimental
Applies to
block
Tags
python, rules-catalog, testing

#Why it matters

Silent pytest skips accumulate unless they carry reviewable intent.

#Remediation

Add `reason=` with a tracker id or move the skip behind a feature flag with expiry notes.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/python/py.testing.pytest-skip-without-ticket-reference.rule.yaml.