From 5b4eb1701eeabfd3e171275a1947d861fc439c34 Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 12 Sep 2025 01:43:16 +0200 Subject: [PATCH] CI: cmdeploy fmt --- chatmaild/src/chatmaild/doveauth.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chatmaild/src/chatmaild/doveauth.py b/chatmaild/src/chatmaild/doveauth.py index 4d143aad..e2543b7d 100644 --- a/chatmaild/src/chatmaild/doveauth.py +++ b/chatmaild/src/chatmaild/doveauth.py @@ -24,9 +24,7 @@ def encrypt_password(password: str): def is_allowed_to_create(config: Config, user, cleartext_password) -> bool: """Return True if user and password are admissable.""" if os.path.exists(NOCREATE_FILE): - logging.warning( - f"blocked account creation because {NOCREATE_FILE!r} exists." - ) + logging.warning(f"blocked account creation because {NOCREATE_FILE!r} exists.") return False password_length = len(cleartext_password) if config.invite_token: @@ -36,7 +34,7 @@ def is_allowed_to_create(config: Config, user, cleartext_password) -> bool: break else: logging.warning( - f"blocked account creation because password didn't contain invite token(s)." + "blocked account creation because password didn't contain invite token(s)." ) return False