Skip to content

Commit e7a8637

Browse files
vil02dapr-bot
andauthored
Use is not and remove trailing spaces (dapr#8415)
Signed-off-by: vil02 <[email protected]> Co-authored-by: Dapr Bot <[email protected]>
1 parent 6ceb1c6 commit e7a8637

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/scripts/generate_release_notes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,14 @@ def get_repo_priority(name):
165165
a = [l.login for l in issueOrPR.assignees]
166166
if len(a) == 0:
167167
print("Issue is unassigned: {}".format(url))
168-
for c in a:
168+
for c in a:
169169
contributors.add("@" + str(c))
170170
repo = issueOrPR.repository
171171
if repo == "docs":
172172
# Do not add this to the list of changes (but add to contributors).
173173
continue
174174
hasNote = False
175-
if not (issueOrPR.body is None):
175+
if issueOrPR.body is not None:
176176
match = re.search(releaseNoteRegex, issueOrPR.body, re.M)
177177
if match:
178178
note = match.group(1).strip()
@@ -212,7 +212,7 @@ def get_repo_priority(name):
212212
# set issue url
213213
changeUrl = " [" + str(change[1].number) + "](" + change[4] + ")"
214214
changeLines.append("- " + change[2] + changeUrl)
215-
215+
216216
if breakingChange:
217217
if lastBreakingChangeSubtitle != subtitle:
218218
lastBreakingChangeSubtitle = subtitle

.github/scripts/validate_sidecar_resources.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def run_sidecar(executable, app_id):
8080

8181
def test_diff(arr_old, arr_new, label, test='ttest'):
8282
# Output mean and median for memory utilization
83-
83+
8484
p25_new, p50_new, p75_new = np.percentile(arr_new, [25, 50, 75])
8585
p25_old, p50_old, p75_old = np.percentile(arr_old, [25, 50, 75])
8686

@@ -127,7 +127,7 @@ def size_diff(old_binary, new_binary):
127127

128128
print(f"Passed! Did not find significant increase in file size: was {old_size} KB, now {new_size} KB.")
129129
return False
130-
130+
131131

132132
def getenv(key, default):
133133
v = os.getenv(key)

0 commit comments

Comments
 (0)