Skip to content

Commit

Permalink
[plugins] in case of overloading, print which plugin is being loaded pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
joanrue committed Apr 8, 2024
1 parent 5f94436 commit 6cbec41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyxu/info/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _load_entry_points(glob, group, names=None):
else:
if name in glob:
warnings.warn(
f"Attempting to overload Pyxu base class/function `{value}`.\n"
f"Attempting to overload a Pyxu base class/function with `{value}`.\n"
+ "Overloading plugins must start with underscore `_`.\n"
+ f"Defaulting to base class/function `{value}`.\n",
pxw.ContributionWarning,
Expand Down

0 comments on commit 6cbec41

Please sign in to comment.