anv: remove spaces around kwargs assignment
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 27 Feb 2019 10:43:40 +0000 (10:43 +0000)
committerEric Engestrom <eric@engestrom.ch>
Fri, 1 Mar 2019 11:20:28 +0000 (11:20 +0000)
pylint complains:
> C0326: No space allowed around keyword argument assignment

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_entrypoints_gen.py

index 1c38a19170c58f7cdae64e42442e69f9faac2bd5..5f53501b35bcedabcb3e483a68499c5122aed812 100644 (file)
@@ -496,7 +496,7 @@ class EntrypointBase(object):
         self.extensions = []
 
 class Entrypoint(EntrypointBase):
-    def __init__(self, name, return_type, params, guard = None):
+    def __init__(self, name, return_type, params, guard=None):
         super(Entrypoint, self).__init__(name)
         self.return_type = return_type
         self.params = params
@@ -539,9 +539,9 @@ def get_entrypoints(doc, entrypoints_to_defines):
             name = command.find('./proto/name').text
             ret_type = command.find('./proto/type').text
             params = [EntrypointParam(
-                type = p.find('./type').text,
-                name = p.find('./name').text,
-                decl = ''.join(p.itertext())
+                type=p.find('./type').text,
+                name=p.find('./name').text,
+                decl=''.join(p.itertext())
             ) for p in command.findall('./param')]
             guard = entrypoints_to_defines.get(name)
             # They really need to be unique