[Piglit] [PATCH] gen_dispatch.py: PEP 8 fixes

Dylan Baker baker.dylan.c at gmail.com
Fri Jan 23 09:18:50 PST 2015


Reviewed-by: Dylan Baker <dylanx.c.baker at intel.com>

On Thursday, January 22, 2015 21:58:41 Vinson Lee wrote:
> gen_dispatch.py:81:14: E241 multiple spaces after ':'
> gen_dispatch.py:81:27: E241 multiple spaces after ','
> gen_dispatch.py:145:5: E303 too many blank lines (2)
> 
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>  tests/util/gen_dispatch.py | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tests/util/gen_dispatch.py b/tests/util/gen_dispatch.py
> index 233a6fb..2074c5a 100644
> --- a/tests/util/gen_dispatch.py
> +++ b/tests/util/gen_dispatch.py
> @@ -78,7 +78,7 @@ class DispatchCode(object):
>                       ('name', 'base_version_int', 'c_piglit_token'))
>  
>      APIS = {
> -        'gl':    Api('gl',    10, 'PIGLIT_DISPATCH_GL'),
> +        'gl': Api('gl', 10, 'PIGLIT_DISPATCH_GL'),
>          'gles1': Api('gles1', 11, 'PIGLIT_DISPATCH_ES1'),
>          'gles2': Api('gles2', 20, 'PIGLIT_DISPATCH_ES2'),
>      }
> @@ -141,7 +141,6 @@ class EnumCode(object):
>              gl_registry=gl_registry,
>              sorted_unique_enums_in_default_namespace=enums)
>  
> -
>      @classmethod
>      def get_unique_enums_in_default_namespace(cls, gl_registry):
>          def cmp_enums(x, y):
> -- 
> 2.2.1
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150123/297b0d6a/attachment.sig>


More information about the Piglit mailing list