Skip to content

Commit

Permalink
Reformatting with Black.
Browse files Browse the repository at this point in the history
  • Loading branch information
NateMeyvis committed Jun 5, 2022
1 parent 5c9f743 commit 4f98fe8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions main.py
Expand Up @@ -14,10 +14,12 @@
task_repo = SQLiteTaskRepository("tasks.db")
coordinator_repo = SQLiteCoordinatorRepository("tasks.db")


def task_adder(add_task_event: AddTask):
task_repo.add_task(event.task)
if event.coordinator is not None:
raise NotImplementedError
task_repo.add_task(event.task)
if event.coordinator is not None:
raise NotImplementedError


def event_handler(event: Event):
if isinstance(event, AddTask):
Expand Down

0 comments on commit 4f98fe8

Please sign in to comment.