Skip to content

Commit e8522bc

Browse files
committed
Fix lint errors
1 parent d25d342 commit e8522bc

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

core/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ def _extract_json_object(message_content: str) -> dict[str, Any]:
6868
payload = json.loads(match.group(0))
6969
if not isinstance(payload, dict):
7070
raise ValueError("Model response JSON must be an object.")
71-
return payload
71+
return payload

core/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,4 @@ def _create_skill_result(
385385
if previous:
386386
previous.superseded_by = skill_result
387387
previous.save(update_fields=["superseded_by"])
388-
return skill_result
388+
return skill_result

core/tests/test_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,4 @@ def test_process_content_adds_review_item_for_low_confidence_classification(pipe
171171
content=pipeline_context.content,
172172
reason=ReviewReason.LOW_CONFIDENCE_CLASSIFICATION,
173173
)
174-
assert review_item.confidence == pytest.approx(0.3)
174+
assert review_item.confidence == pytest.approx(0.3)

skills/content_classification/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Classify newsletter content into one of these categories:
1414
- release_notes
1515
- other
1616

17-
Return structured JSON with `content_type`, `confidence`, and `explanation`.
17+
Return structured JSON with `content_type`, `confidence`, and `explanation`.

skills/relevance_scoring/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Score how relevant a piece of content is for a tenant using reference-corpus sim
1010
- Similarity < 0.5: use the similarity score directly.
1111
- Similarity between 0.5 and 0.85: use an LLM for nuanced judgment when available.
1212

13-
Return structured JSON with `relevance_score`, `explanation`, and `used_llm`.
13+
Return structured JSON with `relevance_score`, `explanation`, and `used_llm`.

skills/summarization/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ output: summary
66

77
Write a concise 2-3 sentence newsletter-ready summary for content that has already been judged relevant.
88

9-
Return structured JSON with a single `summary` field.
9+
Return structured JSON with a single `summary` field.

0 commit comments

Comments
 (0)