diff options
author | Pauli Virtanen <pav@iki.fi> | 2015-08-24 19:40:19 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2015-08-24 19:40:19 +0300 |
commit | 02ae0e3ea9fb3567c12e8d0c93ae8dbd4977623e (patch) | |
tree | f940afa62e62f1f87b4bb6421cc3beced460250d /runtests.py | |
parent | 8f31e5e1761bbfba5eb6e71acab6734bfa468e2d (diff) | |
download | numpy-02ae0e3ea9fb3567c12e8d0c93ae8dbd4977623e.tar.gz |
WHT: break long lines + pep8
Diffstat (limited to 'runtests.py')
-rwxr-xr-x | runtests.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/runtests.py b/runtests.py index 44468933b..d7ee0c3cd 100755 --- a/runtests.py +++ b/runtests.py @@ -127,7 +127,8 @@ def main(argv): gcov_reset_counters() if args.debug and args.bench: - print("*** Benchmarks should not be run against debug version; remove -g flag ***") + print("*** Benchmarks should not be run against debug " + "version; remove -g flag ***") if not args.no_build: site_dir = build_project(args) @@ -210,19 +211,23 @@ def main(argv): # Check for uncommitted files if commit_b == 'HEAD': - r1 = subprocess.call(['git', 'diff-index', '--quiet', '--cached', 'HEAD']) + r1 = subprocess.call(['git', 'diff-index', '--quiet', + '--cached', 'HEAD']) r2 = subprocess.call(['git', 'diff-files', '--quiet']) if r1 != 0 or r2 != 0: print("*"*80) - print("WARNING: you have uncommitted changes --- these will NOT be benchmarked!") + print("WARNING: you have uncommitted changes --- " + "these will NOT be benchmarked!") print("*"*80) # Fix commit ids (HEAD is local to current repo) - p = subprocess.Popen(['git', 'rev-parse', commit_b], stdout=subprocess.PIPE) + p = subprocess.Popen(['git', 'rev-parse', commit_b], + stdout=subprocess.PIPE) out, err = p.communicate() commit_b = out.strip() - p = subprocess.Popen(['git', 'rev-parse', commit_a], stdout=subprocess.PIPE) + p = subprocess.Popen(['git', 'rev-parse', commit_a], + stdout=subprocess.PIPE) out, err = p.communicate() commit_a = out.strip() |