mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(backend): fix unintentional change to import orders
- Ignore I001 (isort rules) for this file - Ignore F401 (unused imports) for this file
This commit is contained in:
parent
84a0a0fa14
commit
1a596a5684
@ -1,14 +1,13 @@
|
|||||||
|
# ruff: noqa: I001, F401
|
||||||
"""
|
"""
|
||||||
Initialization file for invokeai.backend.model_management
|
Initialization file for invokeai.backend.model_management
|
||||||
"""
|
"""
|
||||||
# This import must be first
|
# This import must be first
|
||||||
from .lora import ModelPatcher, ONNXModelPatcher # noqa: F401
|
from .model_manager import AddModelResult, ModelInfo, ModelManager, SchedulerPredictionType
|
||||||
from .model_cache import ModelCache # noqa: F401
|
from .lora import ModelPatcher, ONNXModelPatcher
|
||||||
from .model_manager import AddModelResult, ModelInfo, ModelManager, SchedulerPredictionType # noqa: F401 isort: split
|
from .model_cache import ModelCache
|
||||||
|
|
||||||
# This import must be last
|
from .models import (
|
||||||
from .model_merge import MergeInterpolationMethod, ModelMerger # noqa: F401 isort: split
|
|
||||||
from .models import ( # noqa: F401
|
|
||||||
BaseModelType,
|
BaseModelType,
|
||||||
DuplicateModelException,
|
DuplicateModelException,
|
||||||
ModelNotFoundException,
|
ModelNotFoundException,
|
||||||
@ -16,3 +15,6 @@ from .models import ( # noqa: F401
|
|||||||
ModelVariantType,
|
ModelVariantType,
|
||||||
SubModelType,
|
SubModelType,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# This import must be last
|
||||||
|
from .model_merge import MergeInterpolationMethod, ModelMerger
|
||||||
|
Loading…
Reference in New Issue
Block a user