ruff: check newline (#30668)

* check newline

* nothing catches this
This commit is contained in:
Shane Smiskol
2023-12-09 13:24:18 -08:00
committed by GitHub
parent aa744e8437
commit 97da129e11
20 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -19,4 +19,4 @@ class CarlaBridge(SimulatorBridge):
client.set_timeout(5)
return CarlaWorld(client, high_quality=self.high_quality, dual_camera=self.dual_camera,
num_selected_spawn_point=self.num_selected_spawn_point, town=self.town)
num_selected_spawn_point=self.num_selected_spawn_point, town=self.town)
@@ -96,4 +96,4 @@ def metadrive_process(dual_camera: bool, config: dict, camera_array, controls_re
# wide_road_image = get_cam_as_rgb("rgb_wide")
road_image[...] = get_cam_as_rgb("rgb_road")
rk.keep_time()
rk.keep_time()
+1 -1
View File
@@ -67,4 +67,4 @@ class Camerad:
0.0, 0.0, 1.0]
}
setattr(dat, pub_type, msg)
self.pm.send(pub_type, dat)
self.pm.send(pub_type, dat)
+1 -1
View File
@@ -91,4 +91,4 @@ class World(ABC):
@abstractmethod
def reset(self):
pass
pass
+1 -1
View File
@@ -116,4 +116,4 @@ class SimulatedCar:
if self.idx % 50 == 0: # only send panda states at 2hz
self.send_panda_state(simulator_state)
self.idx += 1
self.idx += 1
+1 -1
View File
@@ -122,4 +122,4 @@ class SimulatedSensors:
if (now - self.last_perp_update) > 0.25:
self.send_peripheral_state()
self.last_perp_update = now
self.last_perp_update = now