bugfix: commit small improvements #69
@@ -5,6 +5,7 @@ from os.path import isfile
|
||||
import questionary
|
||||
import rich
|
||||
import rich.panel
|
||||
from rich import box
|
||||
from rich.table import Table
|
||||
|
||||
from git_flow import (
|
||||
@@ -201,7 +202,7 @@ def show_commits(title: str, revision_range: str):
|
||||
if not lines:
|
||||
raise GitFlowError("No hay cambios a mergear.")
|
||||
|
||||
table = Table(title=title, title_justify="left", title_style="bold")
|
||||
table = Table(title=title, title_justify="left", title_style="bold", box=box.SQUARE)
|
||||
table.add_column("Fecha", style="dim", no_wrap=True)
|
||||
table.add_column("Tipo", style="cyan", no_wrap=True)
|
||||
table.add_column("Mensaje")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
from datetime import datetime
|
||||
|
||||
import typer
|
||||
from rich import box
|
||||
from rich.table import Table
|
||||
|
||||
from git_flow import TRASH_BRANCH_PREFIX, WIP_BRANCH_PREFIX, GitFlowError
|
||||
@@ -95,7 +96,12 @@ def _show_index():
|
||||
staged = [s for s in status if _is_staged(s)]
|
||||
not_staged = [s for s in status if s.worktree != " "]
|
||||
|
||||
table = Table(title="Cambios a commitear", title_justify="left", title_style="bold")
|
||||
table = Table(
|
||||
title="Cambios a commitear",
|
||||
title_justify="left",
|
||||
title_style="bold",
|
||||
box=box.SQUARE,
|
||||
)
|
||||
table.add_column("Estado", style="cyan", no_wrap=True)
|
||||
table.add_column("Archivo")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user