We welcome and encourage contributions to SimStock, such as bug reporting, feature suggestions, documentation improvements, and submitting code changes.
Developers wishing to contribute should follow the steps below.
- Clone the repo
- Install dependencies via either:
poetry installor
conda env create -f environment.yaml
conda activate simstock
pip install -e .NOTE: You will also need a local copy of EnergyPlus 8.9 to run this version of SimStock.
- Run tests:
poetry run python -m unittest -vor if installed with conda:
python -m unittest -vTo report a bug, in the first instance please open a GitHub issue and include:
- What incorrect behaviour you observed and ideally what you expected should have happened.
- Steps to reproduce the bug, including SimStock and Python versions as well as your operating system.
To contribute new code and features, please follow the standard pull request process:
- Create a new branch from
main. - Implement your changes. Try and keep them small.
- Update or add tests for any new behaviour.
- Ensure tests pass.
- Open a pull request and ensure it includes a summary of the changes, the purpose of the changes, and any links to appropriate open issues.