Potential fix for code scanning alert no. 407: First argument to super() is not enclosing class

Think this is more correct

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
ikelos
2025-03-27 14:13:25 +00:00
committed by GitHub
co-authored by Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent bfc7e01d75
commit 70e101ff90
+1 -1
View File
@@ -136,4 +136,4 @@ class PluginRenameClass:
else:
if not attr.startswith("__"):
setattr(cls, attr, value)
return super(replacement_class).__init_subclass__(**kwargs)
return super(PluginRenameClass).__init_subclass__(**kwargs)