From 73a546058777e348ed31d9c0397545e9fece7649 Mon Sep 17 00:00:00 2001 From: Eric Pinzur Date: Mon, 12 Aug 2024 14:17:38 -0500 Subject: [PATCH] fix lint --- libs/ragulate/ragstack_ragulate/cli_commands/compare.py | 2 +- libs/ragulate/ragstack_ragulate/cli_commands/dashboard.py | 2 +- libs/ragulate/ragstack_ragulate/cli_commands/download.py | 2 +- libs/ragulate/ragstack_ragulate/cli_commands/ingest.py | 2 +- libs/ragulate/ragstack_ragulate/cli_commands/query.py | 2 +- libs/ragulate/ragstack_ragulate/cli_commands/run.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/ragulate/ragstack_ragulate/cli_commands/compare.py b/libs/ragulate/ragstack_ragulate/cli_commands/compare.py index 63791826e..c815589f7 100644 --- a/libs/ragulate/ragstack_ragulate/cli_commands/compare.py +++ b/libs/ragulate/ragstack_ragulate/cli_commands/compare.py @@ -7,7 +7,7 @@ from .utils import remove_sqlite_extension -def setup_compare(subparsers) -> None: # type: ignore +def setup_compare(subparsers) -> None: # type: ignore[no-untyped-def] """Setup the compare command.""" compare_parser = subparsers.add_parser( "compare", help="Compare results from 2 (or more) recipes" diff --git a/libs/ragulate/ragstack_ragulate/cli_commands/dashboard.py b/libs/ragulate/ragstack_ragulate/cli_commands/dashboard.py index 8744012d9..ba3811619 100644 --- a/libs/ragulate/ragstack_ragulate/cli_commands/dashboard.py +++ b/libs/ragulate/ragstack_ragulate/cli_commands/dashboard.py @@ -5,7 +5,7 @@ from .utils import remove_sqlite_extension -def setup_dashboard(subparsers) -> None: # type: ignore +def setup_dashboard(subparsers) -> None: # type: ignore[no-untyped-def] """Setup the dashboard command.""" dashboard_parser = subparsers.add_parser( "dashboard", diff --git a/libs/ragulate/ragstack_ragulate/cli_commands/download.py b/libs/ragulate/ragstack_ragulate/cli_commands/download.py index 1827c8eea..2a30bec0a 100644 --- a/libs/ragulate/ragstack_ragulate/cli_commands/download.py +++ b/libs/ragulate/ragstack_ragulate/cli_commands/download.py @@ -3,7 +3,7 @@ from ragstack_ragulate.datasets import get_dataset -def setup_download(subparsers) -> None: # type: ignore +def setup_download(subparsers) -> None: # type: ignore[no-untyped-def] """Setup the download command.""" download_parser = subparsers.add_parser("download", help="Download a dataset") download_parser.add_argument( diff --git a/libs/ragulate/ragstack_ragulate/cli_commands/ingest.py b/libs/ragulate/ragstack_ragulate/cli_commands/ingest.py index e9186c92e..c6eccdfc9 100644 --- a/libs/ragulate/ragstack_ragulate/cli_commands/ingest.py +++ b/libs/ragulate/ragstack_ragulate/cli_commands/ingest.py @@ -7,7 +7,7 @@ from ragstack_ragulate.utils import convert_vars_to_ingredients -def setup_ingest(subparsers) -> None: # type: ignore +def setup_ingest(subparsers) -> None: # type: ignore[no-untyped-def] """Setup the ingest command.""" ingest_parser = subparsers.add_parser("ingest", help="Run an ingest pipeline") ingest_parser.add_argument( diff --git a/libs/ragulate/ragstack_ragulate/cli_commands/query.py b/libs/ragulate/ragstack_ragulate/cli_commands/query.py index bef70ba6f..27bdf98de 100644 --- a/libs/ragulate/ragstack_ragulate/cli_commands/query.py +++ b/libs/ragulate/ragstack_ragulate/cli_commands/query.py @@ -7,7 +7,7 @@ from ragstack_ragulate.utils import convert_vars_to_ingredients -def setup_query(subparsers) -> None: # type: ignore +def setup_query(subparsers) -> None: # type: ignore[no-untyped-def] """Setup the query command.""" query_parser = subparsers.add_parser("query", help="Run a query pipeline") query_parser.add_argument( diff --git a/libs/ragulate/ragstack_ragulate/cli_commands/run.py b/libs/ragulate/ragstack_ragulate/cli_commands/run.py index 0e08f4182..c36c9427b 100644 --- a/libs/ragulate/ragstack_ragulate/cli_commands/run.py +++ b/libs/ragulate/ragstack_ragulate/cli_commands/run.py @@ -8,7 +8,7 @@ from ragstack_ragulate.pipelines import IngestPipeline, QueryPipeline -def setup_run(subparsers) -> None: # type: ignore +def setup_run(subparsers) -> None: # type: ignore[no-untyped-def] """Setup the run command.""" run_parser = subparsers.add_parser( "run", help="Run an experiment from a config file"