mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-01 04:39:03 +02:00
Numerous pycharm warnings resolved
This includes: * Better ways of checking empty lists * Not shadowing builtin functions like filter * Preventing invalid slash warnings by marking strings as regexps * Removing unnecessary brackets * Lowercase variable names * Adding/updating parameters in docstrings * Removing unused code (lines not chunks) * Change in not a member tests * Changing some methods to static * Shorting range membership checks * Missing parameters * Make some exception handlers more specific * Don't define a lambda to a variable * A few more instance checks to help type checkers
This commit is contained in:
@@ -25,9 +25,9 @@ def run_plugin(context: interfaces.context.ContextInterface,
|
||||
context: The volatility context to operate on
|
||||
automagics: A list of automagic modules to run to augment the context
|
||||
plugin: The plugin to run
|
||||
plugin_config_path: The path within the context's config containing the plugin's configuration
|
||||
write_config: Whether to record the configuration options after processing the automagic but before running
|
||||
quiet: Whether or not to output progress information
|
||||
base_config_path: The path within the context's config containing the plugin's configuration
|
||||
progress_callback: Callback function to provide feedback for ongoing processes
|
||||
file_consumer: Object to pass any generated files to
|
||||
|
||||
Returns:
|
||||
The constructed plugin object
|
||||
|
||||
Reference in New Issue
Block a user