Run pyformat on all the toolchain-utils files.
This gets rid of a lot of lint issues.
Ran by doing this:
for f in *.py; do echo -n "$f " ; if [ -x $f ]; then pyformat -i
--remove_trailing_comma --yapf --force_quote_type=double $f ; else
pyformat -i --remove_shebang --remove_trailing_comma --yapf
--force_quote_type=double $f ; fi ; done
BUG=chromium:567921
TEST=Ran simple crosperf run.
Change-Id: I59778835fdaa5f706d2e1765924389f9e97433d1
Reviewed-on: https://chrome-internal-review.googlesource.com/242031
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@google.com>
diff --git a/run_tests.py b/run_tests.py
index 07174cb..11bbb8c 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -1,13 +1,12 @@
#!/usr/bin/python
#
# Copyright 2010 Google Inc. All Rights Reserved.
-
"""Script to wrap run_remote_tests.sh script.
This script calls run_remote_tests.sh with standard tests.
"""
-__author__ = "asharif@google.com (Ahmad Sharif)"
+__author__ = 'asharif@google.com (Ahmad Sharif)'
import optparse
import os
@@ -21,8 +20,9 @@
def Main(argv):
"""The main function."""
- print "This script is deprecated. Use crosperf for running tests."
+ print 'This script is deprecated. Use crosperf for running tests.'
return 1
-if __name__ == "__main__":
+
+if __name__ == '__main__':
sys.exit(Main(sys.argv))