Plugins: Bump required_framework_version and yapf

This commit is contained in:
Mike Auty
2020-10-29 09:43:16 +00:00
committed by ikelos
parent 054a3618b8
commit bbc2ac0018
71 changed files with 129 additions and 20 deletions
@@ -8,6 +8,8 @@ from volatility.framework.interfaces import plugins
class FrameworkInfo(plugins.PluginInterface):
"""Plugin to list the various modular components of Volatility"""
_required_framework_version = (2, 0, 0)
@classmethod
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
return []
@@ -24,9 +26,9 @@ class FrameworkInfo(plugins.PluginInterface):
}
for category, module_interface in categories.items():
yield (0, (category, ))
yield (0, (category,))
for clazz in framework.class_subclasses(module_interface):
yield (1, (clazz.__name__, ))
yield (1, (clazz.__name__,))
def run(self):
return renderers.TreeGrid([("Data", str)], self._generator())