Skip to content

Commit

Permalink
chore: ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Sep 23, 2024
1 parent 5b4cc21 commit 8c0deef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions dooit/ui/screens/help.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .base import BaseScreen


class HelpScreen(BaseScreen):
"""
Help Screen to view Help Menu
Expand Down
1 change: 0 additions & 1 deletion dooit/ui/screens/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def compose(self):
yield BarSwitcher()

async def handle_key(self, event: events.Key) -> bool:

# NOTE: Investigate why keys are sent to this screen
if self.app.screen != self:
return True
Expand Down
5 changes: 3 additions & 2 deletions tests/generate_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

f = faker.Faker()


def gen_todo(parent):
words = randint(4, 9)
description = ' '.join(f.words(nb=words))
description = " ".join(f.words(nb=words))
due = f.date_time()

todo = Todo(description=description, due=due)
Expand All @@ -28,7 +29,7 @@ def gen_todos(parent, count):

def gen_workspace(parent=None):
words = randint(1, 2)
description = ' '.join(f.words(nb=words))
description = " ".join(f.words(nb=words))

workspace = Workspace(description=description, parent_workspace=parent)
workspace.save()
Expand Down

0 comments on commit 8c0deef

Please sign in to comment.