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:
Anders Kaseorg 2019-08-06 15:30:17 -07:00 committed by Tim Abbott
parent 12f3ed12c4
commit becef760bf
131 changed files with 0 additions and 131 deletions

View File

@ -1,4 +1,3 @@
from datetime import datetime, timedelta
from typing import Any, Dict, List, Mapping, Optional, Type

View File

@ -1,4 +1,3 @@
from datetime import datetime, timedelta
from typing import Any, Dict, List, Optional, Tuple, Type

View File

@ -1,4 +1,3 @@
import itertools
import logging
import re

View File

@ -1,4 +1,3 @@
types {
text/plain txt;

View File

@ -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)))

View File

@ -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.

View File

@ -1,4 +1,3 @@
define service{
use generic-service
host_name nagios

View File

@ -1,4 +1,3 @@
import os
import hashlib
import json

View File

@ -1,4 +1,3 @@
import logging
import os
import shutil

View File

@ -1,4 +1,3 @@
var scroll_bar = (function () {
var exports = {};

View File

@ -1,4 +1,3 @@
.drafts-container {
position: relative;
height: 95%;

View File

@ -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

View File

@ -1,4 +1,3 @@
[settings]
default = documentation_crawler.settings

View File

@ -1,4 +1,3 @@
from typing import List, Tuple, Match
import re

View File

@ -1,4 +1,3 @@
from typing import List, Set, Tuple
import os

View File

@ -1,4 +1,3 @@
from collections import defaultdict
from typing import Callable, DefaultDict, Iterator, List, Optional, Set, Tuple

View File

@ -1,4 +1,3 @@
from typing import Any, Dict, List
from .template_parser import (

View File

@ -1,4 +1,3 @@
import os
import subprocess
import sys

View File

@ -1,4 +1,3 @@
import unittest
import os

View File

@ -1,4 +1,3 @@
import logging
from typing import Any

View File

@ -1,4 +1,3 @@
import django_otp
from two_factor.utils import default_device
from django_otp import user_has_device, _user_is_authenticated

View File

@ -1,4 +1,3 @@
import re
from typing import Any, Dict

View File

@ -1,4 +1,3 @@
from django import forms
from django.conf import settings
from django.contrib.auth import authenticate

View File

@ -1,4 +1,3 @@
from typing import Iterable, List, Optional, Sequence, Union, cast
from django.utils.translation import ugettext as _

View File

@ -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, \

View File

@ -1,4 +1,3 @@
from django.utils.translation import ugettext as _
from typing import Any, Dict, List

View File

@ -1,4 +1,3 @@
from django.conf import settings
from zerver.lib.utils import make_safe_digest

View File

@ -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

View File

@ -1,4 +1,3 @@
import time
from psycopg2.extensions import cursor, connection

View File

@ -1,4 +1,3 @@
import code
import gc
import logging

View File

@ -1,4 +1,3 @@
from typing import Any, Dict, Iterable, List, Optional, Tuple, Union
from confirmation.models import one_click_unsubscribe_link

View File

@ -1,4 +1,3 @@
import os
import re
import ujson

View File

@ -1,4 +1,3 @@
from django.conf import settings
from django.core.mail import EmailMessage
from typing import Any, Mapping, Optional

View File

@ -1,4 +1,3 @@
import time
import logging

View File

@ -1,4 +1,3 @@
from django.conf import settings
import hashlib

View File

@ -1,4 +1,3 @@
from typing import Optional, Set, Tuple
import re

View File

@ -1,4 +1,3 @@
import datetime
import ujson
import zlib

View File

@ -1,4 +1,3 @@
from django.conf import settings
from zerver.lib.actions import \

View File

@ -1,4 +1,3 @@
import cProfile
from functools import wraps

View File

@ -1,4 +1,3 @@
import os
from typing import List, Optional, Tuple

View File

@ -1,4 +1,3 @@
from django.conf import settings
import redis

View File

@ -1,4 +1,3 @@
from django.http import HttpResponse, HttpResponseNotAllowed
import ujson

View File

@ -1,4 +1,3 @@
from functools import wraps
from typing import Any, Callable, Dict

View File

@ -1,4 +1,3 @@
from datetime import timedelta
from django.conf import settings

View File

@ -1,4 +1,3 @@
import logging
from django.conf import settings

View File

@ -1,4 +1,3 @@
from typing import (Dict, List)
from django.db import connection

View File

@ -1,4 +1,3 @@
from typing import Any, Iterable, List, Mapping, Set, Tuple, Optional
from django.utils.translation import ugettext as _

View File

@ -1,4 +1,3 @@
from functools import partial
import random

View File

@ -1,4 +1,3 @@
import logging
import os
import subprocess

View File

@ -1,4 +1,3 @@
from typing import List
import pytz

View File

@ -1,4 +1,3 @@
import sys
import functools

View File

@ -1,4 +1,3 @@
import re
import os
import sourcemap

View File

@ -1,4 +1,3 @@
import argparse
from datetime import datetime
from typing import Any, Optional

View File

@ -1,4 +1,3 @@
from typing import Any
from django.core.management.base import CommandParser

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
import logging
import time
from typing import Any, Callable, Optional

View File

@ -1,4 +1,3 @@
import json
import os
import polib

View File

@ -1,4 +1,3 @@
import argparse
import os
import tempfile

View File

@ -1,4 +1,3 @@
import argparse
import os
import tempfile

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
"""\
Deliver email messages that have been queued by various things
(at this time invitation reminders and day1/day2 followup emails).

View File

@ -1,4 +1,3 @@
import datetime
import time
from typing import Any

View File

@ -1,4 +1,3 @@
"""
Forward messages sent to the configured email gateway to Zulip.

View File

@ -1,4 +1,3 @@
import sys
from argparse import ArgumentParser
from typing import IO, Any

View File

@ -1,4 +1,3 @@
import os
import tempfile
import shutil

View File

@ -1,4 +1,3 @@
import os
import shutil
import subprocess

View File

@ -1,4 +1,3 @@
import glob
import logging
import os

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any, Optional

View File

@ -1,4 +1,3 @@
import logging
from argparse import ArgumentParser
from typing import Any, List, Optional

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any, List

View File

@ -1,4 +1,3 @@
from typing import Any
from django.db import ProgrammingError

View File

@ -1,4 +1,3 @@
import argparse
import os
import subprocess

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any, Iterable, Tuple, Optional

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
import sys
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any, List

View File

@ -1,4 +1,3 @@
"""
Shows backlog count of ScheduledEmail
"""

View File

@ -1,4 +1,3 @@
import logging
import signal
import sys

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
import sys
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
import sys
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from typing import Any
from django.core.management.base import CommandParser

View File

@ -1,4 +1,3 @@
import logging
import sys
from typing import Any, Callable

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from zerver.lib.management import ZulipBaseCommand, CommandError

View File

@ -1,4 +1,3 @@
from argparse import ArgumentParser
from typing import Any

View File

@ -1,4 +1,3 @@
from typing import Any
from django.conf import settings

View File

@ -1,4 +1,3 @@
import os
import email
import ujson

View File

@ -1,4 +1,3 @@
import logging
import sys
from typing import Any, Iterable

View File

@ -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