summaryrefslogtreecommitdiff
path: root/piglit-print-commands.py
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2015-01-09 19:01:44 -0800
committerVinson Lee <vlee@freedesktop.org>2015-01-10 15:59:02 -0800
commitfdf804da1479e216bb1eb7f84984a29d266ba0a5 (patch)
tree89c669a14c32c95ec4181f7bc7c2e9fb6145314a /piglit-print-commands.py
parent7de022d3f4e26fe4f6a7a2f3e53a5c7e42242223 (diff)
piglit-print-commands.py: PEP8 fixes.
piglit-print-commands.py:41:32: E251 unexpected spaces around keyword / parameter equals piglit-print-commands.py:41:34: E251 unexpected spaces around keyword / parameter equals piglit-print-commands.py:42:31: E221 multiple spaces before operator piglit-print-commands.py:42:31: E251 unexpected spaces around keyword / parameter equals piglit-print-commands.py:42:34: E251 unexpected spaces around keyword / parameter equals piglit-print-commands.py:43:32: E251 unexpected spaces around keyword / parameter equals piglit-print-commands.py:43:34: E251 unexpected spaces around keyword / parameter equals piglit-print-commands.py:44:29: E221 multiple spaces before operator piglit-print-commands.py:44:29: E251 unexpected spaces around keyword / parameter equals piglit-print-commands.py:44:34: E251 unexpected spaces around keyword / parameter equals piglit-print-commands.py:44:80: E501 line too long (89 > 79 characters) piglit-print-commands.py:57:24: E128 continuation line under-indented for visual indent Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'piglit-print-commands.py')
-rwxr-xr-xpiglit-print-commands.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/piglit-print-commands.py b/piglit-print-commands.py
index af24902e8..e32ec704c 100755
--- a/piglit-print-commands.py
+++ b/piglit-print-commands.py
@@ -38,10 +38,11 @@ def main():
core.get_config()
parser = argparse.ArgumentParser(sys.argv)
parser.add_argument("-t", "--include-tests",
- default = [],
- action = "append",
- metavar = "<regex>",
- help = "Run only matching tests (can be used more than once)")
+ default=[],
+ action="append",
+ metavar="<regex>",
+ help="Run only matching tests "
+ "(can be used more than once)")
parser.add_argument("-x", "--exclude-tests",
default=[],
action="append",
@@ -54,7 +55,7 @@ def main():
args = parser.parse_args()
opts = core.Options(exclude_filter=args.exclude_tests,
- include_filter=args.include_tests)
+ include_filter=args.include_tests)
# Change to the piglit's path
piglit_dir = path.dirname(path.realpath(sys.argv[0]))