mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix flake8 warnings
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
# Copyright (c) 2022 Kyle Schouviller (https://github.com/kyle0654) and the InvokeAI Team
|
||||
from __future__ import annotations
|
||||
from typing import TYPE_CHECKING
|
||||
from typing import TYPE_CHECKING, Optional
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from logging import Logger
|
||||
|
@ -7,7 +7,7 @@ from abc import ABC, abstractmethod
|
||||
from enum import Enum
|
||||
from functools import total_ordering
|
||||
from pathlib import Path
|
||||
from typing import List, Optional, Callable, Dict, Any
|
||||
from typing import List, Optional, Callable
|
||||
from pydantic import BaseModel, Field
|
||||
from pydantic.networks import AnyHttpUrl
|
||||
|
||||
|
@ -125,11 +125,11 @@ session.mount(
|
||||
TestAdapter(
|
||||
model_index_content,
|
||||
status=200,
|
||||
headers={"Content-Length": len(model_index_content), "Content-Disposition": f'filename="model_index.json"'},
|
||||
headers={"Content-Length": len(model_index_content), "Content-Disposition": 'filename="model_index.json"'},
|
||||
),
|
||||
)
|
||||
|
||||
########################################################################################3
|
||||
# ================================================================================================================== #
|
||||
|
||||
|
||||
def test_basic_queue_download():
|
||||
|
Reference in New Issue
Block a user