mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ruff: Fix PLC1802 len(…)
used as condition without comparison.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
67fb7daa63
commit
0cc6b77670
@@ -89,7 +89,7 @@ def check_issue_labels() -> None:
|
|||||||
if is_issue(item) and not area_labeled(item)
|
if is_issue(item) and not area_labeled(item)
|
||||||
)
|
)
|
||||||
|
|
||||||
if len(unlabeled_issue_urls):
|
if unlabeled_issue_urls:
|
||||||
print("The following issues don't have any area labels associated with it")
|
print("The following issues don't have any area labels associated with it")
|
||||||
print("\n".join(unlabeled_issue_urls))
|
print("\n".join(unlabeled_issue_urls))
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user