Skip to content

Development

First clone the rabbit-client repository and create a virtual environment.

Setup environment

provisioning the environment

To run RabbitMQ locally can you use docker-compose file present in the root directory. So just run:

docker-compose up -d

Install development dependencies

option 1

Using make target:

make install-deps

option 2

Using pip

pip install -r requirements-dev.txt

Lint

Runs: isort > black > flake8 > mypy.

make lint

Tests

Execute all unit tests.

make tests

Tox

Run Lint and Tests in python: 3.8, 3.9, 3.10 and 3.11.

make tox