Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove inherited attributes from Python stubs #1671

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

dgelessus
Copy link
Contributor

Each class stub now only contains attributes defined directly by the class itself.

This shaves off over 4000 lines of duplicated stubs in Plasma.py! Apparently this is so much that the default Git diff algorithm gets confused and thinks some parts are additions/modifications... If you view the diff locally using any other diff algorithm, e. g. git show --diff-algorithm=patience de41320571810e8123d3698142da3df7246f8881, you can confirm that the stub changes are in fact all deletions.

Each class stub now only contains attributes defined directly by the
class itself.
@Hoikas Hoikas merged commit 6fcea9b into H-uru:master Mar 4, 2025
18 checks passed
@dgelessus dgelessus deleted the python_stubs_no_inherited_methods branch March 4, 2025 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants