Skip to content

Commit

Permalink
Merge pull request #409 from github/fix_markdown_args
Browse files Browse the repository at this point in the history
fix: Correct positional args for write_to_markdown()
  • Loading branch information
zkoppert authored Oct 21, 2024
2 parents 2150548 + f282e90 commit 852d290
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions issue_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def main(): # pragma: no cover
token = env_vars.gh_token
ignore_users = env_vars.ignore_users
hide_items_closed_count = env_vars.hide_items_closed_count
hide_label_metrics = env_vars.hide_label_metrics
non_mentioning_links = env_vars.non_mentioning_links
report_title = env_vars.report_title
output_file = env_vars.output_file
Expand Down Expand Up @@ -322,20 +323,21 @@ def main(): # pragma: no cover
)

write_to_markdown(
issues_with_metrics,
stats_time_to_first_response,
stats_time_to_close,
stats_time_to_answer,
stats_time_in_labels,
num_issues_open,
num_issues_closed,
num_mentor_count,
labels,
search_query,
hide_items_closed_count,
non_mentioning_links,
report_title,
output_file,
issues_with_metrics=issues_with_metrics,
average_time_to_first_response=stats_time_to_first_response,
average_time_to_close=stats_time_to_close,
average_time_to_answer=stats_time_to_answer,
average_time_in_labels=stats_time_in_labels,
num_issues_opened=num_issues_open,
num_issues_closed=num_issues_closed,
num_mentor_count=num_mentor_count,
labels=labels,
search_query=search_query,
hide_label_metrics=hide_label_metrics,
hide_items_closed_count=hide_items_closed_count,
non_mentioning_links=non_mentioning_links,
report_title=report_title,
output_file=output_file,
)

max_char_count = 65535
Expand Down

0 comments on commit 852d290

Please sign in to comment.