fix flake8 warnings

This commit is contained in:
Lincoln Stein
2023-09-09 21:26:09 -04:00
parent b2892f9068
commit b7a6a536e6
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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():