Example for projects where Python modules are in the root directory.
my-project/
├── my_module/
│ ├── __init__.py
│ └── utils.py
├── tests/
│ └── test_utils.py
├── pyqual.yaml
└── requirements.txt
pipeline:
name: flat-project-qualitymetrics:
coverage_min: 70stages:
- name: testrun: pytest tests/ -v --cov=my_module --cov-report=json:.pyqual/coverage.jsonwhen: alwaysloop:
max_iterations: 1on_fail: report- Coverage path points directly to module (no
src/prefix) - Simpler structure for small projects
- No separate build step needed