[pre-commit.ci lite] apply automatic fixes
This commit is contained in:
parent
e74c39d007
commit
8be69a6bed
1 changed files with 4 additions and 3 deletions
|
|
@ -291,7 +291,9 @@ class Blueprint(Scaffold):
|
||||||
state = self.make_setup_state(app, options, first_bp_registration)
|
state = self.make_setup_state(app, options, first_bp_registration)
|
||||||
|
|
||||||
self._register_static(state)
|
self._register_static(state)
|
||||||
self._merge_blueprint_funcs_if_needed(app, name, first_bp_registration, first_name_registration)
|
self._merge_blueprint_funcs_if_needed(
|
||||||
|
app, name, first_bp_registration, first_name_registration
|
||||||
|
)
|
||||||
self._run_deferred_functions(state)
|
self._run_deferred_functions(state)
|
||||||
self._register_cli(app, name, options)
|
self._register_cli(app, name, options)
|
||||||
self._register_nested_blueprints(app, state, name)
|
self._register_nested_blueprints(app, state, name)
|
||||||
|
|
@ -362,7 +364,7 @@ class Blueprint(Scaffold):
|
||||||
|
|
||||||
def _compute_nested_blueprint_options(
|
def _compute_nested_blueprint_options(
|
||||||
self,
|
self,
|
||||||
blueprint: "Blueprint",
|
blueprint: Blueprint,
|
||||||
state: BlueprintSetupState,
|
state: BlueprintSetupState,
|
||||||
bp_options: dict[str, t.Any],
|
bp_options: dict[str, t.Any],
|
||||||
name: str,
|
name: str,
|
||||||
|
|
@ -400,7 +402,6 @@ class Blueprint(Scaffold):
|
||||||
|
|
||||||
return bp_options
|
return bp_options
|
||||||
|
|
||||||
|
|
||||||
def _merge_blueprint_funcs(self, app: App, name: str) -> None:
|
def _merge_blueprint_funcs(self, app: App, name: str) -> None:
|
||||||
def extend(
|
def extend(
|
||||||
bp_dict: dict[ft.AppOrBlueprintKey, list[t.Any]],
|
bp_dict: dict[ft.AppOrBlueprintKey, list[t.Any]],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue