A Python 3.6 seed app with linting, testing, and Docker integration.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
.pylintrc
Dockerfile
README.md
dev-requirements.txt
requirements.txt
setup.py
tox.ini

README.md

Python Seed App

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.

Setup

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

Testing

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

Misc Notes

  • Make sure and edit the package title in setup.py to reflect your app name