diff --git a/analytics/management/commands/update_analytics_counts.py b/analytics/management/commands/update_analytics_counts.py index 0cbd22857d..70b86369e0 100644 --- a/analytics/management/commands/update_analytics_counts.py +++ b/analytics/management/commands/update_analytics_counts.py @@ -23,7 +23,7 @@ class Command(BaseCommand): def add_arguments(self, parser: ArgumentParser) -> None: parser.add_argument('--time', '-t', - help='Update stat tables from current state to' + help='Update stat tables from current state to ' '--time. Defaults to the current time.', default=timezone_now().isoformat()) parser.add_argument('--utc', diff --git a/zerver/middleware.py b/zerver/middleware.py index 11d65b7ffc..9fc76c4697 100644 --- a/zerver/middleware.py +++ b/zerver/middleware.py @@ -100,7 +100,7 @@ def is_slow_query(time_delta: float, path: str) -> bool: return True statsd_blacklisted_requests = [ - 'do_confirm', 'signup_send_confirm', 'new_realm_send_confirm,' + 'do_confirm', 'signup_send_confirm', 'new_realm_send_confirm', 'eventslast_event_id', 'webreq.content', 'avatar', 'user_uploads', 'password.reset', 'static', 'json.bots', 'json.users', 'json.streams', 'accounts.unsubscribe', 'apple-touch-icon', 'emoji', 'json.bots', diff --git a/zerver/webhooks/pingdom/view.py b/zerver/webhooks/pingdom/view.py index 8a4f566805..7482ff1b57 100644 --- a/zerver/webhooks/pingdom/view.py +++ b/zerver/webhooks/pingdom/view.py @@ -25,7 +25,7 @@ DESC_TEMPLATE = """ SUPPORTED_CHECK_TYPES = ( 'HTTP', - 'HTTP_CUSTOM' + 'HTTP_CUSTOM', 'HTTPS', 'SMTP', 'POP3',