Skip to content

Add missing return type annotations to evaluator methods#1476

Open
peteroyce wants to merge 1 commit intoUiPath:mainfrom
peteroyce:fix/add-missing-return-type-annotations
Open

Add missing return type annotations to evaluator methods#1476
peteroyce wants to merge 1 commit intoUiPath:mainfrom
peteroyce:fix/add-missing-return-type-annotations

Conversation

@peteroyce
Copy link

Summary

  • Added missing -> None return type annotations to two methods in legacy_context_precision_evaluator.py:
    • model_post_init()
    • _initialize_llm()
  • Improves type safety and consistency with the rest of the codebase

Test plan

  • Run mypy/pyright to confirm no type errors introduced
  • Verify existing tests still pass

🤖 Generated with Claude Code

…evaluator

Add `-> None` return type annotations to `model_post_init` and
`_initialize_llm` in `LegacyContextPrecisionEvaluator` for consistency
with the project's type annotation conventions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant