diff options
author | Kali Kaneko <kali@leap.se> | 2015-08-04 14:53:59 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-08-04 14:53:59 -0400 |
commit | 7e675cbd9b1d9bc2ae22828efdd95799d07e79dd (patch) | |
tree | 62c50b780e0105af995bc6824be52f7e993c8392 | |
parent | 981c2a231384a67077061b29708e6feef49c78d8 (diff) |
[style] add pep8 config options to setup.cfg
-rwxr-xr-x | run_tests.sh | 4 | ||||
-rw-r--r-- | setup.cfg | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/run_tests.sh b/run_tests.sh index 13050872..0d7e7463 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -113,9 +113,7 @@ function run_pep8 { echo "Running pep8 ..." srcfiles="src/leap" # Just run PEP8 in current environment - pep8_opts="--ignore=E202,W602 --exclude=*_rc.py,ui_*,_version.py --repeat" - - ${wrapper} pep8 ${pep8_opts} ${srcfiles} + ${wrapper} flake8 ${pep8_opts} ${srcfiles} } # XXX we cannot run tests that need X server @@ -6,3 +6,7 @@ all_files = 1 [upload_sphinx] upload-dir = docs/_build/html repository = https://pypi.python.org/pypi + +[pep8] +ignore = E731 +exclude = *_rc.py,ui_*,_version.py |