diff options
author | Dylan Baker <dylanx.c.baker@intel.com> | 2014-12-12 16:44:54 -0800 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-01-28 12:08:10 -0800 |
commit | 5fda6adfbaebe74962337c193ace342f352d24dc (patch) | |
tree | f0f98c02bd976aafdec951cc61989d6263918731 /tests | |
parent | 254e3c2497ea4ae1532072610ba5879e0f05d7b9 (diff) |
gen_dispatch.py: sort imports into groups
PEP8 specifies that imports should be sorted into groups, separated by a
blank line. The first should by core modules, the second should be
system wide modules, and the third local modules.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/util/gen_dispatch.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py index 2623b7da4..34fd83f63 100644 --- a/tests/util/gen_dispatch.py +++ b/tests/util/gen_dispatch.py @@ -27,13 +27,14 @@ Generate C source code from Khronos XML. from __future__ import print_function import argparse -import mako.runtime -import mako.template import os.path import re import sys from collections import namedtuple +import mako.runtime +import mako.template + PIGLIT_TOP_DIR = os.path.join(os.path.dirname(__file__), '..', '..') sys.path.append(PIGLIT_TOP_DIR) |