Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.88 KB

contributing.md

File metadata and controls

50 lines (36 loc) · 1.88 KB

Contributing

This document explains how, technically, to contribute to this project. A code of conduct may be available in the root of this repository, or included in the readme.

Contribution Workflow

  • Check the issues and draft pull requests to see if anyone is working on something similar.
  • Make a branch for your contribution.
  • Implement your feature, bug fix, documentation, etc. In pycharm:
    • Add any new files to git (i.e. stage them):
    • Commit the changes (with a sensible message).

    Add / commit multiple times to break your contribution into easy to follow chunks.

    • Push your changes:
  • Make a pull request against the master branch of this repository.

You are advised to make a draft pull request as soon as you start work so nobody else ends up working on the same thing.

Coding Style

  • There is no coding style.
  • PEP8 is the preferred coding style, but is not mandated.
  • Code must be PEP8 compliant.

Documentation

  • Do not use typehints.
  • Typehints are optional, but encouraged.
  • Typehints are required.

Tests

  • The pytest framework is used and tests are encouraged.
  • Code must be covered by unit tests. The pytest framework is used.

Static Analysis

  • Use pylint to analyse your code before submission.