Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Correct positional args for write_to_markdown() #409

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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