Skip to content

style: complete type annotation enforcement for deepmd.pt#4943

Merged
njzjz merged 25 commits into
develfrom
copilot/fix-4940
Sep 2, 2025
Merged

style: complete type annotation enforcement for deepmd.pt#4943
njzjz merged 25 commits into
develfrom
copilot/fix-4940

fix(pt): correct return type annotation in SpinModel.process_spin_inp…

5c691a4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 30, 2025 in 1s

84.29% (+0.00%) compared to c57d19f

View this Pull Request on Codecov

84.29% (+0.00%) compared to c57d19f

Details

Codecov Report

❌ Patch coverage is 98.89299% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.29%. Comparing base (c57d19f) to head (5c691a4).

Files with missing lines Patch % Lines
deepmd/pt/model/network/init.py 88.88% 1 Missing ⚠️
deepmd/pt/model/network/mlp.py 83.33% 1 Missing ⚠️
deepmd/pt/train/training.py 94.73% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #4943   +/-   ##
=======================================
  Coverage   84.29%   84.29%           
=======================================
  Files         704      704           
  Lines       68875    68892   +17     
  Branches     3572     3573    +1     
=======================================
+ Hits        58057    58075   +18     
+ Misses       9678     9676    -2     
- Partials     1140     1141    +1     

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.