Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mypy check #119

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Add Mypy check #119

wants to merge 11 commits into from

Conversation

AndyRae
Copy link
Member

@AndyRae AndyRae commented Mar 8, 2025

Pull Request Contents

🦋 Bug Fix
🛠️ Repo maintenance

Description

Adds Mypy type checking to Github action code quality.

The codebase is currently not passing due to type problems, but this PR will help track that progress and issues.

Related Issues or other material

  • This PR relates to one or more issues, detailed below

Copy link

github-actions bot commented Mar 8, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/hutch_bunny
   cli.py34391%26, 32–33
   daemon.py18180%1–32
src/hutch_bunny/core
   db.py311261%27–32, 40–52, 71–73
   db_manager.py723847%35, 49, 60, 71, 87, 89, 91, 93, 95, 109, 121–126, 129–132, 163–182, 194–199, 208–211, 219
   enums.py8188%23
   execute_query.py271352%32–46, 57–62
   results_modifiers.py13192%42
   settings.py43198%83
src/hutch_bunny/core/rquest_dto
   activity_job.py12120%1–36
   base_dto.py6267%3, 7
   cohort.py14193%17
   file.py12192%24
   group.py14193%19
   query.py381268%32, 79, 102–116
   rule.py502452%28–31, 41–52, 85–101
src/hutch_bunny/core/solvers
   availability_solver.py1803581%153, 210, 230, 325–330, 423–428, 435–475, 494–510, 524–525, 530
   query_solvers.py147696%36, 141, 252, 405–407
src/hutch_bunny/core/upstream
   task_handler.py990%1–37
TOTAL100819081% 

Tests Skipped Failures Errors Time
58 0 💤 0 ❌ 0 🔥 28.438s ⏱️

@AndyRae AndyRae mentioned this pull request Mar 8, 2025
2 tasks
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.

Type checking in CI
1 participant