Sign inSign up

wpengine/python

By wpengine

Updated about 2 months ago

Python image to lint, test, and build python packages.

Image
0

10K+

wpengine/python repository overview

Python

Python image to lint, test, and build python packages.

Uses the python:3.5 image which also includes python 2.7 for ease of testing both versions.

Includes

Example usage

tox.ini

[flake8]
max-line-length = 120
exclude: .git,.venv,.tox

[tox]
envlist = py27,py35

[testenv]
usedevelop = True
sitepackages = False
deps =
  -rrequirements.txt
commands =
  py{27,35}: nosetests

lint, test, and build:

docker run --rm -t -v $PWD:/workspace wpengine/python flake8
docker run --rm -t -v $PWD:/workspace wpengine/python tox
docker run --rm -t -v $PWD:/workspace wpengine/python paver build

Tag summary

Content type

Image

Digest

sha256:c6eca8eb4

Size

351.3 MB

Last updated

about 2 months ago

docker pull wpengine/python