mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
ruff: Fix SIM300 Yoda conditions are discouraged.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
b85cb1e700
commit
5b7c4206d7
@@ -331,7 +331,7 @@ def sanity_check_output(data: TableData) -> None:
|
||||
in {__file__} for what to include in data exports.
|
||||
"""
|
||||
|
||||
assert ALL_ZULIP_TABLES == all_tables_db, error_message
|
||||
assert all_tables_db == ALL_ZULIP_TABLES, error_message
|
||||
assert NON_EXPORTED_TABLES.issubset(ALL_ZULIP_TABLES), error_message
|
||||
assert IMPLICIT_TABLES.issubset(ALL_ZULIP_TABLES), error_message
|
||||
assert ATTACHMENT_TABLES.issubset(ALL_ZULIP_TABLES), error_message
|
||||
|
||||
Reference in New Issue
Block a user