Skip to content

MAINT: Restore unit test type check target#2090

Open
biefan wants to merge 1 commit into
microsoft:mainfrom
biefan:fix/unit-test-ty-maintenance
Open

MAINT: Restore unit test type check target#2090
biefan wants to merge 1 commit into
microsoft:mainfrom
biefan:fix/unit-test-ty-maintenance

Conversation

@biefan

@biefan biefan commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Description

  • Add a unit-test-only ty override block for runtime validation and mock-heavy test patterns so the Makefile type-check target passes while library code remains strict.
  • Move scorer eval CSV class-scoped fixtures to module-level fixtures and reuse module-level CSV file lists, removing pytest 10 deprecation warnings from that test module.

Tests and Documentation

  • make ty
  • uv run pre-commit run --files pyproject.toml tests/unit/score/test_scorer_eval_csv_schema.py
  • uv run -m pytest tests/unit/score/test_scorer_eval_csv_schema.py -W default
  • make unit-test

Documentation changes are not applicable for this maintenance-only update.

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