- clone/download this repo &
cd
into it - make sure you have python and
pipenv
installed on your machine - run
$ pipenv install
This doesn't work yet unless you change return
to print
in the function return statement but you can test it (see below)
$ pipenv run python app.py
$ pipenv run pytest
$ pipenv run pytest --cov --cov-fail-under=100
git commit --no-verify
and git push --no-verify
to skip pre-commit hooks 😏
I have not yet researched the correct conventions for python nor how to structure a python project, please don't hate - this is a work in progress/noobie playground.
re-add __init__.py
where the functions are to use them in app.py
; move tests to another directory - figure out how to hook up tests to methods in another directory