#1471 - black and ruff fixes

This commit is contained in:
Dave Lassalle
2025-03-26 08:22:37 -05:00
parent 67533b034a
commit f431f519b6
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -89,6 +89,7 @@ def deprecated_method(
return decorator
def renamed_class(deprecated_class_name: str, message: str, removal_date: str):
"""A decorator for marking classes as being renamed and removed in the future.
Callers to this function should explicitly update to use the other plugins instead.
@@ -134,4 +135,4 @@ class PluginRenameClass:
)
else:
setattr(cls, attr, value)
return super(replacement_class).__init_subclass__(**kwargs)
return super(replacement_class).__init_subclass__(**kwargs)
@@ -2,7 +2,6 @@
# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0
#
import logging
import warnings
from volatility3.framework import interfaces, deprecation
from volatility3.plugins.windows.registry import amcache
@@ -13,7 +12,8 @@ class Amcache(
interfaces.plugins.PluginInterface,
deprecation.PluginRenameClass,
replacement_class=amcache.Amcache,
removal_date="2025-09-25"):
removal_date="2025-09-25",
):
"""Extract information on executed applications from the AmCache (deprecated)."""
_required_framework_version = (2, 0, 0)