chore: ruff

This commit is contained in:
psychedelicious
2024-03-12 01:54:51 +11:00
parent f69938c6a8
commit 60492500db
4 changed files with 3 additions and 10 deletions

View File

@ -339,9 +339,7 @@ class InvokeAILogger(object): # noqa D102
loggers: Dict[str, logging.Logger] = {}
@classmethod
def get_logger(
cls, name: str = "InvokeAI", config: InvokeAIAppConfig = get_config()
) -> logging.Logger: # noqa D102
def get_logger(cls, name: str = "InvokeAI", config: InvokeAIAppConfig = get_config()) -> logging.Logger: # noqa D102
if name in cls.loggers:
return cls.loggers[name]