MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / find_comment

Method find_comment

External/code-format-helper/code-format-helper.py:108–112  ·  view source on GitHub ↗
(self, pr: any)

Source from the content-addressed store, hash-verified

106 # TODO: any type should be replaced with the correct github type, but it requires refactoring to
107 # not require the github module to be installed everywhere.
108 def find_comment(self, pr: any) -> any:
109 for comment in pr.as_issue().get_comments():
110 if self.comment_tag in comment.body:
111 return comment
112 return None
113
114 def update_pr(self, comment_text: str, args: FormatArgs, create_new: bool) -> None:
115 import github

Callers 1

update_prMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected