-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #114 from Nusiq/stub-files
Add custom version of `fake_bpy_modules` to the project
- Loading branch information
Showing
362 changed files
with
571,899 additions
and
1,506 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build | ||
fake_bpy_modules_mcblend.egg-info |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
MIT License | ||
|
||
Copyright (c) 2017 Nutti (original version: https://github.com/nutti/fake-bpy-module) | ||
Copyright (c) 2024 Nusiq (modified version for Mcblend) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
This module is based on: `fake_bpy_modules_3.6-20231118.zip` from the Fake Bpy Module project. The original project can be found at: | ||
https://github.com/nutti/fake-bpy-module/releases/tag/20231118 | ||
|
||
|
||
This module is used to provide type checking for Blender's bpy and mathutils module in the Mcblend project. The default fake-bpy-module was insufficient for Mcblend because of its inacuracies and lack of types that are specific to Mcblend. | ||
|
||
> [!WARNING] | ||
> This project is not useful for developing other Blender addons. If you're looking for a fake bpy module, please use the original project instead or create your own fork if your project requires additional types. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
import sys | ||
import typing | ||
|
||
GenericType = typing.TypeVar("GenericType") | ||
|
||
|
||
def check(module_name): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def disable(module_name, default_set, handle_error): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def disable_all(): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def enable(module_name, default_set, persistent, handle_error): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def module_bl_info(mod, info_basis): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def modules(module_cache, refresh): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def modules_refresh(module_cache): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def paths(): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def reset_all(reload_scripts): | ||
''' | ||
''' | ||
|
||
pass |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import sys | ||
import typing | ||
|
||
GenericType = typing.TypeVar("GenericType") | ||
|
||
|
||
class DataPathBuilder: | ||
data_path = None | ||
''' ''' | ||
|
||
def resolve(self, real_base, rna_update_from_map, fcurve, log): | ||
''' | ||
''' | ||
pass | ||
|
||
|
||
def anim_data_actions(anim_data): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def classes_recursive(base_type, clss): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def find_path_new(id_data, data_path, rna_update_from_map, fcurve, log): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def id_iter(): | ||
''' | ||
''' | ||
|
||
pass | ||
|
||
|
||
def update_data_paths(rna_update, log): | ||
''' | ||
''' | ||
|
||
pass |
Empty file.
Oops, something went wrong.