Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.14 KB

CONTRIBUTING.md

File metadata and controls

54 lines (36 loc) · 1.14 KB

How to contribute

This is a how-to-contribute guide for the template itself. This guide is not about contributing to the project that is created using this template.

Dependencies

We use poetry to manage the dependencies.

To install them you would need to run install command:

poetry install

To activate your virtualenv run poetry shell.

Linting

We use flake8 to run linting. We use wemake-python-styleguide as the main code style rules. Run:

flake8 .

Keep in mind: default virtual environment folder excluded by flake8 style checking is .venv. If you want to customize this parameter, you should do this in setup.cfg.

Unit tests

We use pytest to run unit tests. Run:

pytest

Integration tests

We use docker to run integration tests. Make sure it is up and running. Then run:

sh tests/test_integration.sh

Other help

You can contribute by spreading a word about this library. It would also be a huge contribution to write a short article on how you are using this project. You can also share your best practices with us.