diff --git a/Authors b/Authors index 25a3a86ad0df..8045d41f60f7 100644 --- a/Authors +++ b/Authors @@ -25,6 +25,7 @@ Bilal Akhtar Brad Hall Brad McConnell Brendan Maguire +Brian Elliott Brian Lamar Brian Schott Brian Waldon diff --git a/run_tests.sh b/run_tests.sh index cf7e39f0ed2c..37f286e3a9e1 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -112,27 +112,13 @@ function run_pep8 { echo "Running pep8 ..." # Just run PEP8 in current environment # - # NOTE(sirp): W602 (deprecated 3-arg raise) is being ignored for the - # following reasons: - # - # 1. It's needed to preserve traceback information when re-raising - # exceptions; this is needed b/c Eventlet will clear exceptions when - # switching contexts. - # - # 2. There doesn't appear to be an alternative, "pep8-tool" compatible way of doing this - # in Python 2 (in Python 3 `with_traceback` could be used). - # - # 3. Can find no corroborating evidence that this is deprecated in Python 2 - # other than what the PEP8 tool claims. It is deprecated in Python 3, so, - # perhaps the mistake was thinking that the deprecation applied to Python 2 - # as well. - pep8_opts="--ignore=W602 --repeat" + pep8_opts="--repeat" ${wrapper} pep8 ${pep8_opts} ${srcfiles} } function run_hacking { echo "Running hacking compliance testing..." - hacking_opts="--ignore=E202,W602 --repeat" + hacking_opts="--ignore=E202 --repeat" ${wrapper} python tools/hacking.py ${hacking_opts} ${srcfiles} } diff --git a/tools/test-requires b/tools/test-requires index 2395e781a9a4..84d41e7b2b3b 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -6,5 +6,5 @@ mox==0.5.3 nose nosexcover openstack.nose_plugin -pep8==0.6.1 +pep8>=1.0 sphinx>=1.1.2