Contributing¶
Setup¶
git clone https://github.com/weby-homelab/power-framework.git
cd power-framework
pip install -e ".[dev]"
Running tests¶
pytest tests/ -v --tb=short
Coverage threshold: 70%.
Linting¶
ruff check src/ tests/
ruff format --check src/ tests/
mypy src/power_framework/
Pre-commit¶
Install hooks:
pre-commit install
Making changes¶
- Create an issue describing the change
- Create a branch (
feature/*orfix/*) - Make changes with tests
- GPG-sign your commits
- Open a pull request
License¶
GPLv3 — Built in Ukraine ⚡