unnecessary `list()` called on a list
@@ -184,4 +184,4 @@ def scale_cube(data, kernels):
cube : `~numpy.ndarray`
Array of the shape (len(kernels), data.shape)
"""
- return np.dstack(list([_fftconvolve_wrap(kernel, data) for kernel in kernels]))
+ return np.dstack([_fftconvolve_wrap(kernel, data) for kernel in kernels])
