A code quality & coverage analytics toolkit.
✨ FOSS, self hosted, self managed alternative to codecov
, codeclimate
, codefactor
& similar services.
- Lightweight, stateless CI pipeline integration
- PR comments with coverage & code health reports
pip install git+https://github.com/tata1mg/hector.git
Simply type hector in your terminal for all the options
$ hector
Add following steps to your bitbucket pipeline
Run your test suite & generate coverage report
$ coverage run pytest .
Generate coverage.json
(required for parsable coverage stats)
& coverage.xml
(required by hector diff report)
$ coverage json
$ coverage xml
Run hector inside the bitbucket pipeline to post a comment
$ hector report
- Add cli commands for all operations, using
Typer
- Use
Pydantic
models for parsing reports - Use
httpx
for http clients - Refactor for dependency inversion
- Bundle
diff-cover
- Add support for Code health metrics
- Bundle
radon
- Bitbucket PR comments
- Github PR comments
-
Flock
reports -
Discord
reports -
Slack
reports
- Bitbucket Pipe
- Github Actions
- Github App
- Support serving a
Sanic
application - Support serving a
FastAPI
application - Support deployment as an
AWS Lambda
dollar-1mg | 0xlakshay |
---|
Contributions are always welcome!
Please read our contribution guidelines
and code of conduct
to get started.