-
Notifications
You must be signed in to change notification settings - Fork 54
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 plugin directories #788
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84e83ea
to
2ea8410
Compare
5d4a437
to
8f1ec8f
Compare
2ea8410
to
2192994
Compare
8f1ec8f
to
954c0f2
Compare
2192994
to
85f4ebc
Compare
954c0f2
to
34b3e4d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #788 +/- ##
=======================================
Coverage 78.23% 78.23%
=======================================
Files 336 336
Lines 29664 29665 +1
=======================================
+ Hits 23208 23209 +1
Misses 6456 6456
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
43b0585
to
e830c4e
Compare
19bf4e9
to
77f2144
Compare
9579422
to
de93169
Compare
5ee23a3
to
615b2bc
Compare
de93169
to
6163a05
Compare
615b2bc
to
c2a6c60
Compare
6163a05
to
8f55c68
Compare
c2a6c60
to
d381e99
Compare
d381e99
to
6857cf3
Compare
6857cf3
to
b41f665
Compare
Miauwkeru
approved these changes
Feb 13, 2025
This was referenced Feb 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
General idea is that you create your plugin in a file called
_plugin.py
in a certain directory. That directory can then hold other files such as specific helpers. The plugin path/name is then derived from the directory path up until the module name, instead of including it.For example:
The plugin will register under the
apps.something.myapp
path.Closes #890.