Skip to content

Commit

Permalink
black and isort clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
k8culver committed Aug 6, 2024
1 parent 9c790f0 commit 35c5ce3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
print(
"The app will not show live code updates and the Dash debug menu will be hidden.",
"If editting code while the app is running, run the app with `python app.py --debug`.\n",
sep="\n"
sep="\n",
)

# Generates css file and variable using THEME_COLOR and THEME_COLOR_SECONDARY settings
Expand Down
4 changes: 3 additions & 1 deletion demo_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ def generate_settings_form() -> html.Div:
checklist_options = generate_options(CHECKLIST)
radio_options = generate_options(RADIO)

solver_options = [{"label": solver_type.label, "value": solver_type.value} for solver_type in SolverType]
solver_options = [
{"label": solver_type.label, "value": solver_type.value} for solver_type in SolverType
]

return html.Div(
className="settings",
Expand Down
3 changes: 2 additions & 1 deletion src/demo_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

class SolverType(Enum):
"""Add a list of solver options here. If this demo only requires 1 solver,
this functionality can be removed.
this functionality can be removed.
"""

SOLVER_1 = 0
SOLVER_2 = 1

Expand Down

0 comments on commit 35c5ce3

Please sign in to comment.