Skip to content

Commit 2115ad3

Browse files
no elif
Co-authored-by: Copilot <[email protected]>
1 parent b46f865 commit 2115ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytype_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def to_markdown(me, fp, returncode, results, branch_url):
145145
fp.write(f"\n#### {mylink} reports these error messages:\n")
146146
if not len(results):
147147
fp.write(f"\n*pytype exited with error {returncode}, please check the CI logs*\n")
148-
elif len(results):
148+
else:
149149
fp.write(pd.DataFrame(results).to_markdown())
150150
else:
151151
fp.write(f"\n#### Congratulations, {mylink} reports no {pytype_link} errors.\n")

0 commit comments

Comments
 (0)