From e8686a2c66fda6e6153c4d106a03eedcc7d5a0f6 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Thu, 17 Apr 2025 09:19:16 -0500 Subject: [PATCH] lint --- krayt/cli/pod.py | 6 ++++-- krayt/cli/templates.py | 3 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/krayt/cli/pod.py b/krayt/cli/pod.py index db84920..591a98e 100644 --- a/krayt/cli/pod.py +++ b/krayt/cli/pod.py @@ -7,6 +7,8 @@ import time import typer from typing import Any, List, Optional import yaml +from krayt.__about__ import __version__ + logging.basicConfig(level=logging.WARNING) @@ -384,7 +386,7 @@ def setup_environment(): def version_callback(value: bool): if value: - typer.echo(f"Version: {KRAYT_VERSION}") + typer.echo(f"Version: {__version__}") raise typer.Exit() @@ -698,7 +700,7 @@ def create( @app.command() def version(): """Show the version of Krayt.""" - typer.echo(f"Version: {KRAYT_VERSION}") + typer.echo(f"Version: {__version__}") @app.command() diff --git a/krayt/cli/templates.py b/krayt/cli/templates.py index 5a0c361..841cd54 100644 --- a/krayt/cli/templates.py +++ b/krayt/cli/templates.py @@ -69,9 +69,8 @@ def install( ), ): template_name = "install.sh" - breakpoint() template = env.get_template(template_name) - rendered = template.render(packages=packages) + rendered = template.render(additional_packages=additional_packages) print(rendered)