Commit f673c2e
feat(paddle): Enable ANN rule for 2 additional model files with type annotations
- Enable ANN rule for 2 more files, expanding from 29 to 31 total files:
- model/task/ener.py: EnergyFittingNet class with complete type annotations
- model/model/dp_model.py: DPModelCommon class with method return types
- Added comprehensive type annotations to EnergyFittingNet __init__ method with proper kwargs typing
- Added return type annotations to get_fitting_net and get_descriptor methods in DPModelCommon
- Updated progress tracking to reflect completion of key model task and model files
- Progress: 31 files now have ANN rule fully enabled (3,000% increase from initial 1 file)
Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com>1 parent e120f91 commit f673c2e
3 files changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
| 462 | + | |
461 | 463 | | |
462 | 464 | | |
463 | 465 | | |
464 | | - | |
| 466 | + | |
465 | 467 | | |
466 | 468 | | |
467 | 469 | | |
| |||
0 commit comments