@@ -1389,9 +1389,7 @@ def dispatch(self):
13891389 outputs_grouping = map_grouping (
13901390 lambda ind : flat_outputs [ind ], outputs_indices
13911391 )
1392- g .outputs_grouping = (
1393- outputs_grouping # pylint: disable=assigning-non-slot
1394- )
1392+ g .outputs_grouping = outputs_grouping # pylint: disable=assigning-non-slot
13951393 g .using_outputs_grouping = ( # pylint: disable=assigning-non-slot
13961394 not isinstance (outputs_indices , int )
13971395 and outputs_indices != list (range (grouping_len (outputs_indices )))
@@ -1551,7 +1549,9 @@ def _walk_assets_directory(self):
15511549 full = os .path .join (current , f )
15521550
15531551 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+ )
15551555 elif f .endswith ("css" ):
15561556 self .css .append_css (self ._add_assets_resource (path , full )) # type: ignore[reportArgumentType]
15571557 elif f == "favicon.ico" :
@@ -2368,9 +2368,7 @@ def update(pathname_, search_, **states):
23682368 if not isinstance (layout , list ):
23692369 layout = [
23702370 # 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
23742372 ]
23752373
23762374 self .validation_layout = html .Div (
0 commit comments