This is a simple skeleton for a generic Python (3.6.5) app. It comes loaded with:
- tox
- pytest
- pylint
As well a .gitignore, .pylintrc config file, and simple directory structure employing the src pattern.
The Dockerfile requires all the usual commands. To build the image:
docker build -t seed-app .
Then to run the image, executing the manual invoicing code.
docker run -it seed-app
To find out more info about the testing configuration, check out the tox.ini file.
Run the test suite:
tox
Run the linter:
tox -e lint
- Make sure and edit the package title in
setup.pyto reflect your app name