Skip to content

Commit

Permalink
Pylint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asterbot committed Nov 12, 2024
1 parent fe9631a commit f6d0f9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/geolocation/rudimentary_geolocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ def run(
)
if not result:
return False, None

# Get Pylance to stop complaining
assert perspective_transform_matrix is not None

# pylint: disable=duplicate-code
detections_in_world = []
for detection in detections.detections:
result, detection_world = self.__convert_detection_to_world_from_image(
Expand Down

0 comments on commit f6d0f9d

Please sign in to comment.