From 1a7ae338ffe99f5d55be267acabdfbf2c5992d85 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Thu, 16 Jul 2026 22:09:28 -0300 Subject: [PATCH] style: run black formatter --- src/git_flow/command/init.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/git_flow/command/init.py b/src/git_flow/command/init.py index 95a8879..3b0b7f3 100644 --- a/src/git_flow/command/init.py +++ b/src/git_flow/command/init.py @@ -15,7 +15,7 @@ def init(): _ensure_not_already_initialized() branches = _setup_flow_branches() - (remote, remote_type) = _setup_flow_remote() + remote, remote_type = _setup_flow_remote() flowconfig = { "flow.version": str(FLOWCONFIG_VERSION), @@ -58,10 +58,12 @@ def _setup_flow_branches(): """Ingrese las ramas que representan los entornos de deploy del proyecto en orden creciente de cercanía al entorno productivo, y separados por coma. Por ejemplo: "dev, test, prod".""", - title = "Configuración de entornos" + title="Configuración de entornos", ) - branches = list(map(lambda b: b.strip(), base.io_prompt("Ramas", "main").split(","))) + branches = list( + map(lambda b: b.strip(), base.io_prompt("Ramas", "main").split(",")) + ) if not all(branches): raise GitFlowError("No puede ingresar una rama vacia") @@ -74,7 +76,7 @@ def _setup_flow_remote(): """Configurar un repositorio remoto le permite generar PRs automáticamente para el entorno correspondiente. Deberá seleccionar uno de los remotos actuales, o crear uno nuevo.""", - title = "Configuración de remoto", + title="Configuración de remoto", ) remote = None @@ -98,7 +100,9 @@ uno nuevo.""", base.io_info("Tiene más de un remoto, seleccione el que va a utilizar.") remote = base.io_choice("Remoto", remotes) - remote_type = base.io_choice("Tipo de remoto:", ["bitbucket", "github", "gitea"]) + remote_type = base.io_choice( + "Tipo de remoto:", ["bitbucket", "github", "gitea"] + ) return (remote, remote_type)