From 9f072ed863740981c2aa642daf362d1c665ae002 Mon Sep 17 00:00:00 2001 From: Lilaa3 <87947656+Lilaa3@users.noreply.github.com> Date: Sun, 21 Jan 2024 21:56:19 +0000 Subject: [PATCH] hold on --- fast64_internal/sm64/animation/classes.py | 4 +- .../animation/pylint_delete_before_pr.json | 909 ++++++------------ 2 files changed, 307 insertions(+), 606 deletions(-) diff --git a/fast64_internal/sm64/animation/classes.py b/fast64_internal/sm64/animation/classes.py index a0343fcd2..03ad0813a 100644 --- a/fast64_internal/sm64/animation/classes.py +++ b/fast64_internal/sm64/animation/classes.py @@ -55,7 +55,7 @@ def read_c(self, maxFrame, offset, values: list[int]): self.values.append(value) -headerSize = 0x18 +HEADER_SIZE = 0x18 int_to_c_flags = { 0: "ANIM_FLAG_NOLOOP", 1: "ANIM_FLAG_FORWARD", @@ -291,7 +291,7 @@ def to_binary(self, is_dma: bool, start_address: int) -> bytearray: bone_count = 0 else: values_table, indices_table = self.create_tables() - indices_offset = headerSize * len(self.headers) + indices_offset = HEADER_SIZE * len(self.headers) indices_size = len(indices_table.data) * 2 values_offset = indices_offset + indices_size bone_count = (len(self.pairs) // 3) - 1 diff --git a/fast64_internal/sm64/animation/pylint_delete_before_pr.json b/fast64_internal/sm64/animation/pylint_delete_before_pr.json index 875268672..011bc7fc0 100644 --- a/fast64_internal/sm64/animation/pylint_delete_before_pr.json +++ b/fast64_internal/sm64/animation/pylint_delete_before_pr.json @@ -12,82 +12,17 @@ "message": "Class name \"SM64_AnimPair\" doesn't conform to PascalCase naming style", "message-id": "C0103" }, - { - "type": "warning", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimPair.clean_frames", - "line": 34, - "column": 36, - "endLine": 34, - "endColumn": 37, - "path": "classes.py", - "symbol": "undefined-loop-variable", - "message": "Using possibly undefined loop variable 'i'", - "message-id": "W0631" - }, { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimPair.read_binary", "line": 40, - "column": 26, + "column": 67, "endLine": 40, - "endColumn": 51, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Argument name \"indicesReader\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimPair.read_binary", - "line": 40, - "column": 66, - "endLine": 40, - "endColumn": 83, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Argument name \"valuesAdress\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimPair.read_binary", - "line": 41, - "column": 8, - "endLine": 41, - "endColumn": 16, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"maxFrame\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimPair.read_binary", - "line": 42, - "column": 8, - "endLine": 42, - "endColumn": 19, + "endColumn": 85, "path": "classes.py", "symbol": "invalid-name", - "message": "Variable name \"valueOffset\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimPair.read_binary", - "line": 44, - "column": 8, - "endLine": 44, - "endColumn": 19, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"valueReader\" doesn't conform to snake_case naming style", + "message": "Argument name \"valuesAddress\" doesn't conform to snake_case naming style", "message-id": "C0103" }, { @@ -103,19 +38,6 @@ "message": "Argument name \"maxFrame\" doesn't conform to snake_case naming style", "message-id": "C0103" }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "", - "line": 58, - "column": 0, - "endLine": 58, - "endColumn": 10, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Constant name \"headerSize\" doesn't conform to UPPER_CASE naming style", - "message-id": "C0103" - }, { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", @@ -155,52 +77,13 @@ "message": "Using variable 'flags' before assignment", "message-id": "E0601" }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimHeader.toBinary", - "line": 127, - "column": 4, - "endLine": 127, - "endColumn": 16, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Method name \"toBinary\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimHeader.toBinary", - "line": 127, - "column": 23, - "endLine": 127, - "endColumn": 39, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Argument name \"indicesReference\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimHeader.toBinary", - "line": 127, - "column": 41, - "endLine": 127, - "endColumn": 56, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Argument name \"valuesReference\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimHeader.toHeaderProps", - "line": 142, + "line": 147, "column": 4, - "endLine": 142, + "endLine": 147, "endColumn": 21, "path": "classes.py", "symbol": "invalid-name", @@ -211,9 +94,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimHeader.toHeaderProps", - "line": 143, + "line": 148, "column": 8, - "endLine": 143, + "endLine": 148, "endColumn": 20, "path": "classes.py", "symbol": "invalid-name", @@ -224,9 +107,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimHeader.toHeaderProps", - "line": 159, + "line": 164, "column": 8, - "endLine": 159, + "endLine": 164, "endColumn": 25, "path": "classes.py", "symbol": "invalid-name", @@ -237,9 +120,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimHeader.toHeaderProps", - "line": 168, + "line": 173, "column": 12, - "endLine": 168, + "endLine": 173, "endColumn": 18, "path": "classes.py", "symbol": "invalid-name", @@ -250,9 +133,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimHeader.toHeaderProps", - "line": 170, + "line": 175, "column": 16, - "endLine": 170, + "endLine": 175, "endColumn": 21, "path": "classes.py", "symbol": "invalid-name", @@ -263,9 +146,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimHeader.read_binary", - "line": 180, + "line": 185, "column": 93, - "endLine": 180, + "endLine": 185, "endColumn": 104, "path": "classes.py", "symbol": "invalid-name", @@ -276,9 +159,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimHeader.read_binary", - "line": 193, + "line": 198, "column": 8, - "endLine": 193, + "endLine": 198, "endColumn": 20, "path": "classes.py", "symbol": "invalid-name", @@ -289,9 +172,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimHeader.read_binary", - "line": 194, + "line": 199, "column": 8, - "endLine": 194, + "endLine": 199, "endColumn": 21, "path": "classes.py", "symbol": "invalid-name", @@ -302,9 +185,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim", - "line": 230, + "line": 235, "column": 0, - "endLine": 230, + "endLine": 235, "endColumn": 15, "path": "classes.py", "symbol": "invalid-name", @@ -315,7 +198,7 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim", - "line": 236, + "line": 241, "column": 4, "endLine": null, "endColumn": null, @@ -328,33 +211,7 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim", - "line": 231, - "column": 4, - "endLine": null, - "endColumn": null, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Attribute name \"indicesReference\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim", - "line": 232, - "column": 4, - "endLine": null, - "endColumn": null, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Attribute name \"valuesReference\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim", - "line": 237, + "line": 242, "column": 4, "endLine": null, "endColumn": null, @@ -367,9 +224,9 @@ "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim", - "line": 230, + "line": 235, "column": 0, - "endLine": 230, + "endLine": 235, "endColumn": 15, "path": "classes.py", "symbol": "too-many-instance-attributes", @@ -377,181 +234,25 @@ "message-id": "R0902" }, { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 277, - "column": 4, - "endLine": 277, - "endColumn": 16, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Method name \"toBinary\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 277, - "column": 23, - "endLine": 277, - "endColumn": 40, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Argument name \"mergeValues\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 277, - "column": 42, - "endLine": 277, - "endColumn": 53, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Argument name \"isDMA\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 277, - "column": 55, - "endLine": 277, - "endColumn": 72, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Argument name \"startAddress\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 283, - "column": 16, - "endLine": 283, - "endColumn": 26, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"headerData\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 287, - "column": 8, - "endLine": 287, - "endColumn": 18, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"valueTable\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 287, - "column": 20, - "endLine": 287, - "endColumn": 32, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"indicesTable\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "error", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 287, - "column": 35, - "endLine": 287, - "endColumn": 52, - "path": "classes.py", - "symbol": "no-member", - "message": "Instance of 'SM64_Anim' has no 'createTables' member", - "message-id": "E1101" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 289, - "column": 8, - "endLine": 289, - "endColumn": 21, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"indicesOffset\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 290, - "column": 8, - "endLine": 290, - "endColumn": 20, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"valuesOffset\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", + "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 291, + "obj": "SM64_Anim.to_binary", + "line": 309, "column": 8, - "endLine": 291, - "endColumn": 24, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"indicesReference\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 291, - "column": 26, - "endLine": 291, - "endColumn": 41, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"valuesReference\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.toBinary", - "line": 295, - "column": 12, - "endLine": 295, - "endColumn": 22, + "endLine": 312, + "endColumn": 29, "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"headerData\" doesn't conform to snake_case naming style", - "message-id": "C0103" + "symbol": "no-else-return", + "message": "Unnecessary \"else\" after \"return\", remove the \"else\" and de-indent the code inside it", + "message-id": "R1705" }, { "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim.data_to_c", - "line": 314, + "line": 321, "column": 4, - "endLine": 314, + "endLine": 321, "endColumn": 17, "path": "classes.py", "symbol": "inconsistent-return-statements", @@ -562,35 +263,22 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim.to_action", - "line": 376, + "line": 383, "column": 12, - "endLine": 376, + "endLine": 383, "endColumn": 13, "path": "classes.py", "symbol": "unused-variable", "message": "Unused variable 'i'", "message-id": "W0612" }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_Anim.read_binary", - "line": 388, - "column": 8, - "endLine": 388, - "endColumn": 21, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Variable name \"indicesReader\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim.read_c", - "line": 400, + "line": 407, "column": 12, - "endLine": 400, + "endLine": 407, "endColumn": 24, "path": "classes.py", "symbol": "invalid-name", @@ -601,9 +289,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim.read_c", - "line": 401, + "line": 408, "column": 12, - "endLine": 401, + "endLine": 408, "endColumn": 23, "path": "classes.py", "symbol": "invalid-name", @@ -614,9 +302,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim.read_c", - "line": 411, + "line": 418, "column": 12, - "endLine": 411, + "endLine": 418, "endColumn": 20, "path": "classes.py", "symbol": "invalid-name", @@ -627,9 +315,9 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_Anim.to_action", - "line": 372, + "line": 379, "column": 8, - "endLine": 372, + "endLine": 379, "endColumn": 29, "path": "classes.py", "symbol": "attribute-defined-outside-init", @@ -640,33 +328,20 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.classes", "obj": "SM64_AnimTable", - "line": 419, + "line": 426, "column": 0, - "endLine": 419, + "endLine": 426, "endColumn": 20, "path": "classes.py", "symbol": "invalid-name", "message": "Class name \"SM64_AnimTable\" doesn't conform to PascalCase naming style", "message-id": "C0103" }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.classes", - "obj": "SM64_AnimTable.toBinary", - "line": 427, - "column": 4, - "endLine": 427, - "endColumn": 16, - "path": "classes.py", - "symbol": "invalid-name", - "message": "Method name \"toBinary\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, { "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "", - "line": 144, + "line": 146, "column": 9, "endLine": null, "endColumn": null, @@ -679,7 +354,7 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "", - "line": 186, + "line": 188, "column": 32, "endLine": null, "endColumn": null, @@ -705,9 +380,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps", - "line": 59, + "line": 61, "column": 0, - "endLine": 59, + "endLine": 61, "endColumn": 26, "path": "properties.py", "symbol": "invalid-name", @@ -718,9 +393,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.copyHeader", - "line": 143, + "line": 145, "column": 4, - "endLine": 143, + "endLine": 145, "endColumn": 18, "path": "properties.py", "symbol": "invalid-name", @@ -731,9 +406,9 @@ "type": "error", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.get_int_flags", - "line": 150, + "line": 152, "column": 4, - "endLine": 150, + "endLine": 152, "endColumn": 21, "path": "properties.py", "symbol": "no-self-argument", @@ -744,9 +419,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.to_header_class", - "line": 180, + "line": 182, "column": 8, - "endLine": 180, + "endLine": 182, "endColumn": 18, "path": "properties.py", "symbol": "invalid-name", @@ -757,9 +432,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.to_header_class", - "line": 180, + "line": 182, "column": 20, - "endLine": 180, + "endLine": 182, "endColumn": 29, "path": "properties.py", "symbol": "invalid-name", @@ -770,9 +445,9 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.draw_flag_props", - "line": 207, + "line": 209, "column": 48, - "endLine": 207, + "endLine": 209, "endColumn": 64, "path": "properties.py", "symbol": "unused-argument", @@ -783,9 +458,9 @@ "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.draw_names", - "line": 247, + "line": 249, "column": 4, - "endLine": 247, + "endLine": 249, "endColumn": 18, "path": "properties.py", "symbol": "too-many-arguments", @@ -796,9 +471,9 @@ "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.draw_props", - "line": 265, + "line": 267, "column": 4, - "endLine": 265, + "endLine": 267, "endColumn": 18, "path": "properties.py", "symbol": "too-many-arguments", @@ -809,9 +484,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.draw_props", - "line": 276, + "line": 278, "column": 8, - "endLine": 276, + "endLine": 278, "endColumn": 17, "path": "properties.py", "symbol": "invalid-name", @@ -822,9 +497,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimHeaderProps.draw_props", - "line": 280, + "line": 282, "column": 8, - "endLine": 280, + "endLine": 282, "endColumn": 13, "path": "properties.py", "symbol": "invalid-name", @@ -835,9 +510,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps", - "line": 296, + "line": 298, "column": 0, - "endLine": 296, + "endLine": 298, "endColumn": 22, "path": "properties.py", "symbol": "invalid-name", @@ -870,52 +545,13 @@ "message": "Consider explicitly re-raising using 'except IndexError as exc' and 'raise PluginError('Header variant does not exist.') from exc'", "message-id": "W0707" }, - { - "type": "error", - "module": "fast64-animations.fast64_internal.sm64.animation.properties", - "obj": "SM64_ActionProps.to_animation_class", - "line": 349, - "column": 68, - "endLine": 349, - "endColumn": 84, - "path": "properties.py", - "symbol": "no-member", - "message": "Instance of 'SM64_ActionProps' has no 'valuesTable' member", - "message-id": "E1101" - }, - { - "type": "error", - "module": "fast64-animations.fast64_internal.sm64.animation.properties", - "obj": "SM64_ActionProps.to_animation_class", - "line": 349, - "column": 86, - "endLine": 349, - "endColumn": 103, - "path": "properties.py", - "symbol": "no-member", - "message": "Instance of 'SM64_ActionProps' has no 'indicesTable' member", - "message-id": "E1101" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.properties", - "obj": "SM64_ActionProps.to_animation_class", - "line": 351, - "column": 12, - "endLine": 351, - "endColumn": 20, - "path": "properties.py", - "symbol": "invalid-name", - "message": "Variable name \"dataName\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 358, + "line": 363, "column": 4, - "endLine": 358, + "endLine": 363, "endColumn": 25, "path": "properties.py", "symbol": "invalid-name", @@ -926,9 +562,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 363, + "line": 368, "column": 8, - "endLine": 363, + "endLine": 368, "endColumn": 23, "path": "properties.py", "symbol": "invalid-name", @@ -939,9 +575,9 @@ "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 358, + "line": 363, "column": 4, - "endLine": 358, + "endLine": 363, "endColumn": 25, "path": "properties.py", "symbol": "too-many-arguments", @@ -952,9 +588,9 @@ "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 358, + "line": 363, "column": 4, - "endLine": 358, + "endLine": 363, "endColumn": 25, "path": "properties.py", "symbol": "too-many-locals", @@ -965,9 +601,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 371, + "line": 376, "column": 8, - "endLine": 371, + "endLine": 376, "endColumn": 13, "path": "properties.py", "symbol": "invalid-name", @@ -978,9 +614,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 372, + "line": 377, "column": 8, - "endLine": 372, + "endLine": 377, "endColumn": 16, "path": "properties.py", "symbol": "invalid-name", @@ -991,9 +627,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 375, + "line": 380, "column": 8, - "endLine": 375, + "endLine": 380, "endColumn": 13, "path": "properties.py", "symbol": "invalid-name", @@ -1004,9 +640,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 378, + "line": 383, "column": 8, - "endLine": 378, + "endLine": 383, "endColumn": 17, "path": "properties.py", "symbol": "invalid-name", @@ -1017,9 +653,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 380, + "line": 385, "column": 8, - "endLine": 380, + "endLine": 385, "endColumn": 14, "path": "properties.py", "symbol": "invalid-name", @@ -1030,9 +666,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 383, + "line": 388, "column": 8, - "endLine": 383, + "endLine": 388, "endColumn": 19, "path": "properties.py", "symbol": "invalid-name", @@ -1043,9 +679,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawHeaderVariant", - "line": 385, + "line": 390, "column": 8, - "endLine": 385, + "endLine": 390, "endColumn": 16, "path": "properties.py", "symbol": "invalid-name", @@ -1056,9 +692,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawVariants", - "line": 399, + "line": 404, "column": 4, - "endLine": 399, + "endLine": 404, "endColumn": 20, "path": "properties.py", "symbol": "invalid-name", @@ -1069,9 +705,9 @@ "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawVariants", - "line": 399, + "line": 404, "column": 4, - "endLine": 399, + "endLine": 404, "endColumn": 20, "path": "properties.py", "symbol": "too-many-arguments", @@ -1082,9 +718,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawVariants", - "line": 418, + "line": 423, "column": 8, - "endLine": 418, + "endLine": 423, "endColumn": 13, "path": "properties.py", "symbol": "invalid-name", @@ -1095,9 +731,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawVariants", - "line": 419, + "line": 424, "column": 8, - "endLine": 419, + "endLine": 424, "endColumn": 13, "path": "properties.py", "symbol": "invalid-name", @@ -1108,9 +744,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawVariants", - "line": 423, + "line": 428, "column": 12, - "endLine": 423, + "endLine": 428, "endColumn": 19, "path": "properties.py", "symbol": "invalid-name", @@ -1121,9 +757,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_ActionProps.drawReferences", - "line": 433, + "line": 438, "column": 4, - "endLine": 433, + "endLine": 438, "endColumn": 22, "path": "properties.py", "symbol": "invalid-name", @@ -1433,9 +1069,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.properties", "obj": "SM64_AnimImportProps", - "line": 837, + "line": 835, "column": 0, - "endLine": 837, + "endLine": 835, "endColumn": 26, "path": "properties.py", "symbol": "invalid-name", @@ -1445,20 +1081,7 @@ { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", - "obj": "emulateNoLoop", - "line": 55, - "column": 0, - "endLine": 55, - "endColumn": 17, - "path": "operators.py", - "symbol": "invalid-name", - "message": "Function name \"emulateNoLoop\" doesn't conform to snake_case naming style", - "message-id": "C0103" - }, - { - "type": "convention", - "module": "fast64-animations.fast64_internal.sm64.animation.operators", - "obj": "emulateNoLoop", + "obj": "emulate_no_loop", "line": 56, "column": 4, "endLine": 56, @@ -1471,7 +1094,7 @@ { "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", - "obj": "emulateNoLoop", + "obj": "emulate_no_loop", "line": 62, "column": 4, "endLine": 64, @@ -1484,7 +1107,7 @@ { "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", - "obj": "emulateNoLoop", + "obj": "emulate_no_loop", "line": 71, "column": 4, "endLine": 71, @@ -1790,16 +1413,16 @@ "endColumn": 24, "path": "operators.py", "symbol": "too-many-locals", - "message": "Too many local variables (22/15)", + "message": "Too many local variables (28/15)", "message-id": "R0914" }, { "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ExportAnim.execute_operator", - "line": 303, + "line": 306, "column": 17, - "endLine": 303, + "endLine": 306, "endColumn": 51, "path": "operators.py", "symbol": "unspecified-encoding", @@ -1810,9 +1433,9 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ExportAnim.execute", - "line": 347, + "line": 352, "column": 15, - "endLine": 347, + "endLine": 352, "endColumn": 24, "path": "operators.py", "symbol": "broad-exception-caught", @@ -1823,9 +1446,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ExportAnim.execute", - "line": 346, + "line": 351, "column": 12, - "endLine": 346, + "endLine": 351, "endColumn": 23, "path": "operators.py", "symbol": "invalid-name", @@ -1836,9 +1459,9 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ExportAnim.execute", - "line": 356, + "line": 361, "column": 15, - "endLine": 356, + "endLine": 361, "endColumn": 24, "path": "operators.py", "symbol": "broad-exception-caught", @@ -1849,9 +1472,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims", - "line": 365, + "line": 370, "column": 0, - "endLine": 365, + "endLine": 370, "endColumn": 30, "path": "operators.py", "symbol": "invalid-name", @@ -1862,9 +1485,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 373, + "line": 378, "column": 8, - "endLine": 373, + "endLine": 378, "endColumn": 17, "path": "operators.py", "symbol": "invalid-name", @@ -1875,9 +1498,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 374, + "line": 379, "column": 8, - "endLine": 374, + "endLine": 379, "endColumn": 19, "path": "operators.py", "symbol": "invalid-name", @@ -1888,9 +1511,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 376, + "line": 381, "column": 8, - "endLine": 376, + "endLine": 381, "endColumn": 19, "path": "operators.py", "symbol": "invalid-name", @@ -1901,9 +1524,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 378, + "line": 383, "column": 8, - "endLine": 378, + "endLine": 383, "endColumn": 16, "path": "operators.py", "symbol": "invalid-name", @@ -1914,9 +1537,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 379, + "line": 384, "column": 8, - "endLine": 379, + "endLine": 384, "endColumn": 17, "path": "operators.py", "symbol": "invalid-name", @@ -1927,9 +1550,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 382, + "line": 387, "column": 71, - "endLine": 382, + "endLine": 387, "endColumn": 78, "path": "operators.py", "symbol": "invalid-name", @@ -1940,9 +1563,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 383, + "line": 388, "column": 20, - "endLine": 383, + "endLine": 388, "endColumn": 29, "path": "operators.py", "symbol": "invalid-name", @@ -1953,9 +1576,9 @@ "type": "error", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 384, + "line": 389, "column": 20, - "endLine": 391, + "endLine": 396, "endColumn": 21, "path": "operators.py", "symbol": "assignment-from-no-return", @@ -1966,9 +1589,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 397, + "line": 402, "column": 12, - "endLine": 397, + "endLine": 402, "endColumn": 19, "path": "operators.py", "symbol": "invalid-name", @@ -1979,9 +1602,9 @@ "type": "error", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 399, + "line": 404, "column": 8, - "endLine": 399, + "endLine": 404, "endColumn": 28, "path": "operators.py", "symbol": "no-member", @@ -1992,9 +1615,9 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 383, + "line": 388, "column": 37, - "endLine": 383, + "endLine": 388, "endColumn": 48, "path": "operators.py", "symbol": "unused-variable", @@ -2005,9 +1628,9 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute_operator", - "line": 397, + "line": 402, "column": 12, - "endLine": 397, + "endLine": 402, "endColumn": 19, "path": "operators.py", "symbol": "unused-variable", @@ -2018,48 +1641,48 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAllMarioAnims.execute", - "line": 407, + "line": 412, "column": 15, - "endLine": 407, + "endLine": 412, "endColumn": 24, "path": "operators.py", "symbol": "broad-exception-caught", "message": "Catching too general exception Exception", "message-id": "W0718" }, - { - "type": "warning", - "module": "fast64-animations.fast64_internal.sm64.animation.operators", - "obj": "eval_num_from_str", - "line": 416, - "column": 8, - "endLine": 416, - "endColumn": 86, - "path": "operators.py", - "symbol": "raise-missing-from", - "message": "Consider explicitly re-raising using 'raise SyntaxError(f'{str(e)}.\\nIf value is in hexadecimal, use 0x before it.') from e'", - "message-id": "W0707" - }, { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAnim", - "line": 419, + "line": 417, "column": 0, - "endLine": 419, + "endLine": 417, "endColumn": 21, "path": "operators.py", "symbol": "invalid-name", "message": "Class name \"SM64_ImportAnim\" doesn't conform to PascalCase naming style", "message-id": "C0103" }, + { + "type": "error", + "module": "fast64-animations.fast64_internal.sm64.animation.operators", + "obj": "SM64_ImportAnim.execute_operator", + "line": 439, + "column": 20, + "endLine": 439, + "endColumn": 37, + "path": "operators.py", + "symbol": "undefined-variable", + "message": "Undefined variable 'eval_num_from_str'", + "message-id": "E0602" + }, { "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_ImportAnim.execute", - "line": 480, + "line": 478, "column": 15, - "endLine": 480, + "endLine": 478, "endColumn": 24, "path": "operators.py", "symbol": "broad-exception-caught", @@ -2070,15 +1693,28 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.operators", "obj": "SM64_SearchMarioAnimEnum", - "line": 485, + "line": 483, "column": 0, - "endLine": 485, + "endLine": 483, "endColumn": 30, "path": "operators.py", "symbol": "invalid-name", "message": "Class name \"SM64_SearchMarioAnimEnum\" doesn't conform to PascalCase naming style", "message-id": "C0103" }, + { + "type": "warning", + "module": "fast64-animations.fast64_internal.sm64.animation.operators", + "obj": "", + "line": 1, + "column": 0, + "endLine": 1, + "endColumn": 10, + "path": "operators.py", + "symbol": "unused-import", + "message": "Unused import ast", + "message-id": "W0611" + }, { "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", @@ -2248,26 +1884,13 @@ "message": "Using open without explicitly specifying an encoding", "message-id": "W1514" }, - { - "type": "error", - "module": "fast64-animations.fast64_internal.sm64.animation.exporting", - "obj": "get_animation_data", - "line": 162, - "column": 11, - "endLine": 162, - "endColumn": 20, - "path": "exporting.py", - "symbol": "undefined-variable", - "message": "Undefined variable 'sm64Props'", - "message-id": "E0602" - }, { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 172, + "line": 148, "column": 0, - "endLine": 172, + "endLine": 148, "endColumn": 35, "path": "exporting.py", "symbol": "invalid-name", @@ -2278,9 +1901,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 176, + "line": 152, "column": 4, - "endLine": 176, + "endLine": 152, "endColumn": 23, "path": "exporting.py", "symbol": "invalid-name", @@ -2291,9 +1914,9 @@ "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 172, + "line": 148, "column": 0, - "endLine": 172, + "endLine": 148, "endColumn": 35, "path": "exporting.py", "symbol": "too-many-locals", @@ -2304,9 +1927,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 178, + "line": 154, "column": 4, - "endLine": 178, + "endLine": 154, "endColumn": 13, "path": "exporting.py", "symbol": "invalid-name", @@ -2317,9 +1940,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 184, + "line": 160, "column": 4, - "endLine": 184, + "endLine": 160, "endColumn": 13, "path": "exporting.py", "symbol": "invalid-name", @@ -2330,9 +1953,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 188, + "line": 164, "column": 8, - "endLine": 188, + "endLine": 164, "endColumn": 19, "path": "exporting.py", "symbol": "invalid-name", @@ -2343,9 +1966,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 201, + "line": 177, "column": 8, - "endLine": 201, + "endLine": 177, "endColumn": 21, "path": "exporting.py", "symbol": "invalid-name", @@ -2356,9 +1979,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 202, + "line": 178, "column": 12, - "endLine": 202, + "endLine": 178, "endColumn": 23, "path": "exporting.py", "symbol": "invalid-name", @@ -2369,9 +1992,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 205, + "line": 181, "column": 16, - "endLine": 205, + "endLine": 181, "endColumn": 27, "path": "exporting.py", "symbol": "invalid-name", @@ -2382,9 +2005,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 206, + "line": 182, "column": 16, - "endLine": 206, + "endLine": 182, "endColumn": 28, "path": "exporting.py", "symbol": "invalid-name", @@ -2395,22 +2018,35 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 208, + "line": 184, "column": 33, - "endLine": 208, + "endLine": 184, "endColumn": 39, "path": "exporting.py", "symbol": "undefined-loop-variable", "message": "Using possibly undefined loop variable 'header'", "message-id": "W0631" }, + { + "type": "error", + "module": "fast64-animations.fast64_internal.sm64.animation.exporting", + "obj": "exportAnimTableInsertableBinary", + "line": 186, + "column": 19, + "endLine": 186, + "endColumn": 37, + "path": "exporting.py", + "symbol": "undefined-variable", + "message": "Undefined variable 'get_animation_data'", + "message-id": "E0602" + }, { "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 211, + "line": 187, "column": 8, - "endLine": 211, + "endLine": 187, "endColumn": 18, "path": "exporting.py", "symbol": "invalid-name", @@ -2421,9 +2057,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimTableInsertableBinary", - "line": 217, + "line": 193, "column": 4, - "endLine": 217, + "endLine": 193, "endColumn": 21, "path": "exporting.py", "symbol": "invalid-name", @@ -2434,9 +2070,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimInsertableBinary", - "line": 223, + "line": 199, "column": 0, - "endLine": 223, + "endLine": 199, "endColumn": 30, "path": "exporting.py", "symbol": "invalid-name", @@ -2447,9 +2083,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimInsertableBinary", - "line": 223, + "line": 199, "column": 57, - "endLine": 223, + "endLine": 199, "endColumn": 66, "path": "exporting.py", "symbol": "invalid-name", @@ -2460,9 +2096,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimInsertableBinary", - "line": 223, + "line": 199, "column": 68, - "endLine": 223, + "endLine": 199, "endColumn": 87, "path": "exporting.py", "symbol": "invalid-name", @@ -2473,9 +2109,9 @@ "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimInsertableBinary", - "line": 223, + "line": 199, "column": 31, - "endLine": 223, + "endLine": 199, "endColumn": 55, "path": "exporting.py", "symbol": "unused-argument", @@ -2486,9 +2122,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimationTable", - "line": 234, + "line": 210, "column": 0, - "endLine": 234, + "endLine": 210, "endColumn": 24, "path": "exporting.py", "symbol": "invalid-name", @@ -2499,9 +2135,9 @@ "type": "convention", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimationTable", - "line": 236, + "line": 212, "column": 4, - "endLine": 236, + "endLine": 212, "endColumn": 13, "path": "exporting.py", "symbol": "invalid-name", @@ -2512,9 +2148,9 @@ "type": "error", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimationTable", - "line": 245, + "line": 221, "column": 12, - "endLine": 245, + "endLine": 221, "endColumn": 27, "path": "exporting.py", "symbol": "undefined-variable", @@ -2525,9 +2161,9 @@ "type": "error", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimationTable", - "line": 252, + "line": 228, "column": 24, - "endLine": 252, + "endLine": 228, "endColumn": 41, "path": "exporting.py", "symbol": "undefined-variable", @@ -2538,9 +2174,9 @@ "type": "error", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimationTable", - "line": 258, + "line": 234, "column": 8, - "endLine": 258, + "endLine": 234, "endColumn": 23, "path": "exporting.py", "symbol": "undefined-variable", @@ -2551,9 +2187,9 @@ "type": "error", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimationTable", - "line": 260, + "line": 236, "column": 12, - "endLine": 260, + "endLine": 236, "endColumn": 26, "path": "exporting.py", "symbol": "undefined-variable", @@ -2564,15 +2200,54 @@ "type": "refactor", "module": "fast64-animations.fast64_internal.sm64.animation.exporting", "obj": "exportAnimationTable", - "line": 234, + "line": 210, "column": 0, - "endLine": 234, + "endLine": 210, "endColumn": 24, "path": "exporting.py", "symbol": "inconsistent-return-statements", "message": "Either all return statements in a function should return an expression, or none of them should.", "message-id": "R1710" }, + { + "type": "warning", + "module": "fast64-animations.fast64_internal.sm64.animation.exporting", + "obj": "", + "line": 4, + "column": 0, + "endLine": 4, + "endColumn": 36, + "path": "exporting.py", + "symbol": "unused-import", + "message": "Unused Object imported from bpy.types", + "message-id": "W0611" + }, + { + "type": "warning", + "module": "fast64-animations.fast64_internal.sm64.animation.exporting", + "obj": "", + "line": 4, + "column": 0, + "endLine": 4, + "endColumn": 36, + "path": "exporting.py", + "symbol": "unused-import", + "message": "Unused Action imported from bpy.types", + "message-id": "W0611" + }, + { + "type": "warning", + "module": "fast64-animations.fast64_internal.sm64.animation.exporting", + "obj": "", + "line": 14, + "column": 0, + "endLine": 14, + "endColumn": 49, + "path": "exporting.py", + "symbol": "unused-import", + "message": "Unused stashActionInArmature imported from utility_anim", + "message-id": "W0611" + }, { "type": "warning", "module": "fast64-animations.fast64_internal.sm64.animation.c_parser", @@ -2962,5 +2637,31 @@ "symbol": "too-few-public-methods", "message": "Too few public methods (1/2)", "message-id": "R0903" + }, + { + "type": "error", + "module": "fast64-animations.fast64_internal.sm64.animation.utility", + "obj": "eval_num_from_str", + "line": 86, + "column": 15, + "endLine": 86, + "endColumn": 18, + "path": "utility.py", + "symbol": "undefined-variable", + "message": "Undefined variable 'ast'", + "message-id": "E0602" + }, + { + "type": "warning", + "module": "fast64-animations.fast64_internal.sm64.animation.utility", + "obj": "eval_num_from_str", + "line": 88, + "column": 8, + "endLine": 88, + "endColumn": 86, + "path": "utility.py", + "symbol": "raise-missing-from", + "message": "Consider explicitly re-raising using 'raise SyntaxError(f'{str(e)}.\\nIf value is in hexadecimal, use 0x before it.') from e'", + "message-id": "W0707" } ]