codespell: Fix spelling mistakes caught by codespell.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-05-31 14:06:32 -07:00 committed by Anders Kaseorg
parent 8aea76448f
commit e53e3af0f6
7 changed files with 10 additions and 8 deletions

View File

@ -26,3 +26,5 @@ uper
slac slac
couldn couldn
ges ges
assertIn
thirdparty

View File

@ -162,7 +162,7 @@ a lasting record for the community. “We even used a Zulip topic to coordinate
for lunch, to let people have their uninterrupted focus time,” John says. for lunch, to let people have their uninterrupted focus time,” John says.
Since 2015, John has stayed connected with the RC alumni community on Zulip. “We Since 2015, John has stayed connected with the RC alumni community on Zulip. “We
have a channel for alumni checkins, where each alum uses a dedicated topic to have a channel for alumni check-ins, where each alum uses a dedicated topic to
post updates,” John explains. Some alums drop by weekly, while others might come post updates,” John explains. Some alums drop by weekly, while others might come
around once a year. “You can leave a note, and its OK if your friend reads it around once a year. “You can leave a note, and its OK if your friend reads it
a few months later,” John says. “Compare that with Slack, where if someone a few months later,” John says. “Compare that with Slack, where if someone

View File

@ -72,7 +72,7 @@ export function status_from_raw(raw: RawPresence): PresenceStatus {
} }
*/ */
/* Mark users as offline after this many seconds since their last checkin, */ /* Mark users as offline after this many seconds since their last check-in, */
const offline_threshold_secs = realm.server_presence_offline_threshold_seconds; const offline_threshold_secs = realm.server_presence_offline_threshold_seconds;
function age(timestamp = 0): number { function age(timestamp = 0): number {

View File

@ -468,7 +468,7 @@ function open_edit_form_modal(this: HTMLElement): void {
const $profile_field_form = $("#edit-custom-profile-field-form-" + field_id); const $profile_field_form = $("#edit-custom-profile-field-form-" + field_id);
// If it exceeds or equals the max limit, we are disabling option for display custom // If it exceeds or equals the max limit, we are disabling option for display custom
// profile field on user card and adding tooptip, unless the field is already checked. // profile field on user card and adding tooltip, unless the field is already checked.
if (display_in_profile_summary_fields_limit_reached && !field.display_in_profile_summary) { if (display_in_profile_summary_fields_limit_reached && !field.display_in_profile_summary) {
$profile_field_form $profile_field_form
.find("input[name=display_in_profile_summary]") .find("input[name=display_in_profile_summary]")

View File

@ -129,9 +129,9 @@ def do_update_user_presence(
# sending an immediate presence update via the events system that this user is now online, # sending an immediate presence update via the events system that this user is now online,
# rather than waiting for other clients to poll the presence update. # rather than waiting for other clients to poll the presence update.
# Sending these presence update events adds load to the system, so we only want to do this # Sending these presence update events adds load to the system, so we only want to do this
# if the user has missed a couple regular presence checkins # if the user has missed a couple regular presence check-ins
# (so their state is at least 2 * PRESENCE_PING_INTERVAL_SECS + 10 old), # (so their state is at least 2 * PRESENCE_PING_INTERVAL_SECS + 10 old),
# and also is under the risk of being shown by clients as offline before the next regular presence checkin # and also is under the risk of being shown by clients as offline before the next regular presence check-in
# (so at least `settings.OFFLINE_THRESHOLD_SECS - settings.PRESENCE_PING_INTERVAL_SECS - 10`). # (so at least `settings.OFFLINE_THRESHOLD_SECS - settings.PRESENCE_PING_INTERVAL_SECS - 10`).
# These two values happen to be the same in the default configuration. # These two values happen to be the same in the default configuration.
seconds=settings.OFFLINE_THRESHOLD_SECS - settings.PRESENCE_PING_INTERVAL_SECS - 10 seconds=settings.OFFLINE_THRESHOLD_SECS - settings.PRESENCE_PING_INTERVAL_SECS - 10

View File

@ -2659,7 +2659,7 @@ class AnalyticsBouncerTest(BouncerTestCase):
) )
# Restore the deleted realm to verify that the bouncer correctly handles that # Restore the deleted realm to verify that the bouncer correctly handles that
# by togglin off .realm_locally_deleted. # by toggling off .realm_locally_deleted.
restored_zephyr_realm = do_create_realm("zephyr", "Zephyr") restored_zephyr_realm = do_create_realm("zephyr", "Zephyr")
restored_zephyr_realm.uuid = deleted_realm_uuid restored_zephyr_realm.uuid = deleted_realm_uuid
restored_zephyr_realm.save() restored_zephyr_realm.save()