PhotoHolmes is an open-source python library, and welcomes any contribution users and developers wish to make. Through the library's github, we are open to recieving any issues, bugs, suggestions, and pull requests.
The python requirements are python >= 3.10
. Create a virtual enviroment, either with conda or with pip.
Activate the enviroment and install the library and required packages.
pip install -e .[dev]
You must also install pre-commit hooks. Pre-commit runs check before a commit to ensure the code quality is being preserved. To install the git hooks, run:
pre-commit install
Remember to follow the guidelines detailed in the documentation. For this, you can read the corresponding README.md
file available at the section you wish to contribute in. Among other rules, most objects should inherit from an abstract base class. Additionally, we ask the developer to add typing, docstrings, and follow clean-coding practices. Finally, make sure the corresponding documentation is up to date with your changes, and include your contributions in the factory
and Registry
correspondingly.
Once you've followed the above steps and are satisfied with your changes:
- Commit changes to a local branch. Push the branch to the remote repository.
- Go to the hub repository and create a pull request of your branch towards
develop
. - Make sure the merge request pipeline passes the linter and the test.
The PhotoHolmes team is grateful for your contribution!
By contributing to the existing Photoholmes library, you accept that your code will be licensed under the Apache-2.0 License. You may write to the PhotoHolmes team if this is inconvenient.