Skip to content

Commit

Permalink
update for black
Browse files Browse the repository at this point in the history
  • Loading branch information
atcuno committed Mar 7, 2025
1 parent 287a058 commit 710a4c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion volatility3/framework/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ def method_being_removed(message: str):
def decorator(deprecated_func):
@functools.wraps(deprecated_func)
def wrapper(*args, **kwargs):
warnings.warn(f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in a release very soon. {message}", FutureWarning)
warnings.warn(
f"This API ({deprecated_func.__module__}.{deprecated_func.__qualname__}) will be removed in a release very soon. {message}",
FutureWarning,
)
return deprecated_func(*args, **kwargs)

return wrapper
Expand Down

0 comments on commit 710a4c2

Please sign in to comment.