summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-02-20 08:48:55 -0500
committerTim Graham <timograham@gmail.com>2018-02-20 08:48:55 -0500
commit0993aee31d47c977801266a0c22f1c03d6ede084 (patch)
treecea2e7a0dc0a363db371ae217ac018c315854bb4
parent4b8e433e1cacd7405d6ae0a88d1776adc0068f10 (diff)
[2.0.x] Removed blank lines per isort 4.3.0.
-rw-r--r--django/contrib/messages/__init__.py1
-rw-r--r--django/core/management/commands/runserver.py1
-rw-r--r--django/db/models/signals.py1
-rw-r--r--tests/admin_views/tests.py1
-rw-r--r--tests/db_functions/tests.py1
-rw-r--r--tests/messages_tests/urls.py1
-rw-r--r--tests/template_tests/syntax_tests/test_multiline.py1
7 files changed, 0 insertions, 7 deletions
diff --git a/django/contrib/messages/__init__.py b/django/contrib/messages/__init__.py
index a0cb24b2d9..25da09f3bf 100644
--- a/django/contrib/messages/__init__.py
+++ b/django/contrib/messages/__init__.py
@@ -1,5 +1,4 @@
from django.contrib.messages.api import * # NOQA
from django.contrib.messages.constants import * # NOQA
-
default_app_config = 'django.contrib.messages.apps.MessagesConfig'
diff --git a/django/core/management/commands/runserver.py b/django/core/management/commands/runserver.py
index 9a50a1d9ab..033099923d 100644
--- a/django/core/management/commands/runserver.py
+++ b/django/core/management/commands/runserver.py
@@ -12,7 +12,6 @@ from django.core.servers.basehttp import (
)
from django.utils import autoreload
-
naiveip_re = re.compile(r"""^(?:
(?P<addr>
(?P<ipv4>\d{1,3}(?:\.\d{1,3}){3}) | # IPv4 address
diff --git a/django/db/models/signals.py b/django/db/models/signals.py
index dafd49fd05..3b20874148 100644
--- a/django/db/models/signals.py
+++ b/django/db/models/signals.py
@@ -3,7 +3,6 @@ from functools import partial
from django.db.models.utils import make_model_tuple
from django.dispatch import Signal
-
class_prepared = Signal(providing_args=["class"])
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index 7da300645c..3b09093205 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -58,7 +58,6 @@ from .models import (
UnorderedObject, Villain, Vodcast, Whatsit, Widget, Worker, WorkHour,
)
-
ERROR_MESSAGE = "Please enter the correct username and password \
for a staff account. Note that both fields may be case-sensitive."
diff --git a/tests/db_functions/tests.py b/tests/db_functions/tests.py
index 729de126bd..268f821527 100644
--- a/tests/db_functions/tests.py
+++ b/tests/db_functions/tests.py
@@ -14,7 +14,6 @@ from django.utils import timezone
from .models import Article, Author, DecimalModel, Fan
-
lorem_ipsum = """
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua."""
diff --git a/tests/messages_tests/urls.py b/tests/messages_tests/urls.py
index 4005ffac6b..d9a8a59b91 100644
--- a/tests/messages_tests/urls.py
+++ b/tests/messages_tests/urls.py
@@ -9,7 +9,6 @@ from django.urls import reverse
from django.views.decorators.cache import never_cache
from django.views.generic.edit import FormView
-
TEMPLATE = """{% if messages %}
<ul class="messages">
{% for message in messages %}
diff --git a/tests/template_tests/syntax_tests/test_multiline.py b/tests/template_tests/syntax_tests/test_multiline.py
index b2371f7fd1..a95e12986a 100644
--- a/tests/template_tests/syntax_tests/test_multiline.py
+++ b/tests/template_tests/syntax_tests/test_multiline.py
@@ -2,7 +2,6 @@ from django.test import SimpleTestCase
from ..utils import setup
-
multiline_string = """
Hello,
boys.