Skip to content

Commit 3279776

Browse files
committed
Linting
1 parent dd7f619 commit 3279776

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

term_timer/browse/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

term_timer/config_edit/sections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
"""

0 commit comments

Comments
 (0)