style: Auto-format 48 files with ruff format
- Fixed formatting to comply with ruff standards - No functional changes, only formatting/style - Completes CI/CD pipeline formatting requirements
This commit is contained in:
@@ -198,6 +198,7 @@ SCRAPE_ARGUMENTS: dict[str, dict[str, Any]] = {
|
||||
# Merge RAG arguments from common.py
|
||||
SCRAPE_ARGUMENTS.update(RAG_ARGUMENTS)
|
||||
|
||||
|
||||
def add_scrape_arguments(parser: argparse.ArgumentParser) -> None:
|
||||
"""Add all scrape command arguments to a parser.
|
||||
|
||||
@@ -218,6 +219,7 @@ def add_scrape_arguments(parser: argparse.ArgumentParser) -> None:
|
||||
kwargs = arg_def["kwargs"]
|
||||
parser.add_argument(*flags, **kwargs)
|
||||
|
||||
|
||||
def get_scrape_argument_names() -> set:
|
||||
"""Get the set of scrape argument destination names.
|
||||
|
||||
@@ -226,6 +228,7 @@ def get_scrape_argument_names() -> set:
|
||||
"""
|
||||
return set(SCRAPE_ARGUMENTS.keys())
|
||||
|
||||
|
||||
def get_scrape_argument_count() -> int:
|
||||
"""Get the total number of scrape arguments.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user