Skip to content

Commit

Permalink
chore: ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Oct 1, 2024
1 parent 665d7fd commit 764f399
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion smassh/ui/screens/confirm.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def render(self) -> RenderableType:


class MessageDialogue(Widget):

DEFAULT_CSS = """
MessageDialogue {
layout: grid;
Expand Down
1 change: 0 additions & 1 deletion smassh/ui/screens/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def get_section(self, setting: Setting) -> str:
raise ValueError(f"Setting {setting} not found in menu")

def compose(self) -> ComposeResult:

with SettingGrid():
with SettingStrip():
yield Bracket("left")
Expand Down
1 change: 0 additions & 1 deletion smassh/ui/widgets/palette/palette_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def get_current(self) -> str:
raise NotImplementedError

def apply_filter(self, filter_text: str) -> None:

def valid_option(option_text: str) -> bool:
if not filter_text:
return True
Expand Down
1 change: 0 additions & 1 deletion smassh/ui/widgets/settings/danger_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

class ResetConfig(Confirm):
def __init__(self) -> None:

def callback():
config_parser.reset()
for setting in self.screen.query(BaseOption):
Expand Down
1 change: 0 additions & 1 deletion smassh/ui/widgets/settings/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def on_click(self):


class Confirm(BaseOption):

def __init__(
self,
setting_name: str,
Expand Down

0 comments on commit 764f399

Please sign in to comment.