You should create a virtual environment first with your preferred tool.
Then install the project with poetry:
poetry install
Extraire ses "guesses" en allant dans le local storage de son navigateur, et extraire la valeur de la clé "guesses" et la coller telle-quelle dans un fichier, comme input/guesses.json
.
cemantix-assistant -g ./input/guesses.json
Adding dependencies to the project can be done with a simple:
poetry add <package-name>
Always run black
and isort
on all the code of the package (including the example project):
black src
isort src
Even though black
does a great job a formatting the code, some lint warnings can sneak through it, so
we also use flake8
(with a custom configuration):
flake8 src
To check the type hinting is correct, simply run:
mypy --pretty src