Open source software thrives on people’s contributions. Thank you for considering contributing to the MorphoCut project!
Bug reports are very important! Have a look at the GitHub issues to confirm that the bug hasn’t been reported before.
Steps for Submitting Code¶
GitHub Pull Requests are the expected method of code collaboration on this project.
Please follow these steps:
Fork the repository on GitHub.
Run the tests and make sure that they all pass on your system.
Write tests that demonstrate your bug or feature. Ensure that they fail. (This is called test-driven development.)
Make your change.
Run the entire test suite again, ensuring that all tests pass including the ones you just added.
Write meaningful commit messages.
Send a GitHub Pull Request to the main repository’s
masterbranch. Your contribution will then be reviewed.
Follow PEP 8, PEP 257 and the Google Style Guide.
Use black to format your code.
Use isort to sort your imports.
Use pydocstyle to get feedback on your docstrings.
The repository contains a
.vscode/settings.json.default file that contains
the required settings.
Use it as a starting point if you’re developing in VS Code.
Documentation is a very important part of this library
and improvements are very welcome!
It lives in the
docs/ directory and is written in
reStructuredText. We use Sphinx to generate the full suite of
documentation. napoleon is used to interpret the docstrings.