Skip to content

Replace mypy with ty - #844

Open
tomvothecoder wants to merge 2 commits into
mainfrom
devops/mypy-to-ty
Open

Replace mypy with ty#844
tomvothecoder wants to merge 2 commits into
mainfrom
devops/mypy-to-ty

Conversation

@tomvothecoder

@tomvothecoder tomvothecoder commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Description

Replace MyPy with ty in development and pre-commit tooling, then resolve ty diagnostics and add focused regression coverage for the required behavior changes.

  • No associated issue.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

If applicable:

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass with my changes (locally and CI/CD build)
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)

@github-actions github-actions Bot added the type: devops Testing, CI/CD, systems configuration label Aug 15, 2026
@codecov

codecov Bot commented Aug 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.48485% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 99.95%. Comparing base (3bef023) to head (81cc551).

Files with missing lines Patch % Lines
xcdat/regridder/xgcm.py 95.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main     #844      +/-   ##
===========================================
- Coverage   100.00%   99.95%   -0.05%     
===========================================
  Files           18       18              
  Lines         2012     2040      +28     
===========================================
+ Hits          2012     2039      +27     
- Misses           0        1       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tomvothecoder
tomvothecoder marked this pull request as ready for review August 15, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: devops Testing, CI/CD, systems configuration

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant