@@ -194,10 +194,14 @@ def process_issue(
194
194
195
195
if comment_id :
196
196
formatted_body = "The following commands were executed: </br> "
197
- comment_body = get_comment_from_repo (repository_name = repo , token = token , comment_id = comment_id )
197
+ comment_body = get_comment_from_repo (
198
+ repository_name = repo , token = token , comment_id = comment_id
199
+ )
198
200
KGCL_COMMANDS = _get_kgcl_commands (comment_body )
199
- issue = next (get_issues (repository_name = repo , token = token , label = label , number = number , state = state ))
200
-
201
+ issue = next (
202
+ get_issues (repository_name = repo , token = token , label = label , number = number , state = state )
203
+ )
204
+
201
205
else :
202
206
for issue in get_issues (
203
207
repository_name = repo , token = token , label = label , number = number , state = state
@@ -282,6 +286,7 @@ def _convert_to_markdown(item: Union[list, dict]) -> str:
282
286
md += bullet + k + ":" + str (v ) + "</br>"
283
287
return md
284
288
289
+
285
290
def _get_kgcl_commands (issue_body : str ) -> list :
286
291
KGCL_COMMANDS = []
287
292
bullet_starters = ["* " , "- " ]
@@ -296,6 +301,7 @@ def _get_kgcl_commands(issue_body: str) -> list:
296
301
KGCL_COMMANDS = [x .strip () for x in KGCL_COMMANDS ]
297
302
return KGCL_COMMANDS
298
303
304
+
299
305
@main .command ("update-readme" )
300
306
@input_argument
301
307
def get_implementers (input : str ):
0 commit comments