Skip to content

Commit

Permalink
Simplify __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Jul 17, 2023
1 parent 63b9e63 commit beb5fad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
10 changes: 4 additions & 6 deletions ctapipe/calib/camera/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
from .calibrator import CameraCalibrator # noqa: F401
from .gainselection import GainSelector # noqa: F401

# __all__ = [
# "CameraCalibrator",
# "GainSelector",
# ]

__all__ = []
__all__ = [
# "CameraCalibrator",
# "GainSelector",
]
16 changes: 8 additions & 8 deletions ctapipe/instrument/camera/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
from .geometry import CameraGeometry, PixelShape, UnknownPixelShapeWarning # noqa: F401
from .readout import CameraReadout # noqa: F401

# __all__ = [
# "CameraDescription",
# "CameraGeometry",
# "PixelShape",
# "UnknownPixelShapeWarning",
# "CameraReadout",
# ]
__all__ = []
# commented out due to sphinx issue with classes being defined in 3 places
__all__ = [
# "CameraDescription",
# "CameraGeometry",
# "PixelShape",
# "UnknownPixelShapeWarning",
# "CameraReadout",
]

0 comments on commit beb5fad

Please sign in to comment.