-
Notifications
You must be signed in to change notification settings - Fork 123
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 support for plugins #375
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, and I've tested with a dummy plugin.
One issue is this is lacking tests, but I'm not sure how we'd approach that, as the entry points would need to be present; maybe mock with monkeypatching. Suggest we raise this as separate issue for future change.
Co-authored-by: Steven Hiscocks <sdhiscocks@dstl.gov.uk>
Co-authored-by: Steven Hiscocks <sdhiscocks@dstl.gov.uk>
Codecov Report
@@ Coverage Diff @@
## master #375 +/- ##
==========================================
- Coverage 94.19% 94.08% -0.11%
==========================================
Files 132 133 +1
Lines 6145 6155 +10
Branches 890 891 +1
==========================================
+ Hits 5788 5791 +3
- Misses 257 263 +6
- Partials 100 101 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Add support for plugins Closes dstl#356
Add ability to load plugins using package metadata in package's setup.py entry_points. This will enable third party Stone Soup components to be easily discoverable.