Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Oct 12, 2023
1 parent 6111236 commit 916b670
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions gwcs/coordinate_frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,10 +536,10 @@ class SpectralFrame(CoordinateFrame):
def __init__(self, axes_order=(0,), reference_frame=None, unit=None,
axes_names=None, name=None, axis_physical_types=None):

super(SpectralFrame, self).__init__(naxes=1, axes_type="SPECTRAL", axes_order=axes_order,
axes_names=axes_names, reference_frame=reference_frame,
unit=unit, name=name,
axis_physical_types=axis_physical_types)
super().__init__(naxes=1, axes_type="SPECTRAL", axes_order=axes_order,
axes_names=axes_names, reference_frame=reference_frame,
unit=unit, name=name,
axis_physical_types=axis_physical_types)

@property
def _default_axis_physical_types(self):
Expand Down Expand Up @@ -759,9 +759,9 @@ class StokesFrame(CoordinateFrame):
"""

def __init__(self, axes_order=(0,), axes_names=("stokes",), name=None, axis_physical_types=None):
super(StokesFrame, self).__init__(1, ["STOKES"], axes_order, name=name,
axes_names=axes_names, unit=u.one,
axis_physical_types=axis_physical_types)
super().__init__(1, ["STOKES"], axes_order, name=name,
axes_names=axes_names, unit=u.one,
axis_physical_types=axis_physical_types)

@property
def _default_axis_physical_types(self):
Expand Down Expand Up @@ -799,10 +799,10 @@ class Frame2D(CoordinateFrame):
def __init__(self, axes_order=(0, 1), unit=(u.pix, u.pix), axes_names=('x', 'y'),
name=None, axis_physical_types=None):

super(Frame2D, self).__init__(naxes=2, axes_type=["SPATIAL", "SPATIAL"],
axes_order=axes_order, name=name,
axes_names=axes_names, unit=unit,
axis_physical_types=axis_physical_types)
super().__init__(naxes=2, axes_type=["SPATIAL", "SPATIAL"],
axes_order=axes_order, name=name,
axes_names=axes_names, unit=unit,
axis_physical_types=axis_physical_types)

@property
def _default_axis_physical_types(self):
Expand Down

0 comments on commit 916b670

Please sign in to comment.