Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.91 KB

File metadata and controls

56 lines (42 loc) · 1.91 KB

How to contribute

Everyone is free to contribute on this project.

There are two ways to contribute:

Submitting an issue

Before creating an issue please make sure that it was not already reported.

Title should be a small sentence describing the request.

Submitting a pull request

When?

  • You fixed an issue.
  • You changed something.
  • You added a new feature.

How?

Code

  1. Create a new branch based on develop branch.
  2. Fetch all dependencies using pip.
    python -m pip install .[testing]
  3. Ensure tests are ok by running them using pytest.
    pytest
  4. Install pre-commit hook to ensure new code will follow guidelines.
    python -m pip install pre-commit
    pre-commit install
  5. Add your changes.
  6. Add at least one pytest test case.
    • Unless it is an internal refactoring request or a documentation update.
  7. Add related changelog entry in the Unreleased section.
    • Unless it is a documentation update.

Enter pull request

  1. Go to the Pull requests tab and click on the New pull request button.
  2. base should always be set to develop and it should be compared to your branch.
  3. Title should be a small sentence describing the request.
  4. The comment should contain as much information as possible
    • Actual behavior (before the new code)
    • Expected behavior (with the new code)
    • Steps to reproduce (with and without the new code to see the difference)