Skip to content

Commit f431f51

Browse files
author
Dave Lassalle
committed
#1471 - black and ruff fixes
1 parent 67533b0 commit f431f51

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

volatility3/framework/deprecation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def wrapper(*args, **kwargs):
8989

9090
return decorator
9191

92+
9293
def renamed_class(deprecated_class_name: str, message: str, removal_date: str):
9394
"""A decorator for marking classes as being renamed and removed in the future.
9495
Callers to this function should explicitly update to use the other plugins instead.
@@ -134,4 +135,4 @@ def __init_subclass__(cls, replacement_class, removal_date, **kwargs):
134135
)
135136
else:
136137
setattr(cls, attr, value)
137-
return super(replacement_class).__init_subclass__(**kwargs)
138+
return super(replacement_class).__init_subclass__(**kwargs)

volatility3/framework/plugins/windows/amcache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0
33
#
44
import logging
5-
import warnings
65
from volatility3.framework import interfaces, deprecation
76
from volatility3.plugins.windows.registry import amcache
87

@@ -13,7 +12,8 @@ class Amcache(
1312
interfaces.plugins.PluginInterface,
1413
deprecation.PluginRenameClass,
1514
replacement_class=amcache.Amcache,
16-
removal_date="2025-09-25"):
15+
removal_date="2025-09-25",
16+
):
1717
"""Extract information on executed applications from the AmCache (deprecated)."""
1818

1919
_required_framework_version = (2, 0, 0)

0 commit comments

Comments
 (0)