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.
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
.
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
.
We use pytest
to run unit tests. Run:
pytest
We use docker
to run integration tests.
Make sure it is up and running. Then run:
sh tests/test_integration.sh
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.