Skip to content

Commit 796f9c3

Browse files
jeremyederclaude
andcommitted
style: fix ruff linting errors
Fix all ruff check errors (8 total): - Remove unused imports (timedelta, Optional, Path) - Remove unused variable search_queries - Remove extraneous f-string prefixes (4 occurrences) All ruff checks now pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7bf3700 commit 796f9c3

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

scripts/update_research.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
import os
1111
import re
1212
import urllib.parse
13-
from datetime import datetime, timedelta
13+
from datetime import datetime
1414
from pathlib import Path
15-
from typing import Any, Dict, List, Optional
15+
from typing import Any, Dict, List
1616

1717
import anthropic
1818
import yaml
@@ -55,13 +55,11 @@ def search_recent_research(
5555
Returns:
5656
List of search results with title, url, snippet, date
5757
"""
58-
search_queries = [
59-
f"{attribute_name} AI assisted development best practices 2025",
60-
f"{attribute_name} Claude Code LLM agents",
61-
f"{attribute_name} codebase optimization AI tools",
62-
]
63-
6458
# Placeholder: In production, execute actual web searches
59+
# Example search queries would be:
60+
# - f"{attribute_name} AI assisted development best practices 2025"
61+
# - f"{attribute_name} Claude Code LLM agents"
62+
# - f"{attribute_name} codebase optimization AI tools"
6563
# For now, we'll use Claude to generate hypothetical recent research
6664
results = []
6765

src/agentready/assessors/stub_assessors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ def assess(self, repository: Repository) -> Finding:
277277
for ext in extensions:
278278
pattern = f"**/*{ext}"
279279
try:
280-
from pathlib import Path
281280

282281
for file_path in repository.path.glob(pattern):
283282
if file_path.is_file():

src/agentready/cli/assess_batch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,12 +439,12 @@ def show_progress(current: int, total: int):
439439
)
440440

441441
if verbose:
442-
click.echo(f"\nGenerating heatmap visualization...")
442+
click.echo("\nGenerating heatmap visualization...")
443443

444444
try:
445445
analyzer = AttributeAnalyzer()
446446
analyzer.analyze_batch(batch_assessment, heatmap_path)
447-
click.echo(f" ✓ heatmap.html")
447+
click.echo(" ✓ heatmap.html")
448448
except Exception as e:
449449
click.echo(f"⚠ Warning: Failed to generate heatmap: {e}", err=True)
450450
if verbose:

0 commit comments

Comments
 (0)