refactor: Ran lint fix
parent
b5a4b6b0a1
commit
269af4ba32
|
@ -1,4 +1,3 @@
|
|||
import enum
|
||||
import pydantic as pyd
|
||||
import typing_extensions as pytypes_ext
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import typing as typ
|
||||
|
||||
from .base import ManagedObj
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import functools
|
||||
|
||||
import bpy
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import io
|
||||
import time
|
||||
import typing as typ
|
||||
|
||||
import bpy
|
||||
|
|
|
@ -6,8 +6,8 @@ import numpy as np
|
|||
|
||||
from ....utils import logger
|
||||
from .. import contracts as ct
|
||||
from .managed_bl_collection import managed_collection, preview_collection
|
||||
from . import base
|
||||
from .managed_bl_collection import managed_collection, preview_collection
|
||||
|
||||
log = logger.get(__name__)
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ import bpy
|
|||
|
||||
from ...utils import logger
|
||||
from . import contracts as ct
|
||||
from .managed_objs.managed_bl_collection import preview_collection
|
||||
|
||||
log = logger.get(__name__)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import bpy
|
|||
|
||||
from .....utils import logger
|
||||
from ... import contracts as ct
|
||||
from ... import managed_objs, sockets
|
||||
from ... import sockets
|
||||
from .. import base, events
|
||||
|
||||
log = logger.get(__name__)
|
||||
|
@ -245,9 +245,9 @@ class ExtractDataNode(base.MaxwellSimNode):
|
|||
field_data = self._compute_input('Field Data')
|
||||
return getattr(field_data, props['field_data__component'])
|
||||
|
||||
elif self.active_socket_set == 'Flux Data': # noqa: RET505
|
||||
elif self.active_socket_set == 'Flux Data':
|
||||
flux_data = self._compute_input('Flux Data')
|
||||
return getattr(flux_data, 'flux')
|
||||
return flux_data.flux
|
||||
|
||||
msg = f'Tried to get data from unknown output socket in "{self.bl_label}"'
|
||||
raise RuntimeError(msg)
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
import typing as typ
|
||||
from pathlib import Path
|
||||
|
||||
import tidy3d as td
|
||||
|
||||
from ...... import info
|
||||
from ......services import tdcloud
|
||||
from ......utils import logger
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import typing as typ
|
||||
|
||||
import sympy as sp
|
||||
import sympy.physics.units as spu
|
||||
import tidy3d as td
|
||||
|
||||
from .....assets.import_geonodes import GeoNodes, import_geonodes
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
import typing as typ
|
||||
|
||||
import bpy
|
||||
import sympy as sp
|
||||
import sympy.physics.units as spu
|
||||
import tidy3d as td
|
||||
|
||||
from .....assets.import_geonodes import GeoNodes, import_geonodes
|
||||
|
|
|
@ -6,7 +6,6 @@ import sympy as sp
|
|||
from .....utils import logger
|
||||
from ... import contracts as ct
|
||||
from ... import sockets
|
||||
from ...managed_objs.managed_bl_collection import preview_collection
|
||||
from .. import base, events
|
||||
|
||||
log = logger.get(__name__)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import typing as typ
|
||||
|
||||
import bpy
|
||||
import sympy.physics.units as spu
|
||||
import tidy3d as td
|
||||
|
||||
from ... import contracts as ct
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from pathlib import Path
|
||||
|
||||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import tidy3d as td
|
||||
import typing_extensions as typx
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import tidy3d as td
|
||||
|
||||
from ... import contracts as ct
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import scipy as sc
|
||||
import sympy.physics.units as spu
|
||||
import tidy3d as td
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import tidy3d as td
|
||||
|
||||
from ... import contracts as ct
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import typing as typ
|
||||
|
||||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
from ... import contracts as ct
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy.physics.units as spu
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy.physics.units as spu
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import typing as typ
|
||||
|
||||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
|
||||
from ... import contracts as ct
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy.physics.units as spu
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
import sympy.physics.units as spu
|
||||
|
||||
from .....utils import extra_sympy_units as spux
|
||||
from .....utils import logger
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
import sympy.physics.units as spu
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy.physics.units as spu
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import typing as typ
|
||||
|
||||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
import sympy.physics.units as spu
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
import sympy.physics.optics.polarization as spo_pol
|
||||
import sympy.physics.units as spu
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
import sympy.physics.units as spu
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy.physics.units as spu
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import typing as typ
|
||||
|
||||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy.physics.units as spu
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
from ... import contracts as ct
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy.physics.units as spu
|
||||
|
||||
from .....utils.pydantic_sympy import SympyExpr
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
|
||||
from .....services import tdcloud
|
||||
from ... import contracts as ct
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pydantic as pyd
|
||||
|
||||
from ... import contracts as ct
|
||||
from .. import base
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
|
||||
from .....utils.pydantic_sympy import ConstrSympyExpr
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
|
||||
from .....utils.pydantic_sympy import ConstrSympyExpr
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import bpy
|
||||
import pydantic as pyd
|
||||
import sympy as sp
|
||||
|
||||
from .....utils.pydantic_sympy import ConstrSympyExpr
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
"""
|
||||
|
||||
Attributes:
|
||||
NaiveEncodableType:
|
||||
See <https://jcristharif.com/msgspec/supported-types.html> for details.
|
||||
"""Attributes:
|
||||
NaiveEncodableType:
|
||||
See <https://jcristharif.com/msgspec/supported-types.html> for details.
|
||||
"""
|
||||
|
||||
import dataclasses
|
||||
|
|
|
@ -9,7 +9,6 @@ import bpy
|
|||
PATH_SCRIPT = str(Path(__file__).resolve().parent)
|
||||
sys.path.insert(0, str(PATH_SCRIPT))
|
||||
import info # noqa: E402
|
||||
import pack # noqa: E402
|
||||
|
||||
sys.path.remove(str(PATH_SCRIPT))
|
||||
|
||||
|
|
Loading…
Reference in New Issue