mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
pylint: enforce indentation (W0311) (#24039)
* pylint: enforce indentation (W0311) * few more old-commit-hash: 8af20af66ddaa6bc06d7f72f9134aa9afeed3ed8
This commit is contained in:
@@ -25,7 +25,7 @@ def save_log(dest, log_msgs, compress=True):
|
||||
dat = bz2.compress(dat)
|
||||
|
||||
with open(dest, "wb") as f:
|
||||
f.write(dat)
|
||||
f.write(dat)
|
||||
|
||||
|
||||
def remove_ignored_fields(msg, ignore):
|
||||
|
||||
@@ -231,7 +231,7 @@ def ublox_rcv_callback(msg):
|
||||
elif (msg_class, msg_id) in {(2, 1 * 16 + 5), (10, 9)}:
|
||||
return ["ubloxGnss"]
|
||||
else:
|
||||
return []
|
||||
return []
|
||||
|
||||
|
||||
CONFIGS = [
|
||||
|
||||
@@ -61,10 +61,10 @@ def replay_manager_state(s, msgs):
|
||||
rk = Ratekeeper(service_list[s].frequency, print_delay_threshold=None)
|
||||
|
||||
while True:
|
||||
new_m = messaging.new_message('managerState')
|
||||
new_m.managerState.processes = [{'name': name, 'running': True} for name in managed_processes]
|
||||
pm.send(s, new_m)
|
||||
rk.keep_time()
|
||||
new_m = messaging.new_message('managerState')
|
||||
new_m.managerState.processes = [{'name': name, 'running': True} for name in managed_processes]
|
||||
pm.send(s, new_m)
|
||||
rk.keep_time()
|
||||
|
||||
|
||||
def replay_device_state(s, msgs):
|
||||
|
||||
Reference in New Issue
Block a user