Skip to content

Commit 5554ee2

Browse files
added pylint ignores for unused variables
1 parent a69cb54 commit 5554ee2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

modules/bootcamp/detect_landing_pad.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,12 @@ def __init__(self, class_private_create_key: object, model: ultralytics.YOLO) ->
6464
Private constructor, use create() method.
6565
"""
6666
assert class_private_create_key is DetectLandingPad.__create_key, "Use create() method"
67-
67+
# This will be used later by bootcampers
68+
# pylint: disable=unused-private-member
6869
self.__model = model
70+
# pylint: enable=unused-private-member
6971

72+
# pylint: disable=unused-argument, unused-variable
7073
def run(self, image: np.ndarray) -> "tuple[list[bounding_box.BoundingBox], np.ndarray]":
7174
"""
7275
Converts an image into a list of bounding boxes.
@@ -116,3 +119,8 @@ def run(self, image: np.ndarray) -> "tuple[list[bounding_box.BoundingBox], np.nd
116119
# ============
117120
# ↑ BOOTCAMPERS MODIFY ABOVE THIS COMMENT ↑
118121
# ============
122+
123+
# pylint: enable=unused-argument, unused-variable
124+
125+
126+
# pylint: enable=too-few-public-methods

0 commit comments

Comments
 (0)