@@ -407,9 +407,7 @@ async def _cmd_activities(client: RouvyAsyncApiClient, args: argparse.Namespace)
407407
408408
409409async def _cmd_activity_stats (client : RouvyAsyncApiClient , args : argparse .Namespace ) -> None :
410- stats : list [WeeklyActivityStats ] = await client .async_get_activity_stats (
411- args .year , args .month
412- )
410+ stats : list [WeeklyActivityStats ] = await client .async_get_activity_stats (args .year , args .month )
413411
414412 if args .json_output :
415413 _json_out (_as_dict (stats ))
@@ -609,10 +607,7 @@ async def _cmd_routes(client: RouvyAsyncApiClient, args: argparse.Namespace) ->
609607 for route in routes :
610608 dist_km = route .distance_m / 1000.0
611609 name = (route .name [:32 ] + "..." ) if len (route .name ) > 35 else route .name
612- print (
613- f" { name :<35s} { dist_km :>9.1f} km { route .elevation_m :>9.0f} m "
614- f"{ route .country_code } "
615- )
610+ print (f" { name :<35s} { dist_km :>9.1f} km { route .elevation_m :>9.0f} m { route .country_code } " )
616611 print ("=" * 70 )
617612
618613
@@ -654,9 +649,7 @@ async def _cmd_zones(client: RouvyAsyncApiClient, args: argparse.Namespace) -> N
654649# ---------------------------------------------------------------------------
655650
656651
657- async def _cmd_register_challenge (
658- client : RouvyAsyncApiClient , args : argparse .Namespace
659- ) -> None :
652+ async def _cmd_register_challenge (client : RouvyAsyncApiClient , args : argparse .Namespace ) -> None :
660653 success : bool = await client .async_register_challenge (args .slug )
661654
662655 if args .json_output :
@@ -669,9 +662,7 @@ async def _cmd_register_challenge(
669662 print (f"✗ Failed to register for challenge: { args .slug } " )
670663
671664
672- async def _cmd_register_event (
673- client : RouvyAsyncApiClient , args : argparse .Namespace
674- ) -> None :
665+ async def _cmd_register_event (client : RouvyAsyncApiClient , args : argparse .Namespace ) -> None :
675666 success : bool = await client .async_register_event (args .event_id )
676667
677668 if args .json_output :
@@ -707,8 +698,7 @@ async def _cmd_set(client: RouvyAsyncApiClient, args: argparse.Namespace) -> Non
707698 continue
708699 label = _format_profile_field (field_name )
709700 is_updated = any (
710- uk in field_name .lower () or field_name .lower () in uk .lower ()
711- for uk in update_keys
701+ uk in field_name .lower () or field_name .lower () in uk .lower () for uk in update_keys
712702 )
713703 marker = " ← UPDATED" if is_updated else ""
714704 print (f"{ label :25s} : { value } { marker } " )
@@ -820,9 +810,7 @@ async def _cmd_set_zones(client: RouvyAsyncApiClient, args: argparse.Namespace)
820810 print (f"✓ { args .zone_type } zones updated to { zone_values } " )
821811
822812
823- async def _cmd_unregister_event (
824- client : RouvyAsyncApiClient , args : argparse .Namespace
825- ) -> None :
813+ async def _cmd_unregister_event (client : RouvyAsyncApiClient , args : argparse .Namespace ) -> None :
826814 success : bool = await client .async_unregister_event (args .event_id )
827815
828816 if args .json_output :
0 commit comments