chore: ruff lint

This commit is contained in:
Richard Tang
2026-03-17 20:41:08 -07:00
parent 39c1042827
commit af10494b31
4 changed files with 41 additions and 13 deletions
+25 -4
View File
@@ -34,9 +34,27 @@ def cli():
@cli.command()
@click.option("--contacts", "-c", type=str, required=True, help="JSON string or file path of contacts list")
@click.option("--goal", "-g", type=str, default="coffee chat", help="Outreach goal (e.g. 'coffee chat', 'sales pitch')")
@click.option("--background", "-b", type=str, default="", help="Your background/role for personalization")
@click.option(
"--contacts",
"-c",
type=str,
required=True,
help="JSON string or file path of contacts list",
)
@click.option(
"--goal",
"-g",
type=str,
default="coffee chat",
help="Outreach goal (e.g. 'coffee chat', 'sales pitch')",
)
@click.option(
"--background",
"-b",
type=str,
default="",
help="Your background/role for personalization",
)
@click.option(
"--max-contacts",
"-m",
@@ -44,7 +62,9 @@ def cli():
default=20,
help="Max contacts to process per batch (default: 20)",
)
@click.option("--mock", is_flag=True, help="Run in mock mode without LLM or Gmail calls")
@click.option(
"--mock", is_flag=True, help="Run in mock mode without LLM or Gmail calls"
)
@click.option("--quiet", "-q", is_flag=True, help="Only output result JSON")
@click.option("--verbose", "-v", is_flag=True, help="Show execution details")
@click.option("--debug", is_flag=True, help="Show debug logging")
@@ -204,6 +224,7 @@ async def _interactive_shell(verbose=False):
except Exception as e:
click.echo(f"Error: {e}", err=True)
import traceback
traceback.print_exc()
finally:
await agent.stop()
+1
View File
@@ -233,6 +233,7 @@ class SDRAgent:
if mock_mode:
from framework.llm.mock import MockLLMProvider
llm = MockLLMProvider()
else:
llm = LiteLLMProvider(