Skip to content

Commit

Permalink
Ignore unused import warnings
Browse files Browse the repository at this point in the history
Ignore unused import warnings in ``ctapipe/calib/camera/__init__.py``
``ctapipe/instrument/camera/__init__.py`` using ``noqa: F401``.
This will allow the linting CI to run successfully, while still allowing
the docs to be built with ``automodapi``.
  • Loading branch information
aknierim committed Jul 10, 2023
1 parent a99555b commit 246639f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ctapipe/calib/camera/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Camera calibration module.
"""

from .calibrator import CameraCalibrator
from .gainselection import GainSelector
from .calibrator import CameraCalibrator # noqa: F401
from .gainselection import GainSelector # noqa: F401

# __all__ = [
# "CameraCalibrator",
Expand Down
6 changes: 3 additions & 3 deletions ctapipe/instrument/camera/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .description import CameraDescription
from .geometry import CameraGeometry, UnknownPixelShapeWarning, PixelShape
from .readout import CameraReadout
from .description import CameraDescription # noqa: F401
from .geometry import CameraGeometry, UnknownPixelShapeWarning, PixelShape # noqa: F401
from .readout import CameraReadout # noqa: F401

# __all__ = [
# "CameraDescription",
Expand Down

0 comments on commit 246639f

Please sign in to comment.