From da32502b0b399785cbbdf656e680f4ec85c7296f Mon Sep 17 00:00:00 2001 From: rajeevrajeshuni Date: Sat, 29 Nov 2025 19:45:14 +0530 Subject: [PATCH] minor tweaks --- cognee/cli/commands/tui_command.py | 2 +- cognee/cli/tui/__init__.py | 1 + cognee/cli/tui/add_screen.py | 2 +- cognee/cli/tui/base_screen.py | 2 +- cognee/cli/tui/cognify_screen.py | 2 +- cognee/cli/tui/config_screen.py | 2 +- cognee/cli/tui/delete_screen.py | 2 +- cognee/cli/tui/home_screen.py | 2 +- cognee/cli/tui/search_screen.py | 2 +- 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/cognee/cli/commands/tui_command.py b/cognee/cli/commands/tui_command.py index d776cd82b..c7136cfde 100644 --- a/cognee/cli/commands/tui_command.py +++ b/cognee/cli/commands/tui_command.py @@ -53,4 +53,4 @@ class TuiCommand(SupportsCliCommand): f"Failed to launch TUI: {str(ex)}", docs_url=self.docs_url, raiseable_exception=ex, - ) \ No newline at end of file + ) diff --git a/cognee/cli/tui/__init__.py b/cognee/cli/tui/__init__.py index e69de29bb..8b1378917 100644 --- a/cognee/cli/tui/__init__.py +++ b/cognee/cli/tui/__init__.py @@ -0,0 +1 @@ + diff --git a/cognee/cli/tui/add_screen.py b/cognee/cli/tui/add_screen.py index f36badde7..60136ecf1 100644 --- a/cognee/cli/tui/add_screen.py +++ b/cognee/cli/tui/add_screen.py @@ -182,4 +182,4 @@ class AddTUIScreen(BaseTUIScreen): data_input.disabled = False dataset_input.disabled = False self.query_one("#submit-btn", Button).disabled = False - data_input.focus() \ No newline at end of file + data_input.focus() diff --git a/cognee/cli/tui/base_screen.py b/cognee/cli/tui/base_screen.py index b9d768c3d..6cd3f8dcc 100644 --- a/cognee/cli/tui/base_screen.py +++ b/cognee/cli/tui/base_screen.py @@ -38,4 +38,4 @@ class BaseTUIScreen(Screen): """Compose the screen with header, content, and footer.""" yield from self.compose_header() yield from self.compose_content() - yield from self.compose_footer() \ No newline at end of file + yield from self.compose_footer() diff --git a/cognee/cli/tui/cognify_screen.py b/cognee/cli/tui/cognify_screen.py index 951137970..a13e14c71 100644 --- a/cognee/cli/tui/cognify_screen.py +++ b/cognee/cli/tui/cognify_screen.py @@ -212,4 +212,4 @@ class CognifyTUIScreen(BaseTUIScreen): chunker_radio.disabled = False background_checkbox.disabled = False self.query_one("#submit-btn", Button).disabled = False - dataset_input.focus() \ No newline at end of file + dataset_input.focus() diff --git a/cognee/cli/tui/config_screen.py b/cognee/cli/tui/config_screen.py index e767f3cf9..a0d5064b8 100644 --- a/cognee/cli/tui/config_screen.py +++ b/cognee/cli/tui/config_screen.py @@ -360,4 +360,4 @@ class ConfigTUICommand(SupportsCliCommand): f"Failed to launch config TUI: {str(ex)}", docs_url=self.docs_url, raiseable_exception=ex, - ) \ No newline at end of file + ) diff --git a/cognee/cli/tui/delete_screen.py b/cognee/cli/tui/delete_screen.py index 8da4f3fc5..a2b2386b9 100644 --- a/cognee/cli/tui/delete_screen.py +++ b/cognee/cli/tui/delete_screen.py @@ -332,4 +332,4 @@ class DeleteAllConfirmModal(BaseTUIScreen): self.dismiss(False) def action_cancel(self) -> None: - self.dismiss(False) \ No newline at end of file + self.dismiss(False) diff --git a/cognee/cli/tui/home_screen.py b/cognee/cli/tui/home_screen.py index 744fc5944..e4957a3ea 100644 --- a/cognee/cli/tui/home_screen.py +++ b/cognee/cli/tui/home_screen.py @@ -228,4 +228,4 @@ class HomeScreen(BaseTUIScreen): def action_quit_app(self) -> None: """Quit the entire application.""" - self.app.exit() \ No newline at end of file + self.app.exit() diff --git a/cognee/cli/tui/search_screen.py b/cognee/cli/tui/search_screen.py index 5bc1ddb0b..87ee1dd1f 100644 --- a/cognee/cli/tui/search_screen.py +++ b/cognee/cli/tui/search_screen.py @@ -190,4 +190,4 @@ class SearchTUIScreen(BaseTUIScreen): self.notify(f"Search failed: {str(e)}", severity="error") finally: - self.is_searching = False \ No newline at end of file + self.is_searching = False