fake-bpy-module 20250603__py3-none-any.whl → 20250606__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (284) hide show
  1. _bpy_internal/addons/cli/__init__.pyi +1 -1
  2. _bpy_internal/extensions/junction_module/__init__.pyi +7 -7
  3. _bpy_internal/extensions/stale_file_manager/__init__.pyi +8 -8
  4. _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -3
  5. _bpy_internal/freedesktop/__init__.pyi +16 -16
  6. _bpy_internal/grease_pencil/stroke/__init__.pyi +4 -4
  7. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +1 -1
  8. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +1 -1
  9. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
  10. addon_utils/__init__.pyi +12 -12
  11. animsys_refactor/__init__.pyi +6 -6
  12. aud/__init__.pyi +11 -11
  13. bgl/__init__.pyi +272 -252
  14. bl_app_override/__init__.pyi +3 -3
  15. bl_app_override/helpers/__init__.pyi +2 -2
  16. bl_app_template_utils/__init__.pyi +4 -4
  17. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
  18. bl_i18n_utils/bl_extract_messages/__init__.pyi +18 -16
  19. bl_i18n_utils/merge_po/__init__.pyi +1 -1
  20. bl_i18n_utils/settings/__init__.pyi +6 -6
  21. bl_i18n_utils/utils/__init__.pyi +48 -46
  22. bl_i18n_utils/utils_cli/__init__.pyi +6 -6
  23. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -1
  24. bl_i18n_utils/utils_rtl/__init__.pyi +2 -2
  25. bl_keymap_utils/io/__init__.pyi +9 -9
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -1
  28. bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
  29. bl_keymap_utils/versioning/__init__.pyi +1 -1
  30. bl_operators/__init__.pyi +2 -2
  31. bl_operators/add_mesh_torus/__init__.pyi +6 -6
  32. bl_operators/anim/__init__.pyi +24 -24
  33. bl_operators/assets/__init__.pyi +9 -9
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +11 -9
  35. bl_operators/bone_selection_sets/__init__.pyi +18 -18
  36. bl_operators/clip/__init__.pyi +26 -26
  37. bl_operators/connect_to_output/__init__.pyi +17 -15
  38. bl_operators/console/__init__.pyi +10 -10
  39. bl_operators/constraint/__init__.pyi +8 -8
  40. bl_operators/file/__init__.pyi +6 -6
  41. bl_operators/freestyle/__init__.pyi +9 -9
  42. bl_operators/geometry_nodes/__init__.pyi +24 -24
  43. bl_operators/grease_pencil/__init__.pyi +2 -2
  44. bl_operators/image/__init__.pyi +7 -7
  45. bl_operators/image_as_planes/__init__.pyi +32 -32
  46. bl_operators/mesh/__init__.pyi +7 -7
  47. bl_operators/node/__init__.pyi +31 -31
  48. bl_operators/node_editor/node_functions/__init__.pyi +9 -9
  49. bl_operators/object/__init__.pyi +31 -31
  50. bl_operators/object_align/__init__.pyi +5 -5
  51. bl_operators/object_quick_effects/__init__.pyi +9 -9
  52. bl_operators/object_randomize_transform/__init__.pyi +3 -3
  53. bl_operators/presets/__init__.pyi +18 -18
  54. bl_operators/rigidbody/__init__.pyi +7 -7
  55. bl_operators/screen_play_rendered_anim/__init__.pyi +2 -2
  56. bl_operators/sequencer/__init__.pyi +19 -19
  57. bl_operators/spreadsheet/__init__.pyi +4 -4
  58. bl_operators/userpref/__init__.pyi +42 -42
  59. bl_operators/uvcalc_follow_active/__init__.pyi +5 -5
  60. bl_operators/uvcalc_lightmap/__init__.pyi +8 -8
  61. bl_operators/uvcalc_transform/__init__.pyi +20 -20
  62. bl_operators/vertexpaint_dirt/__init__.pyi +4 -4
  63. bl_operators/view3d/__init__.pyi +21 -19
  64. bl_operators/wm/__init__.pyi +88 -88
  65. bl_operators/world/__init__.pyi +2 -2
  66. bl_previews_utils/bl_previews_render/__init__.pyi +9 -7
  67. bl_rna_utils/data_path/__init__.pyi +2 -2
  68. bl_text_utils/external_editor/__init__.pyi +1 -1
  69. bl_ui/__init__.pyi +10 -10
  70. bl_ui/anim/__init__.pyi +2 -2
  71. bl_ui/asset_shelf/__init__.pyi +2 -2
  72. bl_ui/generic_ui_list/__init__.pyi +6 -6
  73. bl_ui/node_add_menu/__init__.pyi +15 -13
  74. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  75. bl_ui/node_add_menu_geometry/__init__.pyi +54 -54
  76. bl_ui/node_add_menu_shader/__init__.pyi +16 -16
  77. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  78. bl_ui/properties_animviz/__init__.pyi +2 -2
  79. bl_ui/properties_collection/__init__.pyi +10 -8
  80. bl_ui/properties_constraint/__init__.pyi +125 -125
  81. bl_ui/properties_data_armature/__init__.pyi +22 -22
  82. bl_ui/properties_data_bone/__init__.pyi +20 -20
  83. bl_ui/properties_data_camera/__init__.pyi +19 -19
  84. bl_ui/properties_data_curve/__init__.pyi +23 -23
  85. bl_ui/properties_data_curves/__init__.pyi +9 -9
  86. bl_ui/properties_data_empty/__init__.pyi +4 -4
  87. bl_ui/properties_data_grease_pencil/__init__.pyi +25 -25
  88. bl_ui/properties_data_lattice/__init__.pyi +4 -4
  89. bl_ui/properties_data_light/__init__.pyi +14 -14
  90. bl_ui/properties_data_lightprobe/__init__.pyi +18 -18
  91. bl_ui/properties_data_mesh/__init__.pyi +26 -26
  92. bl_ui/properties_data_metaball/__init__.pyi +6 -6
  93. bl_ui/properties_data_modifier/__init__.pyi +12 -12
  94. bl_ui/properties_data_pointcloud/__init__.pyi +8 -8
  95. bl_ui/properties_data_shaderfx/__init__.pyi +1 -1
  96. bl_ui/properties_data_speaker/__init__.pyi +5 -5
  97. bl_ui/properties_data_volume/__init__.pyi +9 -9
  98. bl_ui/properties_freestyle/__init__.pyi +51 -51
  99. bl_ui/properties_grease_pencil_common/__init__.pyi +30 -30
  100. bl_ui/properties_mask_common/__init__.pyi +24 -24
  101. bl_ui/properties_material/__init__.pyi +27 -27
  102. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  103. bl_ui/properties_object/__init__.pyi +29 -29
  104. bl_ui/properties_output/__init__.pyi +29 -29
  105. bl_ui/properties_paint_common/__init__.pyi +59 -49
  106. bl_ui/properties_particle/__init__.pyi +101 -101
  107. bl_ui/properties_physics_cloth/__init__.pyi +20 -20
  108. bl_ui/properties_physics_common/__init__.pyi +8 -8
  109. bl_ui/properties_physics_dynamicpaint/__init__.pyi +57 -57
  110. bl_ui/properties_physics_field/__init__.pyi +23 -23
  111. bl_ui/properties_physics_fluid/__init__.pyi +76 -76
  112. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -3
  113. bl_ui/properties_physics_rigidbody/__init__.pyi +18 -18
  114. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +29 -29
  115. bl_ui/properties_physics_softbody/__init__.pyi +21 -21
  116. bl_ui/properties_render/__init__.pyi +81 -81
  117. bl_ui/properties_scene/__init__.pyi +22 -22
  118. bl_ui/properties_texture/__init__.pyi +39 -39
  119. bl_ui/properties_view_layer/__init__.pyi +12 -12
  120. bl_ui/properties_workspace/__init__.pyi +5 -5
  121. bl_ui/properties_world/__init__.pyi +18 -18
  122. bl_ui/space_clip/__init__.pyi +81 -81
  123. bl_ui/space_console/__init__.pyi +6 -6
  124. bl_ui/space_dopesheet/__init__.pyi +32 -32
  125. bl_ui/space_filebrowser/__init__.pyi +45 -45
  126. bl_ui/space_graph/__init__.pyi +21 -21
  127. bl_ui/space_image/__init__.pyi +73 -73
  128. bl_ui/space_info/__init__.pyi +6 -6
  129. bl_ui/space_nla/__init__.pyi +18 -18
  130. bl_ui/space_node/__init__.pyi +42 -42
  131. bl_ui/space_outliner/__init__.pyi +21 -21
  132. bl_ui/space_properties/__init__.pyi +6 -6
  133. bl_ui/space_sequencer/__init__.pyi +133 -133
  134. bl_ui/space_spreadsheet/__init__.pyi +4 -4
  135. bl_ui/space_statusbar/__init__.pyi +1 -1
  136. bl_ui/space_text/__init__.pyi +17 -17
  137. bl_ui/space_time/__init__.pyi +12 -12
  138. bl_ui/space_toolsystem_common/__init__.pyi +28 -26
  139. bl_ui/space_toolsystem_toolbar/__init__.pyi +36 -36
  140. bl_ui/space_topbar/__init__.pyi +32 -32
  141. bl_ui/space_userpref/__init__.pyi +132 -132
  142. bl_ui/space_view3d/__init__.pyi +297 -297
  143. bl_ui/space_view3d_toolbar/__init__.pyi +148 -149
  144. bl_ui/utils/__init__.pyi +5 -5
  145. bl_ui_utils/layout/__init__.pyi +1 -1
  146. blend_render_info/__init__.pyi +2 -2
  147. blf/__init__.pyi +15 -15
  148. bmesh/__init__.pyi +1 -1
  149. bmesh/ops/__init__.pyi +366 -357
  150. bmesh/types/__init__.pyi +59 -57
  151. bmesh/utils/__init__.pyi +2 -2
  152. bpy/app/__init__.pyi +5 -5
  153. bpy/app/icons/__init__.pyi +1 -1
  154. bpy/app/timers/__init__.pyi +2 -2
  155. bpy/app/translations/__init__.pyi +9 -9
  156. bpy/msgbus/__init__.pyi +3 -3
  157. bpy/ops/action/__init__.pyi +62 -38
  158. bpy/ops/anim/__init__.pyi +63 -61
  159. bpy/ops/armature/__init__.pyi +58 -48
  160. bpy/ops/asset/__init__.pyi +31 -17
  161. bpy/ops/boid/__init__.pyi +18 -8
  162. bpy/ops/brush/__init__.pyi +19 -13
  163. bpy/ops/buttons/__init__.pyi +14 -6
  164. bpy/ops/cachefile/__init__.pyi +9 -5
  165. bpy/ops/camera/__init__.pyi +2 -2
  166. bpy/ops/clip/__init__.pyi +112 -92
  167. bpy/ops/cloth/__init__.pyi +1 -1
  168. bpy/ops/collection/__init__.pyi +11 -9
  169. bpy/ops/console/__init__.pyi +37 -21
  170. bpy/ops/constraint/__init__.pyi +20 -18
  171. bpy/ops/curve/__init__.pyi +81 -51
  172. bpy/ops/curves/__init__.pyi +50 -30
  173. bpy/ops/cycles/__init__.pyi +3 -3
  174. bpy/ops/dpaint/__init__.pyi +5 -5
  175. bpy/ops/ed/__init__.pyi +19 -13
  176. bpy/ops/export_anim/__init__.pyi +1 -1
  177. bpy/ops/export_scene/__init__.pyi +2 -2
  178. bpy/ops/extensions/__init__.pyi +38 -32
  179. bpy/ops/file/__init__.pyi +72 -40
  180. bpy/ops/fluid/__init__.pyi +36 -14
  181. bpy/ops/font/__init__.pyi +41 -23
  182. bpy/ops/geometry/__init__.pyi +10 -10
  183. bpy/ops/gizmogroup/__init__.pyi +4 -2
  184. bpy/ops/gpencil/__init__.pyi +12 -8
  185. bpy/ops/graph/__init__.pyi +81 -65
  186. bpy/ops/grease_pencil/__init__.pyi +159 -115
  187. bpy/ops/image/__init__.pyi +63 -49
  188. bpy/ops/import_anim/__init__.pyi +1 -1
  189. bpy/ops/import_curve/__init__.pyi +1 -1
  190. bpy/ops/import_scene/__init__.pyi +2 -2
  191. bpy/ops/info/__init__.pyi +13 -7
  192. bpy/ops/lattice/__init__.pyi +14 -8
  193. bpy/ops/marker/__init__.pyi +13 -11
  194. bpy/ops/mask/__init__.pyi +59 -39
  195. bpy/ops/material/__init__.pyi +3 -3
  196. bpy/ops/mball/__init__.pyi +8 -8
  197. bpy/ops/mesh/__init__.pyi +182 -164
  198. bpy/ops/nla/__init__.pyi +65 -39
  199. bpy/ops/node/__init__.pyi +181 -147
  200. bpy/ops/object/__init__.pyi +262 -242
  201. bpy/ops/outliner/__init__.pyi +98 -72
  202. bpy/ops/paint/__init__.pyi +58 -54
  203. bpy/ops/paintcurve/__init__.pyi +12 -8
  204. bpy/ops/palette/__init__.pyi +11 -7
  205. bpy/ops/particle/__init__.pyi +58 -36
  206. bpy/ops/pointcloud/__init__.pyi +13 -7
  207. bpy/ops/pose/__init__.pyi +65 -51
  208. bpy/ops/poselib/__init__.pyi +17 -11
  209. bpy/ops/preferences/__init__.pyi +41 -35
  210. bpy/ops/ptcache/__init__.pyi +13 -7
  211. bpy/ops/render/__init__.pyi +17 -13
  212. bpy/ops/rigidbody/__init__.pyi +19 -13
  213. bpy/ops/scene/__init__.pyi +39 -37
  214. bpy/ops/screen/__init__.pyi +59 -39
  215. bpy/ops/script/__init__.pyi +5 -3
  216. bpy/ops/sculpt/__init__.pyi +44 -40
  217. bpy/ops/sculpt_curves/__init__.pyi +4 -4
  218. bpy/ops/sequencer/__init__.pyi +142 -100
  219. bpy/ops/sound/__init__.pyi +7 -7
  220. bpy/ops/spreadsheet/__init__.pyi +13 -7
  221. bpy/ops/surface/__init__.pyi +6 -6
  222. bpy/ops/text/__init__.pyi +73 -43
  223. bpy/ops/text_editor/__init__.pyi +1 -1
  224. bpy/ops/texture/__init__.pyi +8 -4
  225. bpy/ops/transform/__init__.pyi +29 -27
  226. bpy/ops/ui/__init__.pyi +42 -34
  227. bpy/ops/uilist/__init__.pyi +3 -3
  228. bpy/ops/uv/__init__.pyi +59 -49
  229. bpy/ops/view2d/__init__.pyi +14 -14
  230. bpy/ops/view3d/__init__.pyi +87 -67
  231. bpy/ops/wm/__init__.pyi +138 -116
  232. bpy/ops/workspace/__init__.pyi +11 -7
  233. bpy/ops/world/__init__.pyi +2 -2
  234. bpy/props/__init__.pyi +16 -13
  235. bpy/types/__init__.pyi +1220 -1157
  236. bpy/utils/__init__.pyi +23 -23
  237. bpy/utils/previews/__init__.pyi +3 -3
  238. bpy_extras/anim_utils/__init__.pyi +7 -7
  239. bpy_extras/bmesh_utils/__init__.pyi +1 -1
  240. bpy_extras/id_map_utils/__init__.pyi +3 -3
  241. bpy_extras/io_utils/__init__.pyi +14 -12
  242. bpy_extras/keyconfig_utils/__init__.pyi +3 -3
  243. bpy_extras/mesh_utils/__init__.pyi +2 -2
  244. bpy_extras/node_shader_utils/__init__.pyi +63 -63
  245. bpy_extras/node_utils/__init__.pyi +3 -3
  246. bpy_extras/object_utils/__init__.pyi +4 -4
  247. bpy_extras/wm_utils/progress_report/__init__.pyi +10 -10
  248. bpy_types/__init__.pyi +4 -4
  249. console_python/__init__.pyi +7 -7
  250. console_shell/__init__.pyi +5 -5
  251. {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/METADATA +1 -1
  252. fake_bpy_module-20250606.dist-info/RECORD +367 -0
  253. freestyle/chainingiterators/__init__.pyi +35 -33
  254. freestyle/functions/__init__.pyi +55 -55
  255. freestyle/predicates/__init__.pyi +8 -8
  256. freestyle/shaders/__init__.pyi +79 -75
  257. freestyle/types/__init__.pyi +146 -142
  258. freestyle/utils/ContextFunctions/__init__.pyi +3 -1
  259. freestyle/utils/__init__.pyi +25 -25
  260. gpu/matrix/__init__.pyi +14 -14
  261. gpu/select/__init__.pyi +1 -1
  262. gpu/shader/__init__.pyi +1 -1
  263. gpu/state/__init__.pyi +19 -19
  264. gpu/types/__init__.pyi +50 -44
  265. gpu_extras/presets/__init__.pyi +2 -2
  266. graphviz_export/__init__.pyi +2 -2
  267. idprop/types/__init__.pyi +9 -9
  268. imbuf/__init__.pyi +3 -1
  269. imbuf/types/__init__.pyi +3 -3
  270. keyingsets_builtins/__init__.pyi +26 -26
  271. keyingsets_utils/__init__.pyi +14 -14
  272. mathutils/__init__.pyi +61 -53
  273. mathutils/bvhtree/__init__.pyi +4 -4
  274. mathutils/kdtree/__init__.pyi +3 -3
  275. mathutils/noise/__init__.pyi +1 -1
  276. nodeitems_builtins/__init__.pyi +4 -4
  277. nodeitems_utils/__init__.pyi +9 -9
  278. rna_info/__init__.pyi +25 -25
  279. rna_keymap_ui/__init__.pyi +6 -6
  280. rna_prop_ui/__init__.pyi +12 -12
  281. rna_xml/__init__.pyi +6 -6
  282. fake_bpy_module-20250603.dist-info/RECORD +0 -367
  283. {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/WHEEL +0 -0
  284. {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/top_level.txt +0 -0
@@ -44,7 +44,9 @@ def get_time_stamp() -> int:
44
44
  :rtype: int
45
45
  """
46
46
 
47
- def load_map(file_name: str, map_name: str, num_levels: int = 4, sigma: float = 1.0):
47
+ def load_map(
48
+ file_name: str, map_name: str, num_levels: int = 4, sigma: float = 1.0
49
+ ) -> None:
48
50
  """Loads an image map for further reading.
49
51
 
50
52
  :param file_name: The name of the image file.
@@ -21,7 +21,7 @@ from . import ContextFunctions as ContextFunctions
21
21
  class BoundingBox:
22
22
  """Object representing a bounding box consisting out of 2 2D vectors"""
23
23
 
24
- def inside(self, other):
24
+ def inside(self, other) -> None:
25
25
  """True if self inside other, False otherwise
26
26
 
27
27
  :param other:
@@ -30,21 +30,21 @@ class BoundingBox:
30
30
  class StrokeCollector:
31
31
  """Collects and Stores stroke objects"""
32
32
 
33
- def shade(self, stroke):
33
+ def shade(self, stroke) -> None:
34
34
  """
35
35
 
36
36
  :param stroke:
37
37
  """
38
38
 
39
- def angle_x_normal(it):
39
+ def angle_x_normal(it) -> None:
40
40
  """unsigned angle between a Point's normal and the X axis, in radians"""
41
41
 
42
- def bound(lower, x, higher): ...
43
- def bounding_box(stroke):
42
+ def bound(lower, x, higher) -> None: ...
43
+ def bounding_box(stroke) -> None:
44
44
  """Returns the maximum and minimum coordinates (the bounding box) of the stroke's vertices"""
45
45
 
46
- def curvature_from_stroke_vertex(svert): ...
47
- def find_matching_vertex(id, it):
46
+ def curvature_from_stroke_vertex(svert) -> None: ...
47
+ def find_matching_vertex(id, it) -> None:
48
48
  """Finds the matching vertex, or returns None."""
49
49
 
50
50
  def getCurrentScene() -> bpy.types.Scene:
@@ -54,16 +54,16 @@ def getCurrentScene() -> bpy.types.Scene:
54
54
  :rtype: bpy.types.Scene
55
55
  """
56
56
 
57
- def get_chain_length(ve, orientation):
57
+ def get_chain_length(ve, orientation) -> None:
58
58
  """Returns the 2d length of a given ViewEdge."""
59
59
 
60
- def get_object_name(stroke):
60
+ def get_object_name(stroke) -> None:
61
61
  """Returns the name of the object that this stroke is drawn on."""
62
62
 
63
- def get_strokes():
63
+ def get_strokes() -> None:
64
64
  """Get all strokes that are currently available"""
65
65
 
66
- def get_test_stroke():
66
+ def get_test_stroke() -> None:
67
67
  """Returns a static stroke object for testing"""
68
68
 
69
69
  def integrate(
@@ -95,53 +95,53 @@ def integrate(
95
95
  :rtype: float
96
96
  """
97
97
 
98
- def is_poly_clockwise(stroke):
98
+ def is_poly_clockwise(stroke) -> None:
99
99
  """True if the stroke is orientated in a clockwise way, False otherwise"""
100
100
 
101
- def iter_distance_along_stroke(stroke):
101
+ def iter_distance_along_stroke(stroke) -> None:
102
102
  """Yields the absolute distance along the stroke up to the current vertex."""
103
103
 
104
- def iter_distance_from_camera(stroke, range_min, range_max, normfac):
104
+ def iter_distance_from_camera(stroke, range_min, range_max, normfac) -> None:
105
105
  """Yields the distance to the camera relative to the maximum
106
106
  possible distance for every stroke vertex, constrained by
107
107
  given minimum and maximum values.
108
108
 
109
109
  """
110
110
 
111
- def iter_distance_from_object(stroke, location, range_min, range_max, normfac):
111
+ def iter_distance_from_object(stroke, location, range_min, range_max, normfac) -> None:
112
112
  """yields the distance to the given object relative to the maximum
113
113
  possible distance for every stroke vertex, constrained by
114
114
  given minimum and maximum values.
115
115
 
116
116
  """
117
117
 
118
- def iter_material_value(stroke, func, attribute):
118
+ def iter_material_value(stroke, func, attribute) -> None:
119
119
  """Yields a specific material attribute from the vertex' underlying material."""
120
120
 
121
- def iter_t2d_along_stroke(stroke):
121
+ def iter_t2d_along_stroke(stroke) -> None:
122
122
  """Yields the progress along the stroke."""
123
123
 
124
- def material_from_fedge(fe):
124
+ def material_from_fedge(fe) -> None:
125
125
  """get the diffuse RGBA color from an FEdge"""
126
126
 
127
- def normal_at_I0D(it): ...
128
- def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
127
+ def normal_at_I0D(it) -> None: ...
128
+ def pairwise(iterable, types={StrokeVertexIterator, Stroke}) -> None:
129
129
  """Yields a tuple containing the previous and current object"""
130
130
 
131
- def rgb_to_bw(r, g, b):
131
+ def rgb_to_bw(r, g, b) -> None:
132
132
  """Method to convert rgb to a bw intensity value."""
133
133
 
134
- def simplify(points, tolerance):
134
+ def simplify(points, tolerance) -> None:
135
135
  """Simplifies a set of points"""
136
136
 
137
- def stroke_curvature(it):
137
+ def stroke_curvature(it) -> None:
138
138
  """Compute the 2D curvature at the stroke vertex pointed by the iterator 'it'.
139
139
  K = 1 / R
140
140
  where R is the radius of the circle going through the current vertex and its neighbors
141
141
 
142
142
  """
143
143
 
144
- def stroke_normal(stroke):
144
+ def stroke_normal(stroke) -> None:
145
145
  """Compute the 2D normal at the stroke vertex pointed by the iterator
146
146
  'it'. It is noted that Normal2DF0D computes normals based on
147
147
  underlying FEdges instead, which is inappropriate for strokes when
@@ -152,5 +152,5 @@ def stroke_normal(stroke):
152
152
 
153
153
  """
154
154
 
155
- def tripplewise(iterable):
155
+ def tripplewise(iterable) -> None:
156
156
  """Yields a tuple containing the current object and its immediate neighbors"""
gpu/matrix/__init__.pyi CHANGED
@@ -30,13 +30,13 @@ def get_projection_matrix() -> mathutils.Matrix:
30
30
  :rtype: mathutils.Matrix
31
31
  """
32
32
 
33
- def load_identity():
33
+ def load_identity() -> None:
34
34
  """Load an identity matrix into the stack."""
35
35
 
36
36
  def load_matrix(
37
37
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
38
38
  | mathutils.Matrix,
39
- ):
39
+ ) -> None:
40
40
  """Load a matrix into the stack.
41
41
 
42
42
  :param matrix: A 4x4 matrix.
@@ -46,7 +46,7 @@ def load_matrix(
46
46
  def load_projection_matrix(
47
47
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
48
48
  | mathutils.Matrix,
49
- ):
49
+ ) -> None:
50
50
  """Load a projection matrix into the stack.
51
51
 
52
52
  :param matrix: A 4x4 matrix.
@@ -56,49 +56,49 @@ def load_projection_matrix(
56
56
  def multiply_matrix(
57
57
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
58
58
  | mathutils.Matrix,
59
- ):
59
+ ) -> None:
60
60
  """Multiply the current stack matrix.
61
61
 
62
62
  :param matrix: A 4x4 matrix.
63
63
  :type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix
64
64
  """
65
65
 
66
- def pop():
66
+ def pop() -> None:
67
67
  """Remove the last model-view matrix from the stack."""
68
68
 
69
- def pop_projection():
69
+ def pop_projection() -> None:
70
70
  """Remove the last projection matrix from the stack."""
71
71
 
72
- def push():
72
+ def push() -> None:
73
73
  """Add to the model-view matrix stack."""
74
74
 
75
- def push_pop():
75
+ def push_pop() -> None:
76
76
  """Context manager to ensure balanced push/pop calls, even in the case of an error."""
77
77
 
78
- def push_pop_projection():
78
+ def push_pop_projection() -> None:
79
79
  """Context manager to ensure balanced push/pop calls, even in the case of an error."""
80
80
 
81
- def push_projection():
81
+ def push_projection() -> None:
82
82
  """Add to the projection matrix stack."""
83
83
 
84
- def reset():
84
+ def reset() -> None:
85
85
  """Empty stack and set to identity."""
86
86
 
87
- def scale(scale: collections.abc.Sequence[float]):
87
+ def scale(scale: collections.abc.Sequence[float]) -> None:
88
88
  """Scale the current stack matrix.
89
89
 
90
90
  :param scale: Scale the current stack matrix with 2 or 3 floats.
91
91
  :type scale: collections.abc.Sequence[float]
92
92
  """
93
93
 
94
- def scale_uniform(scale: float):
94
+ def scale_uniform(scale: float) -> None:
95
95
  """
96
96
 
97
97
  :param scale: Scale the current stack matrix.
98
98
  :type scale: float
99
99
  """
100
100
 
101
- def translate(offset: collections.abc.Sequence[float]):
101
+ def translate(offset: collections.abc.Sequence[float]) -> None:
102
102
  """Scale the current stack matrix.
103
103
 
104
104
  :param offset: Translate the current stack matrix with 2 or 3 floats.
gpu/select/__init__.pyi CHANGED
@@ -8,7 +8,7 @@ import collections.abc
8
8
  import typing_extensions
9
9
  import numpy.typing as npt
10
10
 
11
- def load_id(id):
11
+ def load_id(id) -> None:
12
12
  """Set the selection ID.
13
13
 
14
14
  :param id: Number (32-bit uint).
gpu/shader/__init__.pyi CHANGED
@@ -122,5 +122,5 @@ def from_builtin(shader_name: str, config: str = "DEFAULT") -> gpu.types.GPUShad
122
122
  :rtype: gpu.types.GPUShader
123
123
  """
124
124
 
125
- def unbind():
125
+ def unbind() -> None:
126
126
  """Unbind the bound shader object."""
gpu/state/__init__.pyi CHANGED
@@ -8,13 +8,13 @@ import collections.abc
8
8
  import typing_extensions
9
9
  import numpy.typing as npt
10
10
 
11
- def active_framebuffer_get(enable):
11
+ def active_framebuffer_get(enable) -> None:
12
12
  """Return the active frame-buffer in context."""
13
13
 
14
- def blend_get():
14
+ def blend_get() -> None:
15
15
  """Current blending equation."""
16
16
 
17
- def blend_set(mode: str):
17
+ def blend_set(mode: str) -> None:
18
18
  """Defines the fixed pipeline blending equation.
19
19
 
20
20
  :param mode: The type of blend mode.
@@ -37,33 +37,33 @@ def blend_set(mode: str):
37
37
  :type mode: str
38
38
  """
39
39
 
40
- def clip_distances_set(distances_enabled: int):
40
+ def clip_distances_set(distances_enabled: int) -> None:
41
41
  """Sets the number of gl_ClipDistance planes used for clip geometry.
42
42
 
43
43
  :param distances_enabled: Number of clip distances enabled.
44
44
  :type distances_enabled: int
45
45
  """
46
46
 
47
- def color_mask_set(r: bool, g, b, a):
47
+ def color_mask_set(r: bool, g, b, a) -> None:
48
48
  """Enable or disable writing of frame buffer color components.
49
49
 
50
50
  :param r: components red, green, blue, and alpha.
51
51
  :type r: bool
52
52
  """
53
53
 
54
- def depth_mask_get():
54
+ def depth_mask_get() -> None:
55
55
  """Writing status in the depth component."""
56
56
 
57
- def depth_mask_set(value):
57
+ def depth_mask_set(value) -> None:
58
58
  """Write to depth component.
59
59
 
60
60
  :param value: True for writing to the depth component.
61
61
  """
62
62
 
63
- def depth_test_get():
63
+ def depth_test_get() -> None:
64
64
  """Current depth_test equation."""
65
65
 
66
- def depth_test_set(mode: str):
66
+ def depth_test_set(mode: str) -> None:
67
67
  """Defines the depth_test equation.
68
68
 
69
69
  :param mode: The depth test equation name.
@@ -71,28 +71,28 @@ def depth_test_set(mode: str):
71
71
  :type mode: str
72
72
  """
73
73
 
74
- def face_culling_set(culling):
74
+ def face_culling_set(culling) -> None:
75
75
  """Specify whether none, front-facing or back-facing facets can be culled."""
76
76
 
77
- def front_facing_set(invert):
77
+ def front_facing_set(invert) -> None:
78
78
  """Specifies the orientation of front-facing polygons.
79
79
 
80
80
  :param invert: True for clockwise polygons as front-facing.
81
81
  """
82
82
 
83
- def line_width_get():
83
+ def line_width_get() -> None:
84
84
  """Current width of rasterized lines."""
85
85
 
86
- def line_width_set(width):
86
+ def line_width_set(width) -> None:
87
87
  """Specify the width of rasterized lines."""
88
88
 
89
- def point_size_set(size):
89
+ def point_size_set(size) -> None:
90
90
  """Specify the diameter of rasterized points.
91
91
 
92
92
  :param size: New diameter.
93
93
  """
94
94
 
95
- def program_point_size_set(enable: bool):
95
+ def program_point_size_set(enable: bool) -> None:
96
96
  """If enabled, the derived point size is taken from the (potentially clipped) shader builtin gl_PointSize.
97
97
 
98
98
  :param enable: True for shader builtin gl_PointSize.
@@ -110,7 +110,7 @@ def scissor_get() -> tuple[int, int, int, int]:
110
110
  :rtype: tuple[int, int, int, int]
111
111
  """
112
112
 
113
- def scissor_set(x: int, y, xsize: int, ysize):
113
+ def scissor_set(x: int, y, xsize: int, ysize) -> None:
114
114
  """Specifies the scissor area of the active framebuffer.
115
115
  Note: The scissor state is not saved upon framebuffer rebind.
116
116
 
@@ -120,7 +120,7 @@ def scissor_set(x: int, y, xsize: int, ysize):
120
120
  :type xsize: int
121
121
  """
122
122
 
123
- def scissor_test_set(enable: bool):
123
+ def scissor_test_set(enable: bool) -> None:
124
124
  """Enable/disable scissor testing on the active framebuffer.
125
125
 
126
126
  :param enable: True - enable scissor testing.
@@ -128,10 +128,10 @@ def scissor_test_set(enable: bool):
128
128
  :type enable: bool
129
129
  """
130
130
 
131
- def viewport_get():
131
+ def viewport_get() -> None:
132
132
  """Viewport of the active framebuffer."""
133
133
 
134
- def viewport_set(x: int, y, xsize: int, ysize):
134
+ def viewport_set(x: int, y, xsize: int, ysize) -> None:
135
135
  """Specifies the viewport of the active framebuffer.
136
136
  Note: The viewport state is not saved upon framebuffer rebind.
137
137