Contribute
Contributions are more than welcome! Submit a pull request, or open an issue and I (Martin) will gladly answer your questions on how to contribute.
Setup a development environment
-
Clone this repository.
git clone https://github.com/Bravos-Power/pyoframe
-
Install the dependencies.
pip install --editable .[dev,docs]
-
Install the pre-commit hooks.
pre-commit install
-
Run
pytest
to make sure everything is working. If not, open an issue!
Documentation
We use Material Docs for documentation with several plugins to enable features like automatically compiling the docstrings into the reference API. Please follow the Google style for docstrings.
Helpful commands
pytest --cov
: Runs all the tests and generate coverage information.mkdocs serve
: Generates the documentation locally. Navigate tohttp://127.0.0.1:8000/pyoframe/
to check it out.coverage html
: Generate a webpage to view the coverage information generated by pytest.