Skip to content

Commit cd1c8b3

Browse files
committed
make black and flake8 play nice together?
1 parent d8843a3 commit cd1c8b3

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

tests/integration/dropdown/test_visibility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_ddvi001_fixed_table(dash_duo):
3030
fixed_rows=dict(headers=True),
3131
fixed_columns=dict(headers=True),
3232
data=[
33-
{"a": "a" + str(x), "b": "b" + str(x), "c": "c" + str(x),}
33+
{"a": "a" + str(x), "b": "b" + str(x), "c": "c" + str(x)}
3434
for x in range(0, 20)
3535
],
3636
),

tests/integration/graph/test_graph_basics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
def test_grbs001_graph_without_ids(dash_dcc, is_eager):
1616
app = dash.Dash(__name__, eager_loading=is_eager)
1717
app.layout = html.Div(
18-
[dcc.Graph(className="graph-no-id-1"), dcc.Graph(className="graph-no-id-2"),]
18+
[dcc.Graph(className="graph-no-id-1"), dcc.Graph(className="graph-no-id-2")]
1919
)
2020

2121
dash_dcc.start_server(app)

tests/integration/graph/test_graph_varia.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_graphs_with_different_figures(dash_dcc, is_eager):
8383
id="example-graph",
8484
figure={
8585
"data": [
86-
{"x": [1, 2, 3], "y": [4, 1, 2], "type": "bar", "name": "SF",},
86+
{"x": [1, 2, 3], "y": [4, 1, 2], "type": "bar", "name": "SF"},
8787
{
8888
"x": [1, 2, 3],
8989
"y": [2, 4, 5],
@@ -348,7 +348,7 @@ def display_data(trigger, fig):
348348
)
349349

350350
comparison = json.dumps(
351-
[dict(y=[0, 0, 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.1, 0.2, 0.3, 0.4, 0.5,])]
351+
[dict(y=[0, 0, 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.1, 0.2, 0.3, 0.4, 0.5])]
352352
)
353353
dash_dcc.wait_for_text_to_equal(
354354
"#output_trace_will_allow_repeated_extend", comparison

tests/integration/store/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def on_clear(n_clicks):
5050
return True, True, True
5151

5252
@app.callback(
53-
[Output("memory", "data"), Output("local", "data"), Output("session", "data"),],
53+
[Output("memory", "data"), Output("local", "data"), Output("session", "data")],
5454
[Input("btn", "n_clicks")],
5555
)
5656
def on_click(n_clicks):

tests/integration/store/test_component_props.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def on_clear(n_clicks):
158158
return True, True, True
159159

160160
@app.callback(
161-
[Output("memory", "data"), Output("local", "data"), Output("session", "data"),],
161+
[Output("memory", "data"), Output("local", "data"), Output("session", "data")],
162162
[Input("btn", "n_clicks")],
163163
)
164164
def on_click(n_clicks):

tests/integration/tab/test_tabs_with_graphs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def render_content(tab):
5353
dcc.Graph(
5454
id="graph-2-tabs",
5555
figure={
56-
"data": [{"x": [1, 2, 3], "y": [5, 10, 6], "type": "bar",}]
56+
"data": [{"x": [1, 2, 3], "y": [5, 10, 6], "type": "bar"}]
5757
},
5858
),
5959
]

0 commit comments

Comments
 (0)