ruff: Fix PLC1802 len(…) used as condition without comparison.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-03-14 15:33:09 -07:00
committed by Tim Abbott
parent 67fb7daa63
commit 0cc6b77670

View File

@@ -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: