From e98b142585c357bfbab56aef60e76e6bc3f44999 Mon Sep 17 00:00:00 2001 From: cliffmccarthy <16453869+cliffmccarthy@users.noreply.github.com> Date: Tue, 11 Nov 2025 09:56:34 -0600 Subject: [PATCH] style: Formatting revisions --- cmdeploy/src/cmdeploy/__init__.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/cmdeploy/src/cmdeploy/__init__.py b/cmdeploy/src/cmdeploy/__init__.py index 1b137489..7fd8bbf4 100644 --- a/cmdeploy/src/cmdeploy/__init__.py +++ b/cmdeploy/src/cmdeploy/__init__.py @@ -418,13 +418,12 @@ def _configure_postfix(config: Config, debug: bool = False) -> bool: class PostfixDeployer(Deployer): - required_users = [("postfix", None, ["opendkim"]),] + required_users = [("postfix", None, ["opendkim"])] def __init__(self, config, disable_mail): self.config = config self.disable_mail = disable_mail - def install(self): apt.packages( name="Install Postfix", @@ -977,10 +976,11 @@ class ChatmailVenvDeployer(Deployer): class ChatmailDeployer(Deployer): required_users = [ - ("vmail", "vmail", None), - ("echobot", None, None), - ("iroh", None, None), + ("vmail", "vmail", None), + ("echobot", None, None), + ("iroh", None, None), ] + def __init__(self, mail_domain): self.mail_domain = mail_domain @@ -1103,7 +1103,6 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None: tls_domains = [mail_domain, f"mta-sts.{mail_domain}", f"www.{mail_domain}"] - all_deployers = [ ChatmailDeployer(mail_domain=mail_domain), JournaldDeployer(), @@ -1137,4 +1136,3 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None: path="/var/log/journal/", present=False, ) -