-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add custom version of fake_bpy_modules
to the project
#114
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…blend's type-checking needs.
- Renamed the stub files to use the .pyi extension instead of .py (somehow it helps the linter with parsing the files) - Moved the modules of the 'bpy' package to their own packages (subpackages of 'bpy'). Stops pyright from complaining about 'invalid' imports. - Adjusted the pyproject toml to include fake-bpy-module packages relevant for the Mcblend project.
…ule propertise like (xyz, xzy etc.).
…y_access. Improved the __matmul__ implementations for 'Matrix', 'Vector' and 'Quaternion' from mathutils.
…rts of code that use 'context.active_object' to 'context.object'
…ties. Now they work directly with the objects that contain these properties.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a custom version of the Fake BPY Module to the project. The stub module has been modified to fix some of the inaccuracies of the original and to fit the needs of Mcblend.
This PR closes #113