File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def action_next_panel(self) -> None:
107107 self .query_one (DetailPanel ),
108108 ]
109109
110- if isinstance (focused , (SessionsPanel , SolvesPanel , DetailPanel )):
110+ if isinstance (focused , (SessionsPanel | SolvesPanel | DetailPanel )):
111111 current_index = panels .index (focused )
112112 next_index = (current_index + 1 ) % len (panels )
113113 panels [next_index ].focus ()
@@ -123,7 +123,7 @@ def action_previous_panel(self) -> None:
123123 self .query_one (DetailPanel ),
124124 ]
125125
126- if isinstance (focused , (SessionsPanel , SolvesPanel , DetailPanel )):
126+ if isinstance (focused , (SessionsPanel | SolvesPanel | DetailPanel )):
127127 current_index = panels .index (focused )
128128 previous_index = (current_index - 1 ) % len (panels )
129129 panels [previous_index ].focus ()
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def finish_loading(self) -> None:
9898 def load_config (self ) -> None :
9999 """Load configuration from file. Override in subclasses."""
100100
101- def get_config_data ( # noqa : PLR6301
101+ def get_config_data ( # noqa: PLR6301
102102 self ,
103103 ) -> dict [str , dict [str , str | int | float | bool | list [str ]]]:
104104 """
You can’t perform that action at this time.
0 commit comments