Skip to content

Commit

Permalink
Ignore complexity rule in auto-translated code
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 28, 2023
1 parent 8701430 commit e834939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planemo/reports/build_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit e834939

Please sign in to comment.