diff --git a/src/pkgmgr/actions/config/init.py b/src/pkgmgr/actions/config/init.py index 97a5b9a..358991a 100644 --- a/src/pkgmgr/actions/config/init.py +++ b/src/pkgmgr/actions/config/init.py @@ -45,7 +45,7 @@ def config_init( # Announce where we will write the result # ------------------------------------------------------------ print("============================================================") - print(f"[INIT] Writing user configuration to:") + print("[INIT] Writing user configuration to:") print(f" {user_config_path}") print("============================================================") @@ -53,7 +53,7 @@ def config_init( defaults_config["directories"]["repositories"] ) - print(f"[INIT] Scanning repository base directory:") + print("[INIT] Scanning repository base directory:") print(f" {repositories_base_dir}") print("") @@ -173,7 +173,7 @@ def config_init( if new_entries: user_config.setdefault("repositories", []).extend(new_entries) save_user_config(user_config, user_config_path) - print(f"[SAVE] Wrote user configuration to:") + print("[SAVE] Wrote user configuration to:") print(f" {user_config_path}") else: print("[INFO] No new repositories were added.") diff --git a/src/pkgmgr/actions/install/__init__.py b/src/pkgmgr/actions/install/__init__.py index fedaf63..a608ee0 100644 --- a/src/pkgmgr/actions/install/__init__.py +++ b/src/pkgmgr/actions/install/__init__.py @@ -74,7 +74,7 @@ def _ensure_repo_dir( if not os.path.exists(repo_dir): print( f"Repository directory '{repo_dir}' does not exist. " - f"Cloning it now..." + "Cloning it now..." ) clone_repos( [repo], @@ -87,7 +87,7 @@ def _ensure_repo_dir( if not os.path.exists(repo_dir): print( f"Cloning failed for repository {identifier}. " - f"Skipping installation." + "Skipping installation." ) return None diff --git a/src/pkgmgr/actions/install/installers/makefile.py b/src/pkgmgr/actions/install/installers/makefile.py index b2b5a2b..d39a958 100644 --- a/src/pkgmgr/actions/install/installers/makefile.py +++ b/src/pkgmgr/actions/install/installers/makefile.py @@ -90,7 +90,7 @@ class MakefileInstaller(BaseInstaller): if not ctx.quiet: print( f"[pkgmgr] Running 'make install' in {ctx.repo_dir} " - f"(MakefileInstaller)" + "(MakefileInstaller)" ) cmd = "make install" diff --git a/src/pkgmgr/actions/install/pipeline.py b/src/pkgmgr/actions/install/pipeline.py index 8202bc6..377c01a 100644 --- a/src/pkgmgr/actions/install/pipeline.py +++ b/src/pkgmgr/actions/install/pipeline.py @@ -160,7 +160,7 @@ class InstallationPipeline: # so we skip this installer entirely. if not quiet: print( - f"[pkgmgr] Skipping installer " + "[pkgmgr] Skipping installer " f"{installer.__class__.__name__} for {identifier} – " f"CLI already provided by layer {state.layer.value!r}." ) @@ -171,7 +171,7 @@ class InstallationPipeline: # need to run another installer on top of it. if not quiet: print( - f"[pkgmgr] Skipping installer " + "[pkgmgr] Skipping installer " f"{installer.__class__.__name__} for {identifier} – " f"layer {installer_layer.value!r} is already loaded." ) diff --git a/src/pkgmgr/actions/mirror/git_remote.py b/src/pkgmgr/actions/mirror/git_remote.py index ca531b8..c02944f 100644 --- a/src/pkgmgr/actions/mirror/git_remote.py +++ b/src/pkgmgr/actions/mirror/git_remote.py @@ -150,7 +150,7 @@ def ensure_origin_remote( current = current_origin_url(repo_dir) if current == url or not url: print( - f"[INFO] 'origin' already points to " + "[INFO] 'origin' already points to " f"{current or ''} (no change needed)." ) else: diff --git a/src/pkgmgr/actions/release/files.py b/src/pkgmgr/actions/release/files.py index 8393ba7..d1f2481 100644 --- a/src/pkgmgr/actions/release/files.py +++ b/src/pkgmgr/actions/release/files.py @@ -289,7 +289,7 @@ def update_spec_version( if preview: print( - f"[PREVIEW] Would update spec file " + "[PREVIEW] Would update spec file " f"{os.path.basename(spec_path)} to Version: {new_version}, Release: 1..." ) return diff --git a/src/pkgmgr/actions/repository/list.py b/src/pkgmgr/actions/repository/list.py index be1f005..08393ab 100644 --- a/src/pkgmgr/actions/repository/list.py +++ b/src/pkgmgr/actions/repository/list.py @@ -272,7 +272,7 @@ def list_repositories( f"{'STATUS'.ljust(status_width)} " f"{'CATEGORIES'.ljust(cat_width)} " f"{'TAGS'.ljust(tag_width)} " - f"DIR" + "DIR" f"{RESET}" ) print(header) diff --git a/src/pkgmgr/core/command/resolve.py b/src/pkgmgr/core/command/resolve.py index 023dab2..01dad82 100644 --- a/src/pkgmgr/core/command/resolve.py +++ b/src/pkgmgr/core/command/resolve.py @@ -200,8 +200,8 @@ def resolve_command_for_repo( print( f"[INFO] Repository '{repo_identifier}' appears to be a Python " f"package at '{python_package_root}' but no CLI entry point was " - f"found (PATH, Nix, main.sh/main.py). Treating it as a " - f"library-only repository with no command." + "found (PATH, Nix, main.sh/main.py). Treating it as a " + "library-only repository with no command." ) return None