Everybody is invited and welcome to contribute to Thermal Comfort.
Report bugs using Github's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue.
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
People love thorough bug reports. I'm not even kidding.
- Fork the repo and create your branch from
master
. - Make sure you have pre-commit installed and run
pre-commit install
. - If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
- Setup local tests:
python -m venv venv
source venv/bin/activate
pip install -r requirements.test.txt
- Run local tests:
source venv/bin/activate
pytest
We use home assistants style guideline.
You can add yourself to CREDITS.md in your PR. Otherwise you will be added before our next release.