Skip to content

Commit

Permalink
fix(ci): small Ruff lints
Browse files Browse the repository at this point in the history
  • Loading branch information
onkoe committed May 22, 2024
1 parent adfa7ca commit 852f21f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion libs/aruco_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def find_marker(self, id1: int, id2: int = -1, cameras: int = -1) -> bool:

for i in range(cameras):
ret, frame = self.caps[i].read()
if self.is_marker_found(id1, frame, id2=id2) == True:
if self.is_marker_found(id1, frame, id2=id2):
return True

return False
2 changes: 0 additions & 2 deletions libs/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
from threading import Timer
import configparser
import os
from typing import Tuple
import math
from time import sleep
import sys
from loguru import logger

# FIXME(bray): we should be building rovermap into a package. that'd make importing easier
Expand Down

0 comments on commit 852f21f

Please sign in to comment.