1. too many branches in export_godot.py 2. cyclic import in physics.py
@@ -110,6 +110,7 @@ def export_collision_shape(escn_file, export_settings, node, parent_gd_node,
def generate_mesh_array(escn_file, export_settings, node, convex=False):
"""Generates godots PolygonShape from an object"""
+ # pylint: disable-msg=cyclic-import
from .mesh import (MeshConverter, MeshResourceKey)
mesh_converter = MeshConverter(node, export_settings)
if convex:
@@ -171,6 +171,7 @@ class GodotExporter:
return True
def export_scene(self):
+ # pylint: disable-msg=too-many-branches
"""Decide what objects to export, and export them!"""
logging.info("Exporting scene: %s", self.scene.name)
@@ -111,7 +111,6 @@ class FileEntry(collections.OrderedDict):
self.entry_type = entry_type
self.heading = collections.OrderedDict(heading_dict)
- # NOTE: contents is unused. Remove?
# This string is copied verbaitum, so can be used for custom writing
self.contents = ''