Sbozzolo / kuibit

Redundant list comprehension can be replaced using generator PYL-R1728
Performance
Minor
1 occurrence in this check
Consider using a generator instead 'tuple(slice(ghost_zones, -ghost_zones) for ghost_zones in self.num_ghost)'
 952
 953        new_grid = self.grid.ghost_zones_removed()
 954        # We remove the borders from the data using the slicing operator
 955        slicer = tuple( 956            [
 957                slice(ghost_zones, -ghost_zones)
 958                for ghost_zones in self.num_ghost