nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.35k stars 96 forks source link

Assignment from no return Error (Blender 2.79) #86

Closed kungfooman closed 3 years ago

kungfooman commented 3 years ago

System Information

Expected behavior
Those functions should return a proper type

Description about the bug

I would like to have no errors in this plugin I want to extend in Python

Screenshots/Files

image

Additional comments

Thanks a lot for this amazing project!

nutti commented 3 years ago

This issue is now fixed.

I don't have any schedules to release this version. But you can use the fixed version from below link. (See artifacts.) https://github.com/nutti/fake-bpy-module/actions/runs/638585926

kungfooman commented 3 years ago

Wow, thank you so much for resolving this issue so quickly! 🥇

Source code looks way better now:

image

If anyone else wonders how to install the artifact via a specific Python version pip:

1) Download fake_bpy_modules_2.79_pip_20210310T081259Z.zip

2) Run a command like this:

c:\anaconda3\Scripts\pip.exe install fake_bpy_module_2.79-20210310.dev81258-py3-none-any.whl

If you don't have multiple Python installations, a simple pip in your PATH should do it of course aswell.

Thanks again 🙏 👏

nutti commented 3 years ago

@kungfooman

Thanks for your report. I'm very grad to help you!