Skip to content

Commit 3e2155a

Browse files
committed
fixing for lint
1 parent c56bb70 commit 3e2155a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

components/dash-core-components/tests/integration/loading/test_loading_component.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ def updateDiv(n_clicks):
690690

691691
assert dash_dcc.get_logs() == []
692692

693+
693694
# multiple components, only one triggers the spinner
694695
def test_ldcp017_loading_component_target_components_duplicates(dash_dcc):
695696

@@ -706,7 +707,7 @@ def test_ldcp017_loading_component_target_components_duplicates(dash_dcc):
706707
],
707708
className="loading-1",
708709
target_components={"btn-2": "children"},
709-
debug=True
710+
debug=True,
710711
)
711712
],
712713
id="root",
@@ -720,9 +721,11 @@ def updateDiv1(n_clicks):
720721

721722
return "content 1"
722723

723-
@app.callback(Output("btn-2", "children", allow_duplicate=True),
724-
[Input("btn-1", "n_clicks")],
725-
prevent_initial_call=True)
724+
@app.callback(
725+
Output("btn-2", "children", allow_duplicate=True),
726+
[Input("btn-1", "n_clicks")],
727+
prevent_initial_call=True,
728+
)
726729
def updateDiv2(n_clicks):
727730
if n_clicks:
728731
with lock:

0 commit comments

Comments
 (0)