Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 793 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (22 loc) · 793 Bytes

Setup

  1. In order to contribute you will need to clone/fork the repo and install the requirements locally.
pip install .
  1. Install pre-commit.
pip install pre-commit
pre-commit install

Workflow

  1. Create and checkout new feature branch for your work.

  2. Make changes and add awesome code!

  3. Run code-style requirement checks using pre-commit and fix all documentation and typing issues shown in the output.

pre-commit run --all-files -v
  1. Run tests locally.

  2. Re-stage the files after fixing the errors and commit. When you commit, pre-commit will run once again but only on the changed files

  3. Push to remote. Create a PR if your feature is complete.

Code Styling

We use flake8 and black for code formatting.