Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.49 KB

CONTRIBUTING.md

File metadata and controls

27 lines (24 loc) · 1.49 KB

Contribution guidelines

Below you will find instructions on how to contribute.

  1. Find an issue to work on, or create one

  2. 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.

  3. Set up your development environment:

    1. Clone the repository with git clone https://github.com/JonasMuehlmann/pyaoi
    2. Enter the repository's directory
    3. Create a virtual environment with pyhon3 -m venv .venv
    4. Activate the virtual environment with one of the scripts under .venv/bin/
    5. Install dependencies with pip install -r dev-requirements.txt
    6. Create a new branch with git checkout -b your_branch_name
    7. 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 \#
    8. Install the pre-commit hooks with pre-commit install
    9. Activate commit-msh stage with pre-commit install --hook-type commit-msg
  4. Work on the code

  5. 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

  6. Make a Pull Request (PR) describing your changes

  7. Wait for your PR to get reviewed and merged