mirror of
https://github.com/ModOrganizer2/pystubs-generation.git
synced 2026-07-27 14:07:13 -07:00
Compare commits
2
Commits
2.6.0.dev0
...
dev/2.6.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41b5672069 | ||
|
|
49a77592f9 |
@@ -2052,6 +2052,7 @@ mobase:
|
||||
returns: The list of requirements for this plugin.
|
||||
|
||||
settingGroups:
|
||||
abstract: false
|
||||
returns: A list of setting groups for this plugin.
|
||||
|
||||
settings:
|
||||
|
||||
@@ -146,9 +146,8 @@ def main() -> None:
|
||||
[
|
||||
# the "real" IPlugin is IPluginBase
|
||||
"IPlugin",
|
||||
|
||||
# this is deprecated
|
||||
"PluginSetting"
|
||||
"PluginSetting",
|
||||
],
|
||||
),
|
||||
"mobase.widgets": extract_objects(mobase.widgets), # type: ignore
|
||||
@@ -174,8 +173,7 @@ def main() -> None:
|
||||
# Create the corresponding object:
|
||||
c = register.make_object(n, o)
|
||||
|
||||
|
||||
for n, o in objects:
|
||||
for n, _o in objects:
|
||||
c = register.get_object(n)
|
||||
|
||||
if isinstance(c, Class):
|
||||
|
||||
@@ -2252,7 +2252,6 @@ class IPlugin(abc.ABC):
|
||||
The list of requirements for this plugin.
|
||||
"""
|
||||
...
|
||||
@abc.abstractmethod
|
||||
def settingGroups(self: IPlugin) -> Sequence[SettingGroup]:
|
||||
"""
|
||||
Returns:
|
||||
|
||||
Reference in New Issue
Block a user