Add a `pep8` tox environment for OpenStack CI.
Change-Id: I99eb652446dfbf328fc7ad4396bc8ffcd1aff66e
This commit is contained in:
parent
147b6659cc
commit
9d7fc9548a
8
tox.ini
8
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue