Skip to content

Commit ef0daef

Browse files
committed
style: ruff I001 and W292 — v0.2.4
1 parent f0b965b commit ef0daef

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

standup/templates.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
VALID_TEMPLATE_VARIABLES,
1616
validate_template_string,
1717
)
18+
1819
# Backward-compatible alias used by test_templates.py
1920
_MAX_RENDERED_LENGTH = MAX_RENDERED_TEMPLATE_LENGTH
2021
_MAX_VARIABLE_VALUE_LENGTH = MAX_VARIABLE_VALUE_LENGTH
@@ -233,4 +234,4 @@ def _substitute(match: re.Match[str]) -> str:
233234
except Exception:
234235
result = template_text
235236

236-
return result[:MAX_RENDERED_TEMPLATE_LENGTH]
237+
return result[:MAX_RENDERED_TEMPLATE_LENGTH]

standup/warmup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,4 @@ def _warm_up_generic(provider: BaseLLMProvider, verbose: bool = True) -> bool:
196196
if verbose:
197197
console.print(f"[yellow]Warm-up failed: {sanitize_error_message(exc)}[/yellow]")
198198
log_event("warm_up_failed", provider=type(provider).__name__, error_type=type(exc).__name__)
199-
return False
199+
return False

0 commit comments

Comments
 (0)