Commit bd1e0f27 authored by Theo Steininger's avatar Theo Steininger
Browse files

PEP8 cosmetics.

parent a0b26666
Pipeline #11890 passed with stage
in 10 minutes and 16 seconds
......@@ -223,7 +223,7 @@ class FFTW(Transform):
local_offset_Q, is_local, transform_shape=None,
**kwargs):
# generate a id-tuple which identifies the domain-codomain setting
temp_id = (domain,codomain,transform_shape,is_local)
temp_id = (domain, codomain, transform_shape, is_local)
# generate the plan_and_info object if not already there
if temp_id not in self.info_dict:
......
......@@ -22,7 +22,7 @@ class _TransformationCache(object):
self.cache = {}
def create(self, transformation_class, domain, codomain, module):
key = (domain,codomain,module)
key = (domain, codomain, module)
if key not in self.cache:
self.cache[key] = transformation_class(domain, codomain, module)
......
......@@ -25,7 +25,7 @@ class _PowerIndexFactory(object):
def get_power_index(self, domain, distribution_strategy,
log=False, nbin=None, binbounds=None):
key=(domain,distribution_strategy)
key = (domain, distribution_strategy)
if key not in self.power_indices_storage:
self.power_indices_storage[key] = \
......
......@@ -157,7 +157,6 @@ class Space(DomainObject):
"""
super(Space, self).__init__()
self._ignore_for_hash += ['_global_id']
@abc.abstractproperty
def harmonic(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment