@@ -1389,9 +1389,7 @@ def dispatch(self):
1389
1389
outputs_grouping = map_grouping (
1390
1390
lambda ind : flat_outputs [ind ], outputs_indices
1391
1391
)
1392
- g .outputs_grouping = (
1393
- outputs_grouping # pylint: disable=assigning-non-slot
1394
- )
1392
+ g .outputs_grouping = outputs_grouping # pylint: disable=assigning-non-slot
1395
1393
g .using_outputs_grouping = ( # pylint: disable=assigning-non-slot
1396
1394
not isinstance (outputs_indices , int )
1397
1395
and outputs_indices != list (range (grouping_len (outputs_indices )))
@@ -1551,7 +1549,9 @@ def _walk_assets_directory(self):
1551
1549
full = os .path .join (current , f )
1552
1550
1553
1551
if f .endswith ("js" ):
1554
- self .scripts .append_script (self ._add_assets_resource (path , full ))
1552
+ self .scripts .append_script (
1553
+ self ._add_assets_resource (path , full )
1554
+ )
1555
1555
elif f .endswith ("css" ):
1556
1556
self .css .append_css (self ._add_assets_resource (path , full )) # type: ignore[reportArgumentType]
1557
1557
elif f == "favicon.ico" :
@@ -2368,9 +2368,7 @@ def update(pathname_, search_, **states):
2368
2368
if not isinstance (layout , list ):
2369
2369
layout = [
2370
2370
# pylint: disable=not-callable
2371
- self .layout ()
2372
- if callable (self .layout )
2373
- else self .layout
2371
+ self .layout () if callable (self .layout ) else self .layout
2374
2372
]
2375
2373
2376
2374
self .validation_layout = html .Div (
0 commit comments