From e834939d2bbc8e9e98743722889ea458446ac8d2 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 27 Oct 2023 18:43:59 +0200 Subject: [PATCH] Ignore complexity rule in auto-translated code --- planemo/reports/build_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planemo/reports/build_report.py b/planemo/reports/build_report.py index 32b6f37a1..8aaf0b77d 100644 --- a/planemo/reports/build_report.py +++ b/planemo/reports/build_report.py @@ -13,7 +13,7 @@ fail_fragment = "Invocation scheduling failed because" -def render_message_to_string(invocation_message): +def render_message_to_string(invocation_message): # noqa: C901 # ChatGPT did a reasonable job of translating this from https://github.com/galaxyproject/galaxy/blob/d92bbb144ffcda7e17368cf43dd25c8a9a3a7dd6/client/src/components/WorkflowInvocationState/InvocationMessage.vue#L93-L172 reason = invocation_message["reason"] if reason == "user_request":