Skip to content

Commit

Permalink
Make black happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigogiraoserrao committed Dec 15, 2023
1 parent 17cd38f commit 6e21229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widgets/_radio_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def distance(index: int) -> int:
"""
return direction * (index - selected) % len(self.children)

self._selected = min(candidate_indices, key=distance, default=None)
self._selected = min(candidate_indices, key=distance, default=None)

def action_toggle(self) -> None:
"""Toggle the state of the currently-selected button."""
Expand Down

0 comments on commit 6e21229

Please sign in to comment.