@@ -75,7 +75,8 @@ def issue(
75
75
After merging PR {}, I observed that the tool {} no longer builds.
76
76
A follow-up PR to the repository {} is needed to fix the fallout.
77
77
78
- cc @{}, do you think you would have time to do the follow-up work? If so, that would be great!
78
+ cc @{}, do you think you would have time to do the follow-up work?
79
+ If so, that would be great!
79
80
80
81
cc @{}, the PR reviewer, and @rust-lang/compiler -- nominating for prioritization.
81
82
@@ -144,7 +145,10 @@ def update_latest(
144
145
build_failed = True
145
146
146
147
if build_failed :
147
- issue (tool , MAINTAINERS .get (tool ), relevant_pr_number , relevant_pr_user , pr_reviewer )
148
+ issue (
149
+ tool , MAINTAINERS .get (tool ),
150
+ relevant_pr_number , relevant_pr_user , pr_reviewer ,
151
+ )
148
152
149
153
if changed :
150
154
status ['commit' ] = current_commit
@@ -168,7 +172,10 @@ def update_latest(
168
172
github_token = sys .argv [4 ]
169
173
170
174
# assume that PR authors are also owners of the repo where the branch lives
171
- relevant_pr_match = re .search ('Auto merge of #([0-9]+) - ([^:]+):[^,]+ r=([^\s]+)' , cur_commit_msg )
175
+ relevant_pr_match = re .search (
176
+ 'Auto merge of #([0-9]+) - ([^:]+):[^,]+ r=([^\s]+)' ,
177
+ cur_commit_msg ,
178
+ )
172
179
if relevant_pr_match :
173
180
number = relevant_pr_match .group (1 )
174
181
relevant_pr_user = relevant_pr_match .group (2 )
0 commit comments