Skip to content

Commit a9da8c4

Browse files
committed
Minor lint fixes
1 parent 68e1230 commit a9da8c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,14 @@ def init_api() -> Garmin | None:
217217
def display_user_info(api: Garmin):
218218
"""Display basic user information with proper error handling."""
219219
# Get user's full name
220-
success, full_name, error_msg = safe_api_call(api.get_full_name)
220+
success, _full_name, _error_msg = safe_api_call(api.get_full_name)
221221
if success:
222222
pass
223223
else:
224224
pass
225225

226226
# Get user profile number from device info
227-
success, device_info, error_msg = safe_api_call(api.get_device_last_used)
227+
success, device_info, _error_msg = safe_api_call(api.get_device_last_used)
228228
if success and device_info and device_info.get("userProfileNumber"):
229229
device_info.get("userProfileNumber")
230230
elif not success:
@@ -256,7 +256,7 @@ def display_daily_stats(api: Garmin):
256256
pass
257257

258258
# Get hydration data
259-
success, hydration, error_msg = safe_api_call(api.get_hydration_data, today)
259+
success, hydration, _error_msg = safe_api_call(api.get_hydration_data, today)
260260
if success and hydration and hydration.get("valueInML"):
261261
hydration_ml = int(hydration.get("valueInML", 0))
262262
hydration_goal = hydration.get("goalInML", 0)

0 commit comments

Comments
 (0)