Skip to content

Commit 93590ca

Browse files
authored
revert back to unalphabetized params
1 parent d51517f commit 93590ca

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

config.py

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ class EnvVars:
2222
Environment variables
2323
2424
Attributes:
25-
enable_mentor_count (bool): If set to TRUE, compute number of mentors
2625
gh_app_id (int | None): The GitHub App ID to use for authentication
2726
gh_app_installation_id (int | None): The GitHub App Installation ID to use for authentication
2827
gh_app_private_key_bytes (bytes): The GitHub App Private Key as bytes to use for authentication
2928
gh_token (str | None): GitHub personal access token (PAT) for API authentication
3029
ghe (str): The GitHub Enterprise URL to use for authentication
31-
heavily_involved_cutoff (str): If set, defines the cutoff after which heavily involved commentors in
3230
hide_author (bool): If true, the author's information is hidden in the output
3331
hide_items_closed_count (bool): If true, the number of items closed metric is hidden in the output
3432
hide_label_metrics (bool): If true, the label metrics are hidden in the output
@@ -37,25 +35,23 @@ class EnvVars:
3735
hide_time_to_first_response (bool): If true, the time to first response metric is hidden in the output
3836
ignore_users (List[str]): List of usernames to ignore when calculating metrics
3937
labels_to_measure (List[str]): List of labels to measure how much time the lable is applied
40-
max_comments_eval (str): If set, defines the maximum number of comments to look at for mentor evaluation
38+
enable_mentor_count (bool): If set to TRUE, compute number of mentors
4139
min_mentor_comments (str): If set, defines the minimum number of comments for mentors
40+
max_comments_eval (str): If set, defines the maximum number of comments to look at for mentor evaluation
41+
heavily_involved_cutoff (str): If set, defines the cutoff after which heavily involved commentors in
42+
search_query (str): Search query used to filter issues/prs/discussions on GitHub
4243
non_mentioning_links (bool): If set to TRUE, links do not cause a notification in the desitnation repository
43-
output_file (str): The name of the file to write the report to
4444
report_title (str): The title of the report
45-
search_query (str): Search query used to filter issues/prs/discussions on GitHub
46-
sort_by_author (bool): If true, the report will be sorted by author
47-
sort_by_time_to_close (bool): If true, the report will be sorted by time to close
45+
output_file (str): The name of the file to write the report to
4846
"""
4947

5048
def __init__(
5149
self,
52-
enable_mentor_count: bool,
5350
gh_app_id: int | None,
5451
gh_app_installation_id: int | None,
5552
gh_app_private_key_bytes: bytes,
5653
gh_token: str | None,
5754
ghe: str | None,
58-
heavily_involved_cutoff: str,
5955
hide_author: bool,
6056
hide_items_closed_count: bool,
6157
hide_label_metrics: bool,
@@ -64,14 +60,14 @@ def __init__(
6460
hide_time_to_first_response: bool,
6561
ignore_user: List[str],
6662
labels_to_measure: List[str],
67-
max_comments_eval: str,
63+
enable_mentor_count: bool,
6864
min_mentor_comments: str,
65+
max_comments_eval: str,
66+
heavily_involved_cutoff: str,
67+
search_query: str,
6968
non_mentioning_links: bool,
70-
output_file: str,
7169
report_title: str,
72-
search_query: str,
73-
sort_by_author: bool,
74-
sort_by_time_to_close: bool,
70+
output_file: str,
7571
):
7672
self.gh_app_id = gh_app_id
7773
self.gh_app_installation_id = gh_app_installation_id
@@ -239,3 +235,4 @@ def get_env_vars(test: bool = False) -> EnvVars:
239235
report_title,
240236
output_file,
241237
)
238+

0 commit comments

Comments
 (0)