Skip to content

Commit

Permalink
Isort & black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonPacewic committed Jul 18, 2024
1 parent 3b4ad2c commit 2250a9c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 4 additions & 2 deletions exporter/SynthesisFusionAddin/Synthesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@

# END OF RESTRICTION

from .src.APS import APS
from .src.configure import setAnalytics, unload_config
# Transition: AARD-1721
# Should attempt to fix this ordering scheme within AARD-1741
from .src.APS import APS # isort:skip
from .src.configure import setAnalytics, unload_config # isort:skip


def run(_):
Expand Down
7 changes: 4 additions & 3 deletions exporter/SynthesisFusionAddin/proto/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import adsk.core
import adsk.fusion

from src.strings import INTERNAL_ID

system = platform.system()
Expand Down Expand Up @@ -179,11 +180,11 @@ def installDependencies():

import google.protobuf
import pkg_resources
from requests import get, post

from .proto_out import assembly_pb2, joint_pb2, material_pb2, types_pb2

from requests import get, post
except ImportError or ModuleNotFoundError:
installCross(["protobuf==4.23.3", "result==0.17.0"])
from .proto_out import assembly_pb2, joint_pb2, material_pb2, types_pb2
from requests import get, post

from .proto_out import assembly_pb2, joint_pb2, material_pb2, types_pb2
7 changes: 2 additions & 5 deletions exporter/SynthesisFusionAddin/src/APS/APS.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@
import urllib.request
from dataclasses import dataclass
from typing import Any

import requests

from ..general_imports import (
INTERNAL_ID,
gm,
my_addin_path,
)
from ..general_imports import INTERNAL_ID, gm, my_addin_path

CLIENT_ID = "GCxaewcLjsYlK8ud7Ka9AKf9dPwMR3e4GlybyfhAK2zvl3tU"
auth_path = os.path.abspath(os.path.join(my_addin_path, "..", ".aps_auth"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

from proto.proto_out import assembly_pb2, types_pb2

from ...APS.APS import upload_mirabuf # This line causes everything to break
from ...general_imports import *
from ...UI.Camera import captureThumbnail, clearIconCache
from ..ExporterOptions import ExporterOptions, ExportMode, ExportLocation
from ..ExporterOptions import ExporterOptions, ExportLocation, ExportMode
from . import Components, JointHierarchy, Joints, Materials, PDMessage
from .Utilities import *
from ...APS.APS import upload_mirabuf # This line causes everything to break


class Parser:
Expand Down
2 changes: 1 addition & 1 deletion exporter/SynthesisFusionAddin/src/UI/ConfigCommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from ..general_imports import *
from ..Parser.ExporterOptions import (
ExporterOptions,
ExportLocation,
ExportMode,
Gamepiece,
Joint,
Expand All @@ -26,7 +27,6 @@
SignalType,
Wheel,
WheelType,
ExportLocation,
)
from ..Parser.SynthesisParser.Parser import Parser
from ..Parser.SynthesisParser.Utilities import guid_occurrence
Expand Down

0 comments on commit 2250a9c

Please sign in to comment.