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
|
||||
"""
|
||||
# This import must be first
|
||||
from .lora import ModelPatcher, ONNXModelPatcher # noqa: F401
|
||||
from .model_cache import ModelCache # noqa: F401
|
||||
from .model_manager import AddModelResult, ModelInfo, ModelManager, SchedulerPredictionType # noqa: F401 isort: split
|
||||
from .model_manager import AddModelResult, ModelInfo, ModelManager, SchedulerPredictionType
|
||||
from .lora import ModelPatcher, ONNXModelPatcher
|
||||
from .model_cache import ModelCache
|
||||
|
||||
# This import must be last
|
||||
from .model_merge import MergeInterpolationMethod, ModelMerger # noqa: F401 isort: split
|
||||
from .models import ( # noqa: F401
|
||||
from .models import (
|
||||
BaseModelType,
|
||||
DuplicateModelException,
|
||||
ModelNotFoundException,
|
||||
@ -16,3 +15,6 @@ from .models import ( # noqa: F401
|
||||
ModelVariantType,
|
||||
SubModelType,
|
||||
)
|
||||
|
||||
# This import must be last
|
||||
from .model_merge import MergeInterpolationMethod, ModelMerger
|
||||
|
Loading…
Reference in New Issue
Block a user