mirror of https://github.com/zulip/zulip.git
cleanup: Delete leading newlines.
Previous cleanups (mostly the removals of Python __future__ imports) were done in a way that introduced leading newlines. Delete leading newlines from all files, except static/assets/zulip-emoji/NOTICE, which is a verbatim copy of the Apache 2.0 license. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
12f3ed12c4
commit
becef760bf
|
@ -1,4 +1,3 @@
|
|||
|
||||
from datetime import datetime, timedelta
|
||||
from typing import Any, Dict, List, Mapping, Optional, Type
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from datetime import datetime, timedelta
|
||||
from typing import Any, Dict, List, Optional, Tuple, Type
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import itertools
|
||||
import logging
|
||||
import re
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
types {
|
||||
text/plain txt;
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
; Move automatic backups into a directory off to the side
|
||||
(defvar backup-dir "~/.emacs-backups/")
|
||||
(setq backup-directory-alist (list (cons "." backup-dir)))
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
The programs included with the Debian GNU/Linux system are free software;
|
||||
the exact distribution terms for each program are described in the
|
||||
individual files in /usr/share/doc/*/copyright.
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name nagios
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import os
|
||||
import hashlib
|
||||
import json
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
import os
|
||||
import shutil
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
var scroll_bar = (function () {
|
||||
|
||||
var exports = {};
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
.drafts-container {
|
||||
position: relative;
|
||||
height: 95%;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
There are a lot of team chat apps. So why did we build Zulip?
|
||||
|
||||
We talk about Slack in the discussion below, but the problems apply equally
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
[settings]
|
||||
default = documentation_crawler.settings
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import List, Tuple, Match
|
||||
import re
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import List, Set, Tuple
|
||||
|
||||
import os
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from collections import defaultdict
|
||||
|
||||
from typing import Callable, DefaultDict, Iterator, List, Optional, Set, Tuple
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Any, Dict, List
|
||||
|
||||
from .template_parser import (
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import unittest
|
||||
import os
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import django_otp
|
||||
from two_factor.utils import default_device
|
||||
from django_otp import user_has_device, _user_is_authenticated
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import re
|
||||
from typing import Any, Dict
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django import forms
|
||||
from django.conf import settings
|
||||
from django.contrib.auth import authenticate
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Iterable, List, Optional, Sequence, Union, cast
|
||||
|
||||
from django.utils.translation import ugettext as _
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.db.models import Q
|
||||
from zerver.models import UserProfile, Realm
|
||||
from zerver.lib.cache import cache_with_key, realm_alert_words_cache_key, \
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.utils.translation import ugettext as _
|
||||
from typing import Any, Dict, List
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.conf import settings
|
||||
|
||||
from zerver.lib.utils import make_safe_digest
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.contrib.auth.models import UserManager
|
||||
from django.utils.timezone import now as timezone_now
|
||||
from zerver.models import UserProfile, Recipient, Subscription, Realm, Stream
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import time
|
||||
from psycopg2.extensions import cursor, connection
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import code
|
||||
import gc
|
||||
import logging
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Any, Dict, Iterable, List, Optional, Tuple, Union
|
||||
|
||||
from confirmation.models import one_click_unsubscribe_link
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import os
|
||||
import re
|
||||
import ujson
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.conf import settings
|
||||
from django.core.mail import EmailMessage
|
||||
from typing import Any, Mapping, Optional
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import time
|
||||
import logging
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.conf import settings
|
||||
|
||||
import hashlib
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Optional, Set, Tuple
|
||||
|
||||
import re
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import datetime
|
||||
import ujson
|
||||
import zlib
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.conf import settings
|
||||
|
||||
from zerver.lib.actions import \
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import cProfile
|
||||
|
||||
from functools import wraps
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import os
|
||||
|
||||
from typing import List, Optional, Tuple
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.conf import settings
|
||||
|
||||
import redis
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from django.http import HttpResponse, HttpResponseNotAllowed
|
||||
import ujson
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from functools import wraps
|
||||
from typing import Any, Callable, Dict
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from datetime import timedelta
|
||||
|
||||
from django.conf import settings
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
|
||||
from django.conf import settings
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import (Dict, List)
|
||||
|
||||
from django.db import connection
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Any, Iterable, List, Mapping, Set, Tuple, Optional
|
||||
|
||||
from django.utils.translation import ugettext as _
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from functools import partial
|
||||
import random
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
import os
|
||||
import subprocess
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import List
|
||||
|
||||
import pytz
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import sys
|
||||
import functools
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import re
|
||||
import os
|
||||
import sourcemap
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import argparse
|
||||
from datetime import datetime
|
||||
from typing import Any, Optional
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Any
|
||||
|
||||
from django.core.management.base import CommandParser
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
import time
|
||||
from typing import Any, Callable, Optional
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import json
|
||||
import os
|
||||
import polib
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import argparse
|
||||
import os
|
||||
import tempfile
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import argparse
|
||||
import os
|
||||
import tempfile
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
"""\
|
||||
Deliver email messages that have been queued by various things
|
||||
(at this time invitation reminders and day1/day2 followup emails).
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import datetime
|
||||
import time
|
||||
from typing import Any
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
"""
|
||||
Forward messages sent to the configured email gateway to Zulip.
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import sys
|
||||
from argparse import ArgumentParser
|
||||
from typing import IO, Any
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import os
|
||||
import tempfile
|
||||
import shutil
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import os
|
||||
import shutil
|
||||
import subprocess
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import glob
|
||||
import logging
|
||||
import os
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any, Optional
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any, List, Optional
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any, List
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Any
|
||||
|
||||
from django.db import ProgrammingError
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import argparse
|
||||
import os
|
||||
import subprocess
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any, Iterable, Tuple, Optional
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import sys
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any, List
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
"""
|
||||
Shows backlog count of ScheduledEmail
|
||||
"""
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
import signal
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import sys
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import sys
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Any
|
||||
|
||||
from django.core.management.base import CommandParser
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
import sys
|
||||
from typing import Any, Callable
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
|
||||
from zerver.lib.management import ZulipBaseCommand, CommandError
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from typing import Any
|
||||
|
||||
from django.conf import settings
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import os
|
||||
import email
|
||||
import ujson
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import logging
|
||||
import sys
|
||||
from typing import Any, Iterable
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
from argparse import ArgumentParser
|
||||
from typing import Any, Dict, List, Set
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue