Skip to content

Quality: Add type checking with mypy and code coverage tracking#2

Open
rodmen07 wants to merge 1 commit into
mainfrom
quality/add-type-checking
Open

Quality: Add type checking with mypy and code coverage tracking#2
rodmen07 wants to merge 1 commit into
mainfrom
quality/add-type-checking

Conversation

@rodmen07

Copy link
Copy Markdown
Owner

Summary

This PR adds type checking and code coverage tracking to ai-orchestrator-service:

Changes

  1. Type Checking with mypy

    • Added mypy==1.14.1 and types-PyJWT>=1.7.2 to requirements.txt
    • Created mypy.ini with Python 3.12 configuration
    • Added type checking step to CI: mypy app/ --ignore-missing-imports
  2. Code Coverage Tracking

    • Added --cov=app --cov-report=xml flags to pytest command
    • Added Codecov upload step with ai-orchestrator-service flag

Impact

  • Type errors now caught in CI before merge
  • Coverage tracked in Codecov dashboard
  • Enables better LLM error handling validation

Related

Part of Portfolio-wide code quality improvements (Portfolio PR #15)

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