From 222ae431cec88cfc66426656c3c2908e7ebed5fd Mon Sep 17 00:00:00 2001 From: Chuck Danielsson Date: Thu, 26 Jun 2025 09:41:52 -0400 Subject: [PATCH 1/2] linter --- lbranch/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lbranch/main.py b/lbranch/main.py index 0bc274e..d15a411 100644 --- a/lbranch/main.py +++ b/lbranch/main.py @@ -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) From ee9aacf40ea26cc339325b258cb21ec90455d431 Mon Sep 17 00:00:00 2001 From: Chuck Danielsson Date: Thu, 26 Jun 2025 10:12:19 -0400 Subject: [PATCH 2/2] update pyproject --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 836fdcb..1dca9a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -38,7 +38,7 @@ dependencies = [] lbranch = "lbranch.main:main" [tool.hatch.build] -packages = ["lbranch"] +packages = ["lbranch"] [tool.ruff] # Same as Black formatter default