feat(pt_expt): load plugin entry points#5559
Conversation
Enable pt_expt plugins by loading the deepmd.pt_expt entry-point group when the package is imported. Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
ChangesPlugin Entry-Point Loading
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5559 +/- ##
=======================================
Coverage 82.16% 82.16%
=======================================
Files 896 897 +1
Lines 102643 102646 +3
Branches 4340 4339 -1
=======================================
+ Hits 84341 84344 +3
- Misses 16965 16966 +1
+ Partials 1337 1336 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
deepmd.pt_exptentry-point group whendeepmd.pt_exptis importedpt_exptimports trigger plugin entry-point loadingTests
uvx ruff check deepmd/pt_expt/__init__.py source/tests/pt_expt/test_plugin.pypython3 -m py_compile deepmd/pt_expt/__init__.py source/tests/pt_expt/test_plugin.pydeepmd.utils.entry_point.load_entry_pointAuthored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
Summary by CodeRabbit
Tests
Chores