Skip to content

Commit

Permalink
Apply Linting & Formatting Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavberi authored and github-actions[bot] committed May 27, 2024
1 parent 01683d6 commit 431c9bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions mtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Event_State_Status(StrEnum):

@strawberry.type
class Event_Status:
state: Event_State_Status = Event_State_Status.incomplete # type: ignore
state: Event_State_Status = Event_State_Status.incomplete # type: ignore
# room: Event_Room_Status = Event_Room_Status.unapproved
# budget: Event_Budget_Status = Event_Budget_Status.unapproved
room: bool = False
Expand All @@ -69,10 +69,10 @@ class Event_Status:
# self.state: Event_State_Status = Event_State_Status.incomplete if state is None else state
# self.room: Event_Room_Status = Event_Room_Status.unapproved if room is None else room
# self.budget: Event_Budget_Status = Event_Budget_Status.unapproved if budget is None else budget

def __init__(
self,
state: Event_State_Status = Event_State_Status.incomplete, # type: ignore
state: Event_State_Status = Event_State_Status.incomplete, # type: ignore
room: bool = False,
budget: bool = False,
cc_approver: str | None = None,
Expand Down
6 changes: 4 additions & 2 deletions mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ def progressEvent(
"room": False,
# or len(event_instance.location) == 0,
"state": Event_State_Status.pending_cc.value,

"cc_approver": None,
"slc_approver": None,
"slo_approver": None,
Expand Down Expand Up @@ -400,7 +399,10 @@ def progressEvent(
student_count = "N/A"
else:
mail_location = ", ".join(
[getattr(Event_Full_Location, loc) for loc in updated_event_instance.location]
[
getattr(Event_Full_Location, loc)
for loc in updated_event_instance.location
]
)

equipment, additional = "N/A", "N/A"
Expand Down

0 comments on commit 431c9bc

Please sign in to comment.