Plan: resolve linter contradictions

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/1e4a1f06-55b9-4040-853e-6aaf9ee574c8

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-29 11:29:14 +00:00
parent 50aa5bd5da
commit f2a015971d
5 changed files with 8 additions and 16 deletions
+2 -6
View File
@@ -53,14 +53,10 @@ async def scheduled_imap_polling():
# If new domains were found, log them
if results["new_domains"]:
logger.info(
"New domains found: %s", ", ".join(results["new_domains"])
)
logger.info("New domains found: %s", ", ".join(results["new_domains"]))
else:
logger.error(
"IMAP polling failed: %s", results.get("error", "Unknown error")
)
logger.error("IMAP polling failed: %s", results.get("error", "Unknown error"))
except Exception as e: # pylint: disable=broad-exception-caught
logger.error("Error in IMAP polling task: %s", str(e))