Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lbranch/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,9 @@ def main():
# Handle select mode
if args.select:
try:
print(f'\n{GREEN}Enter branch number to checkout (1-{branch_limit}):{NC}')
branch_num = input()
branch_num = input(
f'\n{GREEN}Enter branch number to checkout (1-{branch_limit}): {NC}'
)

if (
not re.match(r'^\d+$', branch_num)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "lbranch"
version = "0.1.0"
version = "0.1.1"
description = "A Git utility that shows recently checked-out branches in chronological order and lets you quickly switch between them."
readme = "README.md"
requires-python = ">=3.7"
Expand Down Expand Up @@ -38,7 +38,7 @@ dependencies = []
lbranch = "lbranch.main:main"

[tool.hatch.build]
packages = ["lbranch"]
packages = ["lbranch"]

[tool.ruff]
# Same as Black formatter default
Expand Down