We welcome contributions to the Arthur Engine! Please follow the steps below to contribute.
All contributions to the Arthur Engine need to be made via pull requests.
- Fork the repository
- Clone a local version of your forked repository
- Install the pre-commit hooks by following the instructions in Install the pre-commit hooks before making your first commit
- Install the Python packages by following the developer setup instructions in each module
- Create a new branch for your changes with an informative name
- Commit your changes and make sure any issues raised by the pre-commit hook are addressed
- Push the new branch to your forked repository
- Create a pull request to the
devbranch of the Arthur Engine repository with a description of your changes
The pre-commit hooks run certain house-keeping tasks before a git commit can be made. It ensures that your contributions will pass the CICD pipeline. The pre-commit hook rules are defined here. Before making your first commit, please follow the instructions below to install the pre-commit hook.
- Install OASDiff for auto-generating API changelog
- Change directory to the module you are contributing to (i.e.
genai-engineorml-engine) - Install
pre-commitpackage:poetry install --only dev - Install the git pre-commit hooks:
poetry run pre-commit install