Structure is based on this article. Source code can be found in the src
folder, and tests in the tests
folder.
To install the package (development mode):
➤ pip install -e ".[develop]"
(can be long, because of gRPC installation/building)
We use tox
for the tests. This ensure a clear separation between the development environment and the test environment.
To launch the tests, run the tox
command:
It first starts with a bunch of checks (flask8
and others) and then launch the tests using python 3.
You can use pytest
for the tests:
➤ pytest