Index: src/common/tox.ini
===================================================================
--- src/common/tox.ini	(revision 7be94aa85100f4c993d468f2fd33072f98b0231c)
+++ src/common/tox.ini	(revision 3db3d13f479de90ad602b8db92a3413439969cec)
@@ -10,8 +10,9 @@
 	  pytest
 	  pytest-cov
+	  pytest-pep8
 	  coverage
 install_command = pip install -U {opts} {packages}
 commands =
-	pytest --cov=gnuboat_common --cov=bin --cov-append --cov-report=term-missing
+	pytest --cov=gnuboat_common --cov=bin --cov-append --cov-report=term-missing --cov-report=html:tests/reports/coverage-html --pep8
 	
 [testenv:clean]
Index: src/mapservice/codegen/templates/test-requirements.mustache
===================================================================
--- src/mapservice/codegen/templates/test-requirements.mustache	(revision 7be94aa85100f4c993d468f2fd33072f98b0231c)
+++ src/mapservice/codegen/templates/test-requirements.mustache	(revision 3db3d13f479de90ad602b8db92a3413439969cec)
@@ -5,3 +5,4 @@
 pytest
 pytest-cov
+pytest-pep8
 Pillow
Index: src/mapservice/codegen/templates/tox.mustache
===================================================================
--- src/mapservice/codegen/templates/tox.mustache	(revision 7be94aa85100f4c993d468f2fd33072f98b0231c)
+++ src/mapservice/codegen/templates/tox.mustache	(revision 3db3d13f479de90ad602b8db92a3413439969cec)
@@ -8,5 +8,5 @@
 install_command = {toxinidir}/tox_install_command {opts} {packages}
 
-commands = pytest --cov=gnuboat_mapservice --cov-append --cov-report=term-missing
+commands = pytest --cov=gnuboat_mapservice --cov-append --cov-report=term-missing --cov-report=html:reports/coverage-html --pep8
 
 [testenv:clean]
