await self.cmd_stop(player_id)
if player_id not in parent_player.can_sync_with:
raise RuntimeError(
- "Player %s can not be synced with %s",
- child_player.display_name,
- parent_player.display_name,
+ f"Player {child_player.display_name} can not "
+ f"be synced with {parent_player.display_name}",
)
# all checks passed, forward command to the player provider
player_provider = self.get_player_provider(player_id)
"D213", # Conflicts with other rules
"D417", # False positives in some occasions
"EM101", # Just annoying, not really useful
+ "EM102", # Just annoying, not really useful
"FIX002", # Just annoying, not really useful
"PLR2004", # Just annoying, not really useful
"PD011", # Just annoying, not really useful