File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -448,9 +448,9 @@ def serialize_config(config):
448448
449449 len_before = len (config )
450450 dump = {k : config .pop (k ) for k in items_to_delete }
451- assert (
452- len ( config ) + len ( dump ) == len_before
453- ), "Inconsistency in config. Please check."
451+ assert len ( config ) + len ( dump ) == len_before , (
452+ "Inconsistency in config. Please check."
453+ )
454454
455455 return config , dump
456456
@@ -482,9 +482,9 @@ def remove_unwanted_from_config(config, minimal: bool = True):
482482
483483 len_before = len (config )
484484 dump = {k : config .pop (k ) for k in unwanted_items if k in config }
485- assert (
486- len ( config ) + len ( dump ) == len_before
487- ), "Inconsistency in config. Please check."
485+ assert len ( config ) + len ( dump ) == len_before , (
486+ "Inconsistency in config. Please check."
487+ )
488488 return config , dump
489489
490490
@@ -528,7 +528,7 @@ def add_wanted_defaults_to_config(config, minimal: bool = True):
528528 if a wanted item is not in the config, add it w/ default value
529529 """
530530 if not minimal :
531- config .update ( config_defaults () )
531+ config .update (config_defaults ())
532532
533533
534534def qconfig_save (
You can’t perform that action at this time.
0 commit comments