Python image to lint, test, and build python packages.
10K+
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.
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
Content type
Image
Digest
sha256:c6eca8eb4…
Size
351.3 MB
Last updated
about 2 months ago
docker pull wpengine/python