Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 516 Bytes

File metadata and controls

33 lines (25 loc) · 516 Bytes

Python exit gracefully example

Initial setup

Create virtualenv with all dependencies using make command:

make setup

Execute

source .venv/bin/activate
python python_exit_gracefully_example/main.py

Update requirements

make update-reqs

Code linting

Code linting has been done using (black)[https://github.com/psf/black] and (isort)[https://pycqa.github.io/isort/].

source .venv/bin/activate
make lint

Execute tox

tox -e tests,pep8