pytest-linter
Installation
SKILL.md
Pytest and Linter Execution Skill
This skill guides you on executing compliant, high-quality testing and linting in Python workspaces.
Instructions
- Run Linter First:
Prior to launching any tests, check if
blackorruffis installed. Run code formatting:black src/ - Execute pytest:
Run tests with coverage and verbose logging to capture any regression:
pytest -v --cov=src/ - Correct Failures Step-by-Step: Do not rewrite large blocks if tests fail. Isolate the failing test-case and modify only the corresponding modular unit.