Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.59 KB

CONTRIBUTING.md

File metadata and controls

59 lines (36 loc) · 1.59 KB

How to contribute

Tutorials

If you want to start working on this project, you will need to get familiar with these APIs:

First steps

  1. Fork our repo, here's the guide on forking
  2. Clone your new repo (forked repo) to have a local copy of the code
  3. Apply the required changes! See the sections below on how to work with the code
  4. Send a Pull Request to our original repo. Here's the helpful guide on how to do that

Dependencies

To install them you would need to run command:

make install

Tests

We use pytest. To run all tests: make unit

To run only the mypy cache tests (used in the compatibility CI job): make unit-cache

Type checks

We use mypy to run type checks on our code. To use it:

make type-check

Formatting and linting

Apply formatting with black and isort:

make format

Check formatting without modifying files:

make lint

One magic command

Run make test to run everything we have: formatting checks, type checks, and tests.