From 7f69bdb07130d37438e8ed19a3a49a9d485f0f2d Mon Sep 17 00:00:00 2001 From: Andi Pieper Date: Thu, 12 Dec 2024 18:34:07 +0100 Subject: [PATCH] linter --- deployer/src/deployer/analyze_pr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployer/src/deployer/analyze_pr.py b/deployer/src/deployer/analyze_pr.py index 0159d2b0fa57..3e965d10d024 100644 --- a/deployer/src/deployer/analyze_pr.py +++ b/deployer/src/deployer/analyze_pr.py @@ -86,11 +86,13 @@ def analyze_pr(build_directory: Path, config): return combined_comment + def truncate_comment(comment): if len(comment) > MAX_COMMENT_BODY_LENGTH: return comment[:MAX_COMMENT_BODY_LENGTH] + "…\n\nTRUNCATED!" return comment + def post_about_deployment(build_directory: Path, **config): links = [] for doc in get_built_docs(build_directory):