Skip to content

Commit a1f7d3a

Browse files
committed
ensured fcode passed "black" linter
1 parent 63cfd13 commit a1f7d3a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tests/integration/hitl/pixhawk_param_testing/parameter_testing_logic.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def fetch_all_params_mavlink(
140140
- decrypts and strips messages into values
141141
"""
142142
# imported here so other modules can import this file without pymavlink
143-
from pymavlink import mavutil # pylint: disable=import-outside-toplevel
143+
from pymavlink import mavutil # pylint: disable=import-outside-toplevel
144144

145145
# checks if vehicle is alive
146146
connection = mavutil.mavlink_connection(address, baud=baud)
@@ -231,10 +231,7 @@ def main() -> int:
231231
if missing:
232232
print(f"- Missing ({len(missing)}): {missing}")
233233
if mismatches:
234-
lines = [
235-
f"{name}: expected={exp} actual={act}"
236-
for name, exp, act in mismatches
237-
]
234+
lines = [f"{name}: expected={exp} actual={act}" for name, exp, act in mismatches]
238235
print(f"- Mismatches ({len(mismatches)}):")
239236
print(" " + "\n ".join(lines))
240237
if extras:

0 commit comments

Comments
 (0)