add pep8 options to tox.ini

Add the pep8 section to tox.ini and specify ignoring E113.
Many E113 errors appeared on comments. It seems a bug of pep8, so it can be ignored.

Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Yoshihiro Kaneko 2014-05-13 19:05:33 +09:00 committed by FUJITA Tomonori
parent 857ec0c019
commit 6ab117db4f
2 changed files with 5 additions and 2 deletions

View File

@ -106,8 +106,7 @@ run_pylint() {
run_pep8() {
echo "Running pep8 ..."
PEP8_EXCLUDE="vcsversion.py,*.pyc,contrib,dictconfig.py"
PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --repeat --show-source"
PEP8_OPTIONS="--repeat --show-source"
PEP8_INCLUDE="ryu setup*.py"
PEP8_LOG=pep8.log
${wrapper} pep8 $PEP8_OPTIONS $PEP8_INCLUDE | tee $PEP8_LOG

View File

@ -7,3 +7,7 @@ deps = -U
-r{toxinidir}/tools/test-requires
commands =
python ryu/tests/run_tests.py
[pep8]
exclude = vcsversion.py,.pyc,ryu/contrib,dictconfig.py
ignore = E113