Below you will find instructions on how to contribute.
-
Find an issue to work on, or create one
-
Assign said issue to yourself. This communicates your intent and commitment, so your work does not go to waste because it does not fit in with the project, or someone else is already working on it.
-
Set up your development environment:
- Clone the repository with
git clone https://github.com/JonasMuehlmann/pyaoi
- Enter the repository's directory
- Create a virtual environment with
pyhon3 -m venv .venv
- Activate the virtual environment with one of the scripts under
.venv/bin/
- Install dependencies with
pip install -r dev-requirements.txt
- Create a new branch with
git checkout -b your_branch_name
- Set the commit message template with
git config commit.template .commit_template.txt
- Make sure commented out lines are removed with
git config commit.cleanup strip
- Set the comment char with
git config --global core.commentChar \#
- Make sure commented out lines are removed with
- Install the pre-commit hooks with
pre-commit install
- Activate commit-msh stage with
pre-commit install --hook-type commit-msg
- Clone the repository with
-
Work on the code
-
If you implemented new functionality, write tests to confirm the validity of your new code and preferably: 2. Add type hints 3. Write comments if appropriate 4. Write Docstrings
-
Make a Pull Request (PR) describing your changes
-
Wait for your PR to get reviewed and merged