Add a `pep8` tox environment for OpenStack CI.

Change-Id: I99eb652446dfbf328fc7ad4396bc8ffcd1aff66e
This commit is contained in:
Ryan Petrello 2015-04-22 16:00:32 -04:00
parent 147b6659cc
commit 9d7fc9548a
1 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,style
envlist = py27,pep8
[testenv]
distribute = False
@ -15,6 +15,10 @@ deps = flake8
setuptools_git>=0.4
commands = flake8 akanda setup.py
[testenv:pep8]
deps = {[testenv:style]deps}
commands = {[testenv:style]commands}
[testenv:doc]
deps = Sphinx
commands = sphinx-build doc/source doc/build
@ -26,4 +30,4 @@ setenv = NOSE_WITH_COVERAGE=1
commands = {posargs}
[flake8]
ignore = E123,E133,E226,E241,E242,E731
ignore = E123,E133,E226,E241,E242,E731