Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Anders Kaseorg0cc6b77670f7
diff --git a/tools/check-issue-labels b/tools/check-issue-labels
index 20f659f41b5..a4b8975e60b 100755
--- a/tools/check-issue-labels
+++ b/tools/check-issue-labels
@@ -89,7 +89,7 @@ def check_issue_labels() -> None:
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("\n".join(unlabeled_issue_urls))
else: