From 8be69a6bed4cd8e88e8c3d551b17c84f868faed4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Sat, 29 Nov 2025 08:21:36 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- src/flask/sansio/blueprints.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/flask/sansio/blueprints.py b/src/flask/sansio/blueprints.py index a6ca7c59..17a8ce6e 100644 --- a/src/flask/sansio/blueprints.py +++ b/src/flask/sansio/blueprints.py @@ -291,7 +291,9 @@ class Blueprint(Scaffold): state = self.make_setup_state(app, options, first_bp_registration) 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._register_cli(app, name, options) self._register_nested_blueprints(app, state, name) @@ -362,7 +364,7 @@ class Blueprint(Scaffold): def _compute_nested_blueprint_options( self, - blueprint: "Blueprint", + blueprint: Blueprint, state: BlueprintSetupState, bp_options: dict[str, t.Any], name: str, @@ -400,7 +402,6 @@ class Blueprint(Scaffold): return bp_options - def _merge_blueprint_funcs(self, app: App, name: str) -> None: def extend( bp_dict: dict[ft.AppOrBlueprintKey, list[t.Any]],