fake-bpy-module 20240915__py3-none-any.whl → 20240916__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.
- _bpy_internal/__init__.pyi +2 -2
- _bpy_internal/addons/__init__.pyi +2 -2
- _bpy_internal/addons/cli/__init__.pyi +2 -2
- _bpy_internal/extensions/__init__.pyi +2 -2
- _bpy_internal/extensions/junction_module/__init__.pyi +2 -8
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +2 -6
- _bpy_internal/extensions/wheel_manager/__init__.pyi +2 -6
- _bpy_internal/freedesktop/__init__.pyi +2 -2
- _bpy_internal/grease_pencil/__init__.pyi +2 -2
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -16
- _bpy_internal/system_info/__init__.pyi +2 -2
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -2
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -2
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
- addon_utils/__init__.pyi +2 -12
- animsys_refactor/__init__.pyi +2 -3
- aud/__init__.pyi +2 -71
- bgl/__init__.pyi +2 -526
- bl_app_override/__init__.pyi +2 -2
- bl_app_override/helpers/__init__.pyi +2 -2
- bl_app_template_utils/__init__.pyi +2 -4
- bl_console_utils/__init__.pyi +2 -2
- bl_console_utils/autocomplete/__init__.pyi +2 -2
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -12
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -8
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -12
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -6
- bl_i18n_utils/__init__.pyi +2 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -6
- bl_i18n_utils/merge_po/__init__.pyi +2 -2
- bl_i18n_utils/settings/__init__.pyi +2 -6
- bl_i18n_utils/utils/__init__.pyi +2 -45
- bl_i18n_utils/utils_cli/__init__.pyi +2 -2
- bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -6
- bl_keymap_utils/__init__.pyi +2 -2
- bl_keymap_utils/io/__init__.pyi +2 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -4
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -4
- bl_keymap_utils/versioning/__init__.pyi +2 -2
- bl_math/__init__.pyi +2 -8
- bl_operators/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +2 -8
- bl_operators/anim/__init__.pyi +2 -48
- bl_operators/assets/__init__.pyi +2 -17
- bl_operators/bmesh/__init__.pyi +2 -2
- bl_operators/bmesh/find_adjacent/__init__.pyi +2 -6
- bl_operators/bone_selection_sets/__init__.pyi +2 -46
- bl_operators/clip/__init__.pyi +2 -43
- bl_operators/connect_to_output/__init__.pyi +2 -18
- bl_operators/console/__init__.pyi +2 -22
- bl_operators/constraint/__init__.pyi +2 -18
- bl_operators/file/__init__.pyi +2 -14
- bl_operators/freestyle/__init__.pyi +2 -19
- bl_operators/geometry_nodes/__init__.pyi +2 -21
- bl_operators/image/__init__.pyi +2 -19
- bl_operators/image_as_planes/__init__.pyi +2 -43
- bl_operators/mesh/__init__.pyi +2 -15
- bl_operators/node/__init__.pyi +2 -41
- bl_operators/node_editor/__init__.pyi +2 -2
- bl_operators/node_editor/node_functions/__init__.pyi +2 -3
- bl_operators/object/__init__.pyi +2 -63
- bl_operators/object_align/__init__.pyi +2 -6
- bl_operators/object_quick_effects/__init__.pyi +2 -18
- bl_operators/object_randomize_transform/__init__.pyi +2 -6
- bl_operators/presets/__init__.pyi +2 -70
- bl_operators/rigidbody/__init__.pyi +2 -15
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -5
- bl_operators/sequencer/__init__.pyi +2 -36
- bl_operators/spreadsheet/__init__.pyi +2 -8
- bl_operators/userpref/__init__.pyi +2 -93
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -7
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -11
- bl_operators/uvcalc_transform/__init__.pyi +2 -19
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -6
- bl_operators/view3d/__init__.pyi +2 -37
- bl_operators/wm/__init__.pyi +2 -168
- bl_operators/world/__init__.pyi +2 -6
- bl_previews_utils/__init__.pyi +2 -2
- bl_previews_utils/bl_previews_render/__init__.pyi +2 -2
- bl_rna_utils/__init__.pyi +2 -2
- bl_rna_utils/data_path/__init__.pyi +2 -6
- bl_text_utils/__init__.pyi +2 -2
- bl_text_utils/external_editor/__init__.pyi +2 -2
- bl_ui/__init__.pyi +2 -11
- bl_ui/anim/__init__.pyi +2 -5
- bl_ui/asset_shelf/__init__.pyi +2 -6
- bl_ui/generic_ui_list/__init__.pyi +2 -16
- bl_ui/node_add_menu/__init__.pyi +2 -11
- bl_ui/node_add_menu_compositor/__init__.pyi +2 -53
- bl_ui/node_add_menu_geometry/__init__.pyi +2 -152
- bl_ui/node_add_menu_shader/__init__.pyi +2 -31
- bl_ui/node_add_menu_texture/__init__.pyi +2 -29
- bl_ui/properties_animviz/__init__.pyi +2 -4
- bl_ui/properties_collection/__init__.pyi +2 -20
- bl_ui/properties_constraint/__init__.pyi +2 -288
- bl_ui/properties_data_armature/__init__.pyi +2 -60
- bl_ui/properties_data_bone/__init__.pyi +2 -42
- bl_ui/properties_data_camera/__init__.pyi +2 -51
- bl_ui/properties_data_curve/__init__.pyi +2 -58
- bl_ui/properties_data_curves/__init__.pyi +2 -24
- bl_ui/properties_data_empty/__init__.pyi +2 -10
- bl_ui/properties_data_gpencil/__init__.pyi +2 -57
- bl_ui/properties_data_grease_pencil/__init__.pyi +2 -49
- bl_ui/properties_data_lattice/__init__.pyi +2 -14
- bl_ui/properties_data_light/__init__.pyi +2 -50
- bl_ui/properties_data_lightprobe/__init__.pyi +2 -48
- bl_ui/properties_data_mesh/__init__.pyi +2 -69
- bl_ui/properties_data_metaball/__init__.pyi +2 -20
- bl_ui/properties_data_modifier/__init__.pyi +2 -36
- bl_ui/properties_data_pointcloud/__init__.pyi +2 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -5
- bl_ui/properties_data_speaker/__init__.pyi +2 -19
- bl_ui/properties_data_volume/__init__.pyi +2 -29
- bl_ui/properties_freestyle/__init__.pyi +2 -98
- bl_ui/properties_grease_pencil_common/__init__.pyi +2 -74
- bl_ui/properties_mask_common/__init__.pyi +2 -37
- bl_ui/properties_material/__init__.pyi +2 -59
- bl_ui/properties_material_gpencil/__init__.pyi +2 -36
- bl_ui/properties_object/__init__.pyi +2 -52
- bl_ui/properties_output/__init__.pyi +2 -65
- bl_ui/properties_paint_common/__init__.pyi +2 -41
- bl_ui/properties_particle/__init__.pyi +2 -205
- bl_ui/properties_physics_cloth/__init__.pyi +2 -49
- bl_ui/properties_physics_common/__init__.pyi +2 -6
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -103
- bl_ui/properties_physics_field/__init__.pyi +2 -44
- bl_ui/properties_physics_fluid/__init__.pyi +2 -134
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -7
- bl_ui/properties_physics_rigidbody/__init__.pyi +2 -35
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -57
- bl_ui/properties_physics_softbody/__init__.pyi +2 -52
- bl_ui/properties_render/__init__.pyi +2 -220
- bl_ui/properties_scene/__init__.pyi +2 -55
- bl_ui/properties_texture/__init__.pyi +2 -93
- bl_ui/properties_view_layer/__init__.pyi +2 -47
- bl_ui/properties_workspace/__init__.pyi +2 -15
- bl_ui/properties_world/__init__.pyi +2 -42
- bl_ui/space_clip/__init__.pyi +2 -224
- bl_ui/space_console/__init__.pyi +2 -20
- bl_ui/space_dopesheet/__init__.pyi +2 -96
- bl_ui/space_filebrowser/__init__.pyi +2 -99
- bl_ui/space_graph/__init__.pyi +2 -62
- bl_ui/space_image/__init__.pyi +2 -211
- bl_ui/space_info/__init__.pyi +2 -20
- bl_ui/space_nla/__init__.pyi +2 -54
- bl_ui/space_node/__init__.pyi +2 -100
- bl_ui/space_outliner/__init__.pyi +2 -48
- bl_ui/space_properties/__init__.pyi +2 -14
- bl_ui/space_sequencer/__init__.pyi +2 -280
- bl_ui/space_spreadsheet/__init__.pyi +2 -11
- bl_ui/space_statusbar/__init__.pyi +2 -5
- bl_ui/space_text/__init__.pyi +2 -51
- bl_ui/space_time/__init__.pyi +2 -27
- bl_ui/space_toolsystem_common/__init__.pyi +2 -13
- bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -36
- bl_ui/space_topbar/__init__.pyi +2 -86
- bl_ui/space_userpref/__init__.pyi +2 -313
- bl_ui/space_view3d/__init__.pyi +2 -881
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -344
- bl_ui/utils/__init__.pyi +2 -5
- bl_ui_utils/__init__.pyi +2 -2
- bl_ui_utils/layout/__init__.pyi +2 -4
- blend_render_info/__init__.pyi +2 -4
- blf/__init__.pyi +2 -32
- bmesh/__init__.pyi +2 -8
- bmesh/geometry/__init__.pyi +2 -4
- bmesh/ops/__init__.pyi +2 -162
- bmesh/types/__init__.pyi +19 -133
- bmesh/utils/__init__.pyi +2 -28
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +2 -6
- bpy/app/handlers/__init__.pyi +2 -2
- bpy/app/icons/__init__.pyi +2 -8
- bpy/app/timers/__init__.pyi +2 -8
- bpy/app/translations/__init__.pyi +2 -20
- bpy/msgbus/__init__.pyi +2 -8
- bpy/ops/__init__.pyi +2 -2
- bpy/ops/action/__init__.pyi +15 -110
- bpy/ops/anim/__init__.pyi +2 -118
- bpy/ops/armature/__init__.pyi +2 -98
- bpy/ops/asset/__init__.pyi +2 -34
- bpy/ops/boid/__init__.pyi +5 -30
- bpy/ops/brush/__init__.pyi +5 -31
- bpy/ops/buttons/__init__.pyi +2 -14
- bpy/ops/cachefile/__init__.pyi +2 -12
- bpy/ops/camera/__init__.pyi +2 -6
- bpy/ops/clip/__init__.pyi +5 -188
- bpy/ops/cloth/__init__.pyi +2 -4
- bpy/ops/collection/__init__.pyi +2 -20
- bpy/ops/console/__init__.pyi +2 -44
- bpy/ops/constraint/__init__.pyi +2 -38
- bpy/ops/curve/__init__.pyi +7 -143
- bpy/ops/curves/__init__.pyi +11 -64
- bpy/ops/cycles/__init__.pyi +2 -8
- bpy/ops/dpaint/__init__.pyi +5 -14
- bpy/ops/ed/__init__.pyi +2 -26
- bpy/ops/export_anim/__init__.pyi +2 -4
- bpy/ops/export_scene/__init__.pyi +2 -6
- bpy/ops/extensions/__init__.pyi +2 -70
- bpy/ops/file/__init__.pyi +2 -82
- bpy/ops/fluid/__init__.pyi +2 -30
- bpy/ops/font/__init__.pyi +2 -48
- bpy/ops/geometry/__init__.pyi +21 -75
- bpy/ops/gizmogroup/__init__.pyi +2 -6
- bpy/ops/gpencil/__init__.pyi +2 -286
- bpy/ops/graph/__init__.pyi +19 -213
- bpy/ops/grease_pencil/__init__.pyi +9 -196
- bpy/ops/image/__init__.pyi +11 -111
- bpy/ops/import_anim/__init__.pyi +2 -4
- bpy/ops/import_curve/__init__.pyi +2 -4
- bpy/ops/import_scene/__init__.pyi +2 -6
- bpy/ops/info/__init__.pyi +2 -16
- bpy/ops/lattice/__init__.pyi +5 -20
- bpy/ops/marker/__init__.pyi +2 -24
- bpy/ops/mask/__init__.pyi +2 -80
- bpy/ops/material/__init__.pyi +2 -8
- bpy/ops/mball/__init__.pyi +2 -18
- bpy/ops/mesh/__init__.pyi +45 -467
- bpy/ops/nla/__init__.pyi +5 -92
- bpy/ops/node/__init__.pyi +5 -215
- bpy/ops/object/__init__.pyi +73 -870
- bpy/ops/outliner/__init__.pyi +7 -200
- bpy/ops/paint/__init__.pyi +9 -116
- bpy/ops/paintcurve/__init__.pyi +2 -18
- bpy/ops/palette/__init__.pyi +2 -16
- bpy/ops/particle/__init__.pyi +2 -74
- bpy/ops/pose/__init__.pyi +15 -180
- bpy/ops/poselib/__init__.pyi +2 -20
- bpy/ops/preferences/__init__.pyi +2 -72
- bpy/ops/ptcache/__init__.pyi +2 -16
- bpy/ops/render/__init__.pyi +2 -28
- bpy/ops/rigidbody/__init__.pyi +11 -56
- bpy/ops/scene/__init__.pyi +11 -131
- bpy/ops/screen/__init__.pyi +9 -142
- bpy/ops/script/__init__.pyi +2 -8
- bpy/ops/sculpt/__init__.pyi +2 -74
- bpy/ops/sculpt_curves/__init__.pyi +2 -10
- bpy/ops/sequencer/__init__.pyi +5 -194
- bpy/ops/sound/__init__.pyi +5 -21
- bpy/ops/spreadsheet/__init__.pyi +2 -10
- bpy/ops/surface/__init__.pyi +2 -14
- bpy/ops/text/__init__.pyi +2 -88
- bpy/ops/text_editor/__init__.pyi +2 -4
- bpy/ops/texture/__init__.pyi +2 -10
- bpy/ops/transform/__init__.pyi +75 -400
- bpy/ops/ui/__init__.pyi +2 -68
- bpy/ops/uilist/__init__.pyi +2 -8
- bpy/ops/uv/__init__.pyi +5 -102
- bpy/ops/view2d/__init__.pyi +2 -30
- bpy/ops/view3d/__init__.pyi +2 -136
- bpy/ops/wm/__init__.pyi +17 -259
- bpy/ops/workspace/__init__.pyi +2 -16
- bpy/ops/world/__init__.pyi +2 -6
- bpy/path/__init__.pyi +2 -28
- bpy/props/__init__.pyi +2 -24
- bpy/types/__init__.pyi +927 -31353
- bpy/typing/__init__.pyi +2490 -0
- bpy/utils/__init__.pyi +4 -74
- bpy/utils/previews/__init__.pyi +2 -10
- bpy/utils/units/__init__.pyi +2 -6
- bpy_extras/__init__.pyi +2 -2
- bpy_extras/anim_utils/__init__.pyi +2 -17
- bpy_extras/asset_utils/__init__.pyi +2 -5
- bpy_extras/bmesh_utils/__init__.pyi +2 -4
- bpy_extras/id_map_utils/__init__.pyi +2 -8
- bpy_extras/image_utils/__init__.pyi +2 -4
- bpy_extras/io_utils/__init__.pyi +2 -23
- bpy_extras/keyconfig_utils/__init__.pyi +2 -6
- bpy_extras/mesh_utils/__init__.pyi +2 -16
- bpy_extras/node_shader_utils/__init__.pyi +2 -23
- bpy_extras/node_utils/__init__.pyi +2 -6
- bpy_extras/object_utils/__init__.pyi +2 -15
- bpy_extras/view3d_utils/__init__.pyi +2 -10
- bpy_extras/wm_utils/__init__.pyi +2 -2
- bpy_extras/wm_utils/progress_report/__init__.pyi +2 -10
- bpy_restrict_state/__init__.pyi +2 -2
- bpy_types/__init__.pyi +2 -5
- console_python/__init__.pyi +2 -4
- console_shell/__init__.pyi +2 -2
- {fake_bpy_module-20240915.dist-info → fake_bpy_module-20240916.dist-info}/METADATA +1 -1
- fake_bpy_module-20240916.dist-info/RECORD +365 -0
- {fake_bpy_module-20240915.dist-info → fake_bpy_module-20240916.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +2 -2
- freestyle/chainingiterators/__init__.pyi +2 -25
- freestyle/functions/__init__.pyi +2 -109
- freestyle/predicates/__init__.pyi +2 -30
- freestyle/shaders/__init__.pyi +2 -77
- freestyle/types/__init__.pyi +2 -192
- freestyle/utils/ContextFunctions/__init__.pyi +2 -20
- freestyle/utils/__init__.pyi +4 -50
- gpu/__init__.pyi +2 -2
- gpu/capabilities/__init__.pyi +2 -40
- gpu/matrix/__init__.pyi +2 -36
- gpu/platform/__init__.pyi +2 -12
- gpu/select/__init__.pyi +2 -4
- gpu/shader/__init__.pyi +2 -8
- gpu/state/__init__.pyi +2 -42
- gpu/texture/__init__.pyi +2 -4
- gpu/types/__init__.pyi +2 -54
- gpu_extras/__init__.pyi +2 -2
- gpu_extras/batch/__init__.pyi +2 -4
- gpu_extras/presets/__init__.pyi +2 -6
- graphviz_export/__init__.pyi +2 -2
- idprop/__init__.pyi +2 -2
- idprop/types/__init__.pyi +2 -11
- imbuf/__init__.pyi +2 -8
- imbuf/types/__init__.pyi +2 -6
- keyingsets_builtins/__init__.pyi +2 -70
- keyingsets_utils/__init__.pyi +2 -2
- mathutils/__init__.pyi +38 -228
- mathutils/bvhtree/__init__.pyi +2 -10
- mathutils/geometry/__init__.pyi +2 -54
- mathutils/interpolate/__init__.pyi +2 -4
- mathutils/kdtree/__init__.pyi +2 -8
- mathutils/noise/__init__.pyi +2 -36
- nodeitems_builtins/__init__.pyi +2 -4
- nodeitems_utils/__init__.pyi +2 -4
- rna_info/__init__.pyi +2 -7
- rna_keymap_ui/__init__.pyi +2 -2
- rna_prop_ui/__init__.pyi +2 -6
- rna_xml/__init__.pyi +2 -2
- fake_bpy_module-20240915.dist-info/RECORD +0 -364
- {fake_bpy_module-20240915.dist-info → fake_bpy_module-20240916.dist-info}/top_level.txt +0 -0
bl_app_override/__init__.pyi
CHANGED
|
@@ -3,8 +3,8 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
from . import helpers as helpers
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
8
8
|
|
|
9
9
|
def class_filter(cls_parent, **kw): ...
|
|
10
10
|
def ui_draw_filter_register(
|
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
class AppOverrideState:
|
|
9
9
|
"""Utility class to encapsulate overriding the application state
|
|
@@ -2,13 +2,11 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def activate(*, template_id=None, reload_scripts=False): ...
|
|
9
9
|
def import_from_id(template_id, *, ignore_not_found=False): ...
|
|
10
10
|
def import_from_path(path, *, ignore_not_found=False): ...
|
|
11
11
|
def reset(*, reload_scripts=False):
|
|
12
12
|
"""Sets default state."""
|
|
13
|
-
|
|
14
|
-
...
|
bl_console_utils/__init__.pyi
CHANGED
|
@@ -3,5 +3,5 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
from . import autocomplete as autocomplete
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
7
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
@@ -6,5 +6,5 @@ from . import complete_import as complete_import
|
|
|
6
6
|
from . import complete_namespace as complete_namespace
|
|
7
7
|
from . import intellisense as intellisense
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
10
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def complete(line: str, cursor: int, namespace: dict) -> str:
|
|
9
9
|
"""Complete callable with call-tip.
|
|
@@ -18,8 +18,6 @@ def complete(line: str, cursor: int, namespace: dict) -> str:
|
|
|
18
18
|
:rtype: str
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
-
...
|
|
22
|
-
|
|
23
21
|
def get_argspec(
|
|
24
22
|
func, *, strip_self: bool = True, doc: str | None = None, source: str | None = None
|
|
25
23
|
) -> str:
|
|
@@ -35,8 +33,6 @@ def get_argspec(
|
|
|
35
33
|
:rtype: str
|
|
36
34
|
"""
|
|
37
35
|
|
|
38
|
-
...
|
|
39
|
-
|
|
40
36
|
def get_doc(obj) -> str:
|
|
41
37
|
"""Get the doc string or comments for an object.
|
|
42
38
|
|
|
@@ -44,8 +40,6 @@ def get_doc(obj) -> str:
|
|
|
44
40
|
:rtype: str
|
|
45
41
|
"""
|
|
46
42
|
|
|
47
|
-
...
|
|
48
|
-
|
|
49
43
|
def reduce_newlines(text: str) -> str:
|
|
50
44
|
"""Reduces multiple newlines to a single newline.
|
|
51
45
|
|
|
@@ -55,8 +49,6 @@ def reduce_newlines(text: str) -> str:
|
|
|
55
49
|
:rtype: str
|
|
56
50
|
"""
|
|
57
51
|
|
|
58
|
-
...
|
|
59
|
-
|
|
60
52
|
def reduce_spaces(text: str) -> str:
|
|
61
53
|
"""Reduces multiple white-spaces to a single space.
|
|
62
54
|
|
|
@@ -65,5 +57,3 @@ def reduce_spaces(text: str) -> str:
|
|
|
65
57
|
:return: text with single spaces
|
|
66
58
|
:rtype: str
|
|
67
59
|
"""
|
|
68
|
-
|
|
69
|
-
...
|
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def complete(line: str) -> list:
|
|
9
9
|
"""Returns a list containing the completion possibilities for an import line.
|
|
@@ -17,8 +17,6 @@ def complete(line: str) -> list:
|
|
|
17
17
|
:rtype: list
|
|
18
18
|
"""
|
|
19
19
|
|
|
20
|
-
...
|
|
21
|
-
|
|
22
20
|
def get_root_modules() -> list:
|
|
23
21
|
"""Returns a list containing the names of all the modules available in the
|
|
24
22
|
folders of the python-path.
|
|
@@ -27,8 +25,6 @@ def get_root_modules() -> list:
|
|
|
27
25
|
:rtype: list
|
|
28
26
|
"""
|
|
29
27
|
|
|
30
|
-
...
|
|
31
|
-
|
|
32
28
|
def module_list(path: str) -> list:
|
|
33
29
|
"""Return the list containing the names of the modules available in
|
|
34
30
|
the given folder.
|
|
@@ -38,5 +34,3 @@ def module_list(path: str) -> list:
|
|
|
38
34
|
:return: modules
|
|
39
35
|
:rtype: list
|
|
40
36
|
"""
|
|
41
|
-
|
|
42
|
-
...
|
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def complete(word: str, namespace: dict, *, private: bool = True) -> list[str]:
|
|
9
9
|
"""Complete word within a namespace with the standard rlcompleter
|
|
@@ -19,8 +19,6 @@ def complete(word: str, namespace: dict, *, private: bool = True) -> list[str]:
|
|
|
19
19
|
:rtype: list[str]
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
|
-
...
|
|
23
|
-
|
|
24
22
|
def complete_indices(
|
|
25
23
|
word: str, namespace: dict, *, obj=None, base: str = None
|
|
26
24
|
) -> list[str]:
|
|
@@ -37,8 +35,6 @@ def complete_indices(
|
|
|
37
35
|
:rtype: list[str]
|
|
38
36
|
"""
|
|
39
37
|
|
|
40
|
-
...
|
|
41
|
-
|
|
42
38
|
def complete_names(word: str, namespace: dict) -> list[str]:
|
|
43
39
|
"""Complete variable names or attributes
|
|
44
40
|
|
|
@@ -50,14 +46,8 @@ def complete_names(word: str, namespace: dict) -> list[str]:
|
|
|
50
46
|
:rtype: list[str]
|
|
51
47
|
"""
|
|
52
48
|
|
|
53
|
-
...
|
|
54
|
-
|
|
55
49
|
def is_dict(obj):
|
|
56
50
|
"""Returns whether obj is a dictionary"""
|
|
57
51
|
|
|
58
|
-
...
|
|
59
|
-
|
|
60
52
|
def is_struct_seq(obj):
|
|
61
53
|
"""Returns whether obj is a structured sequence subclass: sys.float_info"""
|
|
62
|
-
|
|
63
|
-
...
|
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def complete(line: str, cursor: int, namespace: dict, private: bool) -> list | str:
|
|
9
9
|
"""Returns a list of possible completions:
|
|
@@ -20,8 +20,6 @@ def complete(line: str, cursor: int, namespace: dict, private: bool) -> list | s
|
|
|
20
20
|
:rtype: list | str
|
|
21
21
|
"""
|
|
22
22
|
|
|
23
|
-
...
|
|
24
|
-
|
|
25
23
|
def expand(
|
|
26
24
|
line: str, cursor: int, namespace: dict, *, private: bool = True
|
|
27
25
|
) -> int | str:
|
|
@@ -39,5 +37,3 @@ def expand(
|
|
|
39
37
|
:return: current expanded line, updated cursor position and scrollback
|
|
40
38
|
:rtype: int | str
|
|
41
39
|
"""
|
|
42
|
-
|
|
43
|
-
...
|
bl_i18n_utils/__init__.pyi
CHANGED
|
@@ -9,5 +9,5 @@ from . import utils_cli as utils_cli
|
|
|
9
9
|
from . import utils_languages_menu as utils_languages_menu
|
|
10
10
|
from . import utils_rtl as utils_rtl
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
13
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
@@ -2,14 +2,12 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def check(check_ctxt, msgs, key, msgsrc, settings):
|
|
9
9
|
"""Performs a set of checks over the given key (context, message)..."""
|
|
10
10
|
|
|
11
|
-
...
|
|
12
|
-
|
|
13
11
|
def dump_addon_bl_info(msgs, reports, module, settings): ...
|
|
14
12
|
def dump_addon_messages(addon_module_name, do_checks, settings): ...
|
|
15
13
|
def dump_asset_messages(msgs, reports, settings): ...
|
|
@@ -21,8 +19,6 @@ def dump_py_messages_from_files(msgs, reports, files, settings): ...
|
|
|
21
19
|
def dump_rna_messages(msgs, reports, settings, verbose=False):
|
|
22
20
|
"""Dump into messages dict all RNA-defined UI messages (labels en tooltips)."""
|
|
23
21
|
|
|
24
|
-
...
|
|
25
|
-
|
|
26
22
|
def dump_src_messages(msgs, reports, settings): ...
|
|
27
23
|
def dump_template_messages(msgs, reports, settings): ...
|
|
28
24
|
def init_spell_check(settings, lang="en_US"): ...
|
|
@@ -2,7 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def main(): ...
|
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
class I18nSettings:
|
|
9
9
|
"""Class allowing persistence of our settings!
|
|
@@ -24,14 +24,12 @@ class I18nSettings:
|
|
|
24
24
|
|
|
25
25
|
:param mapping:
|
|
26
26
|
"""
|
|
27
|
-
...
|
|
28
27
|
|
|
29
28
|
def from_json(self, string):
|
|
30
29
|
"""
|
|
31
30
|
|
|
32
31
|
:param string:
|
|
33
32
|
"""
|
|
34
|
-
...
|
|
35
33
|
|
|
36
34
|
def load(self, fname, reset=False):
|
|
37
35
|
"""
|
|
@@ -39,14 +37,12 @@ class I18nSettings:
|
|
|
39
37
|
:param fname:
|
|
40
38
|
:param reset:
|
|
41
39
|
"""
|
|
42
|
-
...
|
|
43
40
|
|
|
44
41
|
def save(self, fname):
|
|
45
42
|
"""
|
|
46
43
|
|
|
47
44
|
:param fname:
|
|
48
45
|
"""
|
|
49
|
-
...
|
|
50
46
|
|
|
51
47
|
def to_dict(self): ...
|
|
52
48
|
def to_json(self): ...
|
bl_i18n_utils/utils/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
class I18n:
|
|
9
9
|
"""Internal representation of a whole translation set."""
|
|
@@ -20,14 +20,12 @@ class I18n:
|
|
|
20
20
|
:param src:
|
|
21
21
|
:param settings:
|
|
22
22
|
"""
|
|
23
|
-
...
|
|
24
23
|
|
|
25
24
|
def escape(self, do_all=False):
|
|
26
25
|
"""
|
|
27
26
|
|
|
28
27
|
:param do_all:
|
|
29
28
|
"""
|
|
30
|
-
...
|
|
31
29
|
|
|
32
30
|
def parse(self, kind, src, langs=set()):
|
|
33
31
|
"""
|
|
@@ -36,7 +34,6 @@ class I18n:
|
|
|
36
34
|
:param src:
|
|
37
35
|
:param langs:
|
|
38
36
|
"""
|
|
39
|
-
...
|
|
40
37
|
|
|
41
38
|
def parse_from_po(self, src, langs=set()):
|
|
42
39
|
"""
|
|
@@ -44,7 +41,6 @@ class I18n:
|
|
|
44
41
|
:param src:
|
|
45
42
|
:param langs:
|
|
46
43
|
"""
|
|
47
|
-
...
|
|
48
44
|
|
|
49
45
|
def parse_from_py(self, src, langs=set()):
|
|
50
46
|
"""src must be a valid path, either a py file or a module directory (in which case all py files inside it
|
|
@@ -54,7 +50,6 @@ class I18n:
|
|
|
54
50
|
:param src:
|
|
55
51
|
:param langs:
|
|
56
52
|
"""
|
|
57
|
-
...
|
|
58
53
|
|
|
59
54
|
def print_stats(self, prefix="", print_msgs=True):
|
|
60
55
|
"""Print out some stats about an I18n object.
|
|
@@ -63,14 +58,12 @@ class I18n:
|
|
|
63
58
|
:param prefix:
|
|
64
59
|
:param print_msgs:
|
|
65
60
|
"""
|
|
66
|
-
...
|
|
67
61
|
|
|
68
62
|
def unescape(self, do_all=True):
|
|
69
63
|
"""
|
|
70
64
|
|
|
71
65
|
:param do_all:
|
|
72
66
|
"""
|
|
73
|
-
...
|
|
74
67
|
|
|
75
68
|
def update_info(self): ...
|
|
76
69
|
def write(self, kind, langs=set()):
|
|
@@ -79,21 +72,18 @@ class I18n:
|
|
|
79
72
|
:param kind:
|
|
80
73
|
:param langs:
|
|
81
74
|
"""
|
|
82
|
-
...
|
|
83
75
|
|
|
84
76
|
def write_to_po(self, langs=set()):
|
|
85
77
|
"""
|
|
86
78
|
|
|
87
79
|
:param langs:
|
|
88
80
|
"""
|
|
89
|
-
...
|
|
90
81
|
|
|
91
82
|
def write_to_py(self, langs=set()):
|
|
92
83
|
"""
|
|
93
84
|
|
|
94
85
|
:param langs:
|
|
95
86
|
"""
|
|
96
|
-
...
|
|
97
87
|
|
|
98
88
|
class I18nMessage:
|
|
99
89
|
"""Internal representation of a message."""
|
|
@@ -118,7 +108,6 @@ class I18nMessage:
|
|
|
118
108
|
|
|
119
109
|
:param txt:
|
|
120
110
|
"""
|
|
121
|
-
...
|
|
122
111
|
|
|
123
112
|
@classmethod
|
|
124
113
|
def do_unescape(cls, txt):
|
|
@@ -126,14 +115,12 @@ class I18nMessage:
|
|
|
126
115
|
|
|
127
116
|
:param txt:
|
|
128
117
|
"""
|
|
129
|
-
...
|
|
130
118
|
|
|
131
119
|
def escape(self, do_all=False):
|
|
132
120
|
"""
|
|
133
121
|
|
|
134
122
|
:param do_all:
|
|
135
123
|
"""
|
|
136
|
-
...
|
|
137
124
|
|
|
138
125
|
def normalize(self, max_len=80):
|
|
139
126
|
"""Normalize this message, call this before exporting it...
|
|
@@ -141,14 +128,12 @@ class I18nMessage:
|
|
|
141
128
|
|
|
142
129
|
:param max_len:
|
|
143
130
|
"""
|
|
144
|
-
...
|
|
145
131
|
|
|
146
132
|
def unescape(self, do_all=True):
|
|
147
133
|
"""
|
|
148
134
|
|
|
149
135
|
:param do_all:
|
|
150
136
|
"""
|
|
151
|
-
...
|
|
152
137
|
|
|
153
138
|
class I18nMessages:
|
|
154
139
|
"""Internal representation of messages for one language (iso code), with additional stats info."""
|
|
@@ -164,7 +149,6 @@ class I18nMessages:
|
|
|
164
149
|
|
|
165
150
|
:param fix:
|
|
166
151
|
"""
|
|
167
|
-
...
|
|
168
152
|
|
|
169
153
|
def clean_commented(self): ...
|
|
170
154
|
@classmethod
|
|
@@ -174,14 +158,12 @@ class I18nMessages:
|
|
|
174
158
|
:param lng:
|
|
175
159
|
:param settings:
|
|
176
160
|
"""
|
|
177
|
-
...
|
|
178
161
|
|
|
179
162
|
def escape(self, do_all=False):
|
|
180
163
|
"""
|
|
181
164
|
|
|
182
165
|
:param do_all:
|
|
183
166
|
"""
|
|
184
|
-
...
|
|
185
167
|
|
|
186
168
|
def find_best_messages_matches(
|
|
187
169
|
self, msgs, msgmap, rna_ctxt, rna_struct_name, rna_prop_name, rna_enum_name
|
|
@@ -195,7 +177,6 @@ class I18nMessages:
|
|
|
195
177
|
:param rna_prop_name:
|
|
196
178
|
:param rna_enum_name:
|
|
197
179
|
"""
|
|
198
|
-
...
|
|
199
180
|
|
|
200
181
|
@classmethod
|
|
201
182
|
def gen_empty_messages(
|
|
@@ -216,14 +197,12 @@ class I18nMessages:
|
|
|
216
197
|
:param default_copyright:
|
|
217
198
|
:param settings:
|
|
218
199
|
"""
|
|
219
|
-
...
|
|
220
200
|
|
|
221
201
|
def invalidate_reverse_cache(self, rebuild_now=False):
|
|
222
202
|
"""Invalidate the reverse cache used by find_best_messages_matches.
|
|
223
203
|
|
|
224
204
|
:param rebuild_now:
|
|
225
205
|
"""
|
|
226
|
-
...
|
|
227
206
|
|
|
228
207
|
def merge(self, msgs, replace=False):
|
|
229
208
|
"""
|
|
@@ -231,14 +210,12 @@ class I18nMessages:
|
|
|
231
210
|
:param msgs:
|
|
232
211
|
:param replace:
|
|
233
212
|
"""
|
|
234
|
-
...
|
|
235
213
|
|
|
236
214
|
def normalize(self, max_len=80):
|
|
237
215
|
"""
|
|
238
216
|
|
|
239
217
|
:param max_len:
|
|
240
218
|
"""
|
|
241
|
-
...
|
|
242
219
|
|
|
243
220
|
def parse(self, kind, key, src):
|
|
244
221
|
"""
|
|
@@ -247,7 +224,6 @@ class I18nMessages:
|
|
|
247
224
|
:param key:
|
|
248
225
|
:param src:
|
|
249
226
|
"""
|
|
250
|
-
...
|
|
251
227
|
|
|
252
228
|
def parse_messages_from_po(self, src, key=None):
|
|
253
229
|
"""
|
|
@@ -255,7 +231,6 @@ class I18nMessages:
|
|
|
255
231
|
:param src:
|
|
256
232
|
:param key:
|
|
257
233
|
"""
|
|
258
|
-
...
|
|
259
234
|
|
|
260
235
|
def print_info(self, prefix="", output=None, print_stats=True, print_errors=True):
|
|
261
236
|
"""Print out some info about an I18nMessages object.
|
|
@@ -265,7 +240,6 @@ class I18nMessages:
|
|
|
265
240
|
:param print_stats:
|
|
266
241
|
:param print_errors:
|
|
267
242
|
"""
|
|
268
|
-
...
|
|
269
243
|
|
|
270
244
|
def rtl_process(self): ...
|
|
271
245
|
def unescape(self, do_all=True):
|
|
@@ -273,7 +247,6 @@ class I18nMessages:
|
|
|
273
247
|
|
|
274
248
|
:param do_all:
|
|
275
249
|
"""
|
|
276
|
-
...
|
|
277
250
|
|
|
278
251
|
def update(self, ref, use_similar=None, keep_old_commented=True):
|
|
279
252
|
"""Update this I18nMessage with the ref one. Translations from ref are never used. Source comments from ref
|
|
@@ -285,7 +258,6 @@ class I18nMessages:
|
|
|
285
258
|
:param use_similar:
|
|
286
259
|
:param keep_old_commented:
|
|
287
260
|
"""
|
|
288
|
-
...
|
|
289
261
|
|
|
290
262
|
@classmethod
|
|
291
263
|
def update_from_pot_callback(cls, pot, lng, settings):
|
|
@@ -295,7 +267,6 @@ class I18nMessages:
|
|
|
295
267
|
:param lng:
|
|
296
268
|
:param settings:
|
|
297
269
|
"""
|
|
298
|
-
...
|
|
299
270
|
|
|
300
271
|
def update_info(self): ...
|
|
301
272
|
@classmethod
|
|
@@ -305,7 +276,6 @@ class I18nMessages:
|
|
|
305
276
|
:param lng:
|
|
306
277
|
:param settings:
|
|
307
278
|
"""
|
|
308
|
-
...
|
|
309
279
|
|
|
310
280
|
def write(self, kind, dest):
|
|
311
281
|
"""
|
|
@@ -313,14 +283,12 @@ class I18nMessages:
|
|
|
313
283
|
:param kind:
|
|
314
284
|
:param dest:
|
|
315
285
|
"""
|
|
316
|
-
...
|
|
317
286
|
|
|
318
287
|
def write_messages_to_mo(self, fname):
|
|
319
288
|
"""Write messages in fname mo file.
|
|
320
289
|
|
|
321
290
|
:param fname:
|
|
322
291
|
"""
|
|
323
|
-
...
|
|
324
292
|
|
|
325
293
|
def write_messages_to_po(self, fname, compact=False):
|
|
326
294
|
"""Write messages in fname po file.
|
|
@@ -328,7 +296,6 @@ class I18nMessages:
|
|
|
328
296
|
:param fname:
|
|
329
297
|
:param compact:
|
|
330
298
|
"""
|
|
331
|
-
...
|
|
332
299
|
|
|
333
300
|
def enable_addons(addons=None, support=None, disable=False, check_only=False):
|
|
334
301
|
"""Enable (or disable) addons based either on a set of names, or a set of 'support' types.
|
|
@@ -337,13 +304,9 @@ def enable_addons(addons=None, support=None, disable=False, check_only=False):
|
|
|
337
304
|
|
|
338
305
|
"""
|
|
339
306
|
|
|
340
|
-
...
|
|
341
|
-
|
|
342
307
|
def find_best_isocode_matches(uid, iso_codes):
|
|
343
308
|
"""Return an ordered tuple of elements in iso_codes that can match the given uid, from most similar to lesser ones."""
|
|
344
309
|
|
|
345
|
-
...
|
|
346
|
-
|
|
347
310
|
def get_best_similar(data): ...
|
|
348
311
|
def get_po_files_from_dir(root_dir, langs=set()):
|
|
349
312
|
"""Yield tuples (uid, po_path) of translations for each po file found in the given directory, which should be either
|
|
@@ -352,8 +315,6 @@ def get_po_files_from_dir(root_dir, langs=set()):
|
|
|
352
315
|
|
|
353
316
|
"""
|
|
354
317
|
|
|
355
|
-
...
|
|
356
|
-
|
|
357
318
|
def is_valid_po_path(path): ...
|
|
358
319
|
def list_po_dir(root_path, settings):
|
|
359
320
|
"""Generator. List given directory (expecting one sub-directory per languages)
|
|
@@ -361,11 +322,7 @@ def list_po_dir(root_path, settings):
|
|
|
361
322
|
|
|
362
323
|
"""
|
|
363
324
|
|
|
364
|
-
...
|
|
365
|
-
|
|
366
325
|
def locale_explode(locale):
|
|
367
326
|
"""Copies behavior of BLT_lang_locale_explode, keep them in sync."""
|
|
368
327
|
|
|
369
|
-
...
|
|
370
|
-
|
|
371
328
|
def locale_match(loc1, loc2): ...
|
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def cleanup_po(args, settings): ...
|
|
9
9
|
def language_menu(args, settings): ...
|
|
@@ -2,7 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def gen_menu_file(stats, settings): ...
|
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def log2vis(msgs, settings):
|
|
9
9
|
"""Globally mimics deprecated fribidi_log2vis.
|
|
@@ -11,12 +11,8 @@ def log2vis(msgs, settings):
|
|
|
11
11
|
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
-
...
|
|
15
|
-
|
|
16
14
|
def protect_format_seq(msg):
|
|
17
15
|
"""Find some specific escaping/formatting sequences (like ", %s, etc.,
|
|
18
16
|
and protect them from any modification!
|
|
19
17
|
|
|
20
18
|
"""
|
|
21
|
-
|
|
22
|
-
...
|
bl_keymap_utils/__init__.pyi
CHANGED
|
@@ -7,5 +7,5 @@ from . import keymap_hierarchy as keymap_hierarchy
|
|
|
7
7
|
from . import platform_helpers as platform_helpers
|
|
8
8
|
from . import versioning as versioning
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
11
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
bl_keymap_utils/io/__init__.pyi
CHANGED
|
@@ -2,8 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def indent(levels): ...
|
|
9
9
|
def keyconfig_export_as_data(wm, kc, filepath, *, all_keymaps=False): ...
|
|
@@ -14,8 +14,6 @@ def keyconfig_init_from_data(kc, keyconfig_data): ...
|
|
|
14
14
|
def keyconfig_merge(kc1, kc2):
|
|
15
15
|
"""note: kc1 takes priority over kc2"""
|
|
16
16
|
|
|
17
|
-
...
|
|
18
|
-
|
|
19
17
|
def keymap_init_from_data(km, km_items, is_modal=False): ...
|
|
20
18
|
def kmi_args_as_data(kmi): ...
|
|
21
19
|
def repr_f32(f): ...
|
|
@@ -2,10 +2,8 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
_GenericType1 = typing.TypeVar("_GenericType1")
|
|
6
|
+
_GenericType2 = typing.TypeVar("_GenericType2")
|
|
7
7
|
|
|
8
8
|
def generate(context, space_type, *, use_fallback_keys=True, use_reset=True):
|
|
9
9
|
"""Keymap for popup toolbar, currently generated each time."""
|
|
10
|
-
|
|
11
|
-
...
|