Skip to content

Commit 868cff3

Browse files
committed
black - now that it's actually running in CI 🎉
1 parent 23f9313 commit 868cff3

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

dash/dash.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,9 @@ def callback(self, *_args, **_kwargs):
959959
960960
961961
"""
962-
output, inputs, state, prevent_initial_call = handle_callback_args(_args, _kwargs)
962+
output, inputs, state, prevent_initial_call = handle_callback_args(
963+
_args, _kwargs
964+
)
963965
callback_id = self._insert_callback(output, inputs, state, prevent_initial_call)
964966
multi = isinstance(output, (list, tuple))
965967

tests/integration/renderer/test_loading_states.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def find_text(spec):
178178
({"update_title": None}, "Dash"),
179179
({"update_title": ""}, "Dash"),
180180
({"update_title": "Hello World"}, "Hello World"),
181-
]
181+
],
182182
)
183183
def test_rdls003_update_title(dash_duo, kwargs, expected_update_title):
184184
app = dash.Dash("Dash", **kwargs)
@@ -192,10 +192,7 @@ def test_rdls003_update_title(dash_duo, kwargs, expected_update_title):
192192
]
193193
)
194194

195-
@app.callback(
196-
Output("output", "children"),
197-
[Input("button", "n_clicks")]
198-
)
195+
@app.callback(Output("output", "children"), [Input("button", "n_clicks")])
199196
def update(n):
200197
with lock:
201198
return n

0 commit comments

Comments
 (0)