[1.11.x] Removed blank lines per isort 4.3.0.
This commit is contained in:
parent
4b65fc807a
commit
d5da552d92
@ -1,5 +1,4 @@
|
|||||||
from django.contrib.messages.api import * # NOQA
|
from django.contrib.messages.api import * # NOQA
|
||||||
from django.contrib.messages.constants import * # NOQA
|
from django.contrib.messages.constants import * # NOQA
|
||||||
|
|
||||||
|
|
||||||
default_app_config = 'django.contrib.messages.apps.MessagesConfig'
|
default_app_config = 'django.contrib.messages.apps.MessagesConfig'
|
||||||
|
@ -15,7 +15,6 @@ from django.core.servers.basehttp import (
|
|||||||
from django.utils import autoreload, six
|
from django.utils import autoreload, six
|
||||||
from django.utils.encoding import force_text, get_system_encoding
|
from django.utils.encoding import force_text, get_system_encoding
|
||||||
|
|
||||||
|
|
||||||
naiveip_re = re.compile(r"""^(?:
|
naiveip_re = re.compile(r"""^(?:
|
||||||
(?P<addr>
|
(?P<addr>
|
||||||
(?P<ipv4>\d{1,3}(?:\.\d{1,3}){3}) | # IPv4 address
|
(?P<ipv4>\d{1,3}(?:\.\d{1,3}){3}) | # IPv4 address
|
||||||
|
@ -6,7 +6,6 @@ from django.dispatch import Signal
|
|||||||
from django.utils import six
|
from django.utils import six
|
||||||
from django.utils.deprecation import RemovedInDjango20Warning
|
from django.utils.deprecation import RemovedInDjango20Warning
|
||||||
|
|
||||||
|
|
||||||
class_prepared = Signal(providing_args=["class"])
|
class_prepared = Signal(providing_args=["class"])
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,7 +66,6 @@ from .models import (
|
|||||||
Worker, WorkHour,
|
Worker, WorkHour,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
ERROR_MESSAGE = "Please enter the correct username and password \
|
ERROR_MESSAGE = "Please enter the correct username and password \
|
||||||
for a staff account. Note that both fields may be case-sensitive."
|
for a staff account. Note that both fields may be case-sensitive."
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@ from django.utils import timezone
|
|||||||
|
|
||||||
from .models import Article, Author, DecimalModel, Fan
|
from .models import Article, Author, DecimalModel, Fan
|
||||||
|
|
||||||
|
|
||||||
lorem_ipsum = """
|
lorem_ipsum = """
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
|
||||||
tempor incididunt ut labore et dolore magna aliqua."""
|
tempor incididunt ut labore et dolore magna aliqua."""
|
||||||
|
@ -9,7 +9,6 @@ from django.urls import reverse
|
|||||||
from django.views.decorators.cache import never_cache
|
from django.views.decorators.cache import never_cache
|
||||||
from django.views.generic.edit import FormView
|
from django.views.generic.edit import FormView
|
||||||
|
|
||||||
|
|
||||||
TEMPLATE = """{% if messages %}
|
TEMPLATE = """{% if messages %}
|
||||||
<ul class="messages">
|
<ul class="messages">
|
||||||
{% for message in messages %}
|
{% for message in messages %}
|
||||||
|
@ -2,7 +2,6 @@ from django.test import SimpleTestCase
|
|||||||
|
|
||||||
from ..utils import setup
|
from ..utils import setup
|
||||||
|
|
||||||
|
|
||||||
multiline_string = """
|
multiline_string = """
|
||||||
Hello,
|
Hello,
|
||||||
boys.
|
boys.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user