Skip to content

Commit 23e9dd6

Browse files
committed
Raise SyntaxWarning instead
1 parent 7083f3c commit 23e9dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/helpers/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def new_module(*args, **kwargs):
384384
f"Short-form parameter ({arg}) is not recommended. "
385385
f"Use long-form parameter '{alias}' instead."
386386
)
387-
warnings.warn(msg, category=FutureWarning, stacklevel=2)
387+
warnings.warn(msg, category=SyntaxWarning, stacklevel=2)
388388
return module_func(*args, **kwargs)
389389

390390
new_module.aliases = aliases

0 commit comments

Comments
 (0)