diff options
author | Yoshihiro Kaneko <ykaneko0929@gmail.com> | 2014-05-13 19:05:33 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-05-14 15:39:33 +0900 |
commit | 6ab117db4f0394f7b7c74764c6eb32a811cc950d (patch) | |
tree | 6378f7c875e72cd9a595af0696448246a9b896b3 | |
parent | 857ec0c01999d0c16fe121b5bb5165b71b111db2 (diff) |
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>
-rwxr-xr-x | run_tests.sh | 3 | ||||
-rw-r--r-- | tox.ini | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh index c48c0696..1ab8aea7 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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 @@ -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 |