style: organize imports
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import typer
|
||||
from datetime import datetime
|
||||
from git_flow import COMMIT_TYPES, TRASH_BRANCH_PREFIX, WIP_BRANCH_PREFIX, GitFlowError
|
||||
from git_flow.git import Git
|
||||
|
||||
import typer
|
||||
|
||||
import git_flow.command.base as base
|
||||
from git_flow import TRASH_BRANCH_PREFIX, WIP_BRANCH_PREFIX, GitFlowError
|
||||
from git_flow.git import Git
|
||||
|
||||
app = typer.Typer()
|
||||
|
||||
@@ -21,7 +23,7 @@ def commit():
|
||||
raise GitFlowError("Debe agregar algún cambio al indice para continuar.")
|
||||
|
||||
message = base.get_commit_message()
|
||||
commit_type = message[:message.index(':')]
|
||||
commit_type = message[: message.index(":")]
|
||||
|
||||
if branch.startswith(WIP_BRANCH_PREFIX):
|
||||
original_branch = branch.removeprefix(WIP_BRANCH_PREFIX)
|
||||
|
||||
Reference in New Issue
Block a user