summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests.sh3
-rw-r--r--tox.ini4
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
diff --git a/tox.ini b/tox.ini
index a83b043f..dfbf2070 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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