mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
♻️ organize imports
This commit is contained in:
parent
fef36a7cd9
commit
ebf6789036
3 changed files with 43 additions and 37 deletions
|
|
@ -21,21 +21,18 @@ from .utils import (
|
|||
)
|
||||
|
||||
__all__ = (
|
||||
"click_wrap",
|
||||
|
||||
"IPluginPaths",
|
||||
"ITrayAddon",
|
||||
"ITrayAction",
|
||||
"ITrayService",
|
||||
"IHostAddon",
|
||||
"ITraits",
|
||||
|
||||
"ProcessPreparationError",
|
||||
"ProcessContext",
|
||||
"AYONAddon",
|
||||
"AddonsManager",
|
||||
"load_addons",
|
||||
|
||||
"IHostAddon",
|
||||
"IPluginPaths",
|
||||
"ITraits",
|
||||
"ITrayAction",
|
||||
"ITrayAddon",
|
||||
"ITrayService",
|
||||
"ProcessContext",
|
||||
"ProcessPreparationError",
|
||||
"click_wrap",
|
||||
"ensure_addons_are_process_context_ready",
|
||||
"ensure_addons_are_process_ready",
|
||||
"load_addons",
|
||||
)
|
||||
|
|
|
|||
|
|
@ -12,9 +12,15 @@ from .content import (
|
|||
)
|
||||
from .cryptography import DigitallySigned, PGPSigned
|
||||
from .lifecycle import Persistent, Transient
|
||||
from .meta import Tagged, TemplatePath, Variant
|
||||
from .meta import (
|
||||
IntendedUse,
|
||||
KeepOriginalLocation,
|
||||
SourceApplication,
|
||||
Tagged,
|
||||
TemplatePath,
|
||||
Variant,
|
||||
)
|
||||
from .representation import Representation
|
||||
from .three_dimensional import Geometry, IESProfile, Lighting, Shader, Spatial
|
||||
from .temporal import (
|
||||
FrameRanged,
|
||||
GapPolicy,
|
||||
|
|
@ -23,6 +29,7 @@ from .temporal import (
|
|||
SMPTETimecode,
|
||||
Static,
|
||||
)
|
||||
from .three_dimensional import Geometry, IESProfile, Lighting, Shader, Spatial
|
||||
from .trait import (
|
||||
MissingTraitError,
|
||||
TraitBase,
|
||||
|
|
@ -40,25 +47,25 @@ from .utils import (
|
|||
get_sequence_from_files,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
__all__ = [ # noqa: RUF022
|
||||
# base
|
||||
"Representation",
|
||||
"TraitBase",
|
||||
"MissingTraitError",
|
||||
"TraitValidationError",
|
||||
|
||||
# color
|
||||
"ColorManaged",
|
||||
|
||||
# content
|
||||
"Bundle",
|
||||
"Compressed",
|
||||
"FileLocation",
|
||||
"FileLocations",
|
||||
"MimeType",
|
||||
"RootlessLocation",
|
||||
"Fragment",
|
||||
"LocatableContent",
|
||||
|
||||
# color
|
||||
"ColorManaged",
|
||||
"MimeType",
|
||||
"RootlessLocation",
|
||||
|
||||
# cryptography
|
||||
"DigitallySigned",
|
||||
|
|
@ -69,10 +76,28 @@ __all__ = [
|
|||
"Transient",
|
||||
|
||||
# meta
|
||||
"IntendedUse",
|
||||
"KeepOriginalLocation",
|
||||
"SourceApplication",
|
||||
"Tagged",
|
||||
"TemplatePath",
|
||||
"Variant",
|
||||
|
||||
# temporal
|
||||
"FrameRanged",
|
||||
"GapPolicy",
|
||||
"Handles",
|
||||
"Sequence",
|
||||
"SMPTETimecode",
|
||||
"Static",
|
||||
|
||||
# three-dimensional
|
||||
"Geometry",
|
||||
"IESProfile",
|
||||
"Lighting",
|
||||
"Shader",
|
||||
"Spatial",
|
||||
|
||||
# two-dimensional
|
||||
"Compressed",
|
||||
"Deep",
|
||||
|
|
@ -82,21 +107,6 @@ __all__ = [
|
|||
"Planar",
|
||||
"UDIM",
|
||||
|
||||
# three-dimensional
|
||||
"Geometry",
|
||||
"IESProfile",
|
||||
"Lighting",
|
||||
"Shader",
|
||||
"Spatial",
|
||||
|
||||
# time
|
||||
"FrameRanged",
|
||||
"Static",
|
||||
"Handles",
|
||||
"GapPolicy",
|
||||
"Sequence",
|
||||
"SMPTETimecode",
|
||||
|
||||
# utils
|
||||
"get_sequence_from_files",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ from ayon_core.pipeline.traits import (
|
|||
from ayon_core.pipeline.traits.trait import TraitValidationError
|
||||
|
||||
|
||||
|
||||
def test_sequence_validations() -> None:
|
||||
"""Test Sequence trait validation."""
|
||||
file_locations_list = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue