|
36 | 36 | """
|
37 | 37 |
|
38 | 38 |
|
39 |
| -def _get_curent_team(team_name, teams) -> Optional[github.Team.Team]: |
| 39 | +def _get_current_team(team_name, teams) -> Optional[github.Team.Team]: |
40 | 40 | for team in teams:
|
41 | 41 | if team_name == team.name.lower():
|
42 | 42 | return team
|
@@ -70,7 +70,7 @@ def __init__(self, token: str, repo: str, issue_number: int, label_name: str):
|
70 | 70 | self._team_name = "issue-subscribers-{}".format(label_name).lower()
|
71 | 71 |
|
72 | 72 | def run(self) -> bool:
|
73 |
| - team = _get_curent_team(self.team_name, self.org.get_teams()) |
| 73 | + team = _get_current_team(self.team_name, self.org.get_teams()) |
74 | 74 | if not team:
|
75 | 75 | print(f"couldn't find team named {self.team_name}")
|
76 | 76 | return False
|
@@ -125,7 +125,7 @@ def get_summary_comment(self) -> github.IssueComment.IssueComment:
|
125 | 125 |
|
126 | 126 | def run(self) -> bool:
|
127 | 127 | patch = None
|
128 |
| - team = _get_curent_team(self.team_name, self.org.get_teams()) |
| 128 | + team = _get_current_team(self.team_name, self.org.get_teams()) |
129 | 129 | if not team:
|
130 | 130 | print(f"couldn't find team named {self.team_name}")
|
131 | 131 | return False
|
@@ -201,7 +201,7 @@ def run(self) -> bool:
|
201 | 201 | )
|
202 | 202 | return True
|
203 | 203 |
|
204 |
| - def _get_curent_team(self) -> Optional[github.Team.Team]: |
| 204 | + def _get_current_team(self) -> Optional[github.Team.Team]: |
205 | 205 | for team in self.org.get_teams():
|
206 | 206 | if self.team_name == team.name.lower():
|
207 | 207 | return team
|
@@ -281,7 +281,7 @@ def run(self) -> bool:
|
281 | 281 | @{self.author} Congratulations on having your first Pull Request (PR) merged into the LLVM Project!
|
282 | 282 |
|
283 | 283 | Your changes will be combined with recent changes from other authors, then tested
|
284 |
| -by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build, you may recieve a report in an email or a comment on this PR. |
| 284 | +by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build, you may receive a report in an email or a comment on this PR. |
285 | 285 |
|
286 | 286 | Please check whether problems have been caused by your change specifically, as
|
287 | 287 | the builds can include changes from many authors. It is not uncommon for your
|
@@ -639,7 +639,7 @@ def execute_command(self) -> bool:
|
639 | 639 |
|
640 | 640 | parser = argparse.ArgumentParser()
|
641 | 641 | parser.add_argument(
|
642 |
| - "--token", type=str, required=True, help="GitHub authentiation token" |
| 642 | + "--token", type=str, required=True, help="GitHub authentication token" |
643 | 643 | )
|
644 | 644 | parser.add_argument(
|
645 | 645 | "--repo",
|
@@ -669,7 +669,7 @@ def execute_command(self) -> bool:
|
669 | 669 | "--llvm-project-dir",
|
670 | 670 | type=str,
|
671 | 671 | default=".",
|
672 |
| - help="directory containing the llvm-project checout", |
| 672 | + help="directory containing the llvm-project checkout", |
673 | 673 | )
|
674 | 674 | release_workflow_parser.add_argument(
|
675 | 675 | "--issue-number", type=int, required=True, help="The issue number to update"
|
|
0 commit comments