Skip to content

Commit 5c19652

Browse files
author
Ryan P Kilby
committed
Fix whitespace in imports
1 parent 7b58a2c commit 5c19652

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

rest_framework/templatetags/rest_framework.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from django.utils.encoding import force_text, iri_to_uri
1111
from django.utils.html import escape, format_html, smart_urlquote
1212
from django.utils.safestring import SafeData, mark_safe
13+
1314
from rest_framework.compat import apply_markdown, pygments_highlight
1415
from rest_framework.renderers import HTMLFormRenderer
1516
from rest_framework.utils.urls import replace_query_param

rest_framework/validators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
# Robust filter and exist implementations. Ensures that queryset.exists() for
2020
# an invalid value returns `False`, rather than raising an error.
2121
# Refs https://github.com/encode/django-rest-framework/issues/3381
22-
2322
def qs_exists(queryset):
2423
try:
2524
return queryset.exists()

tests/importable/test_installed.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from django.conf import settings
2+
23
from tests import importable
34

45

tests/test_description.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
}]
3434
```"""
3535

36+
3637
# If markdown is installed we also test it's working
3738
# (and that our wrapped forces '=' to h2 and '-' to h3)
38-
3939
MARKED_DOWN_HILITE = """
4040
<div class="highlight"><pre><span></span><span \
4141
class="p">[{</span><br /> <span class="nt">&quot;alpha&quot;</span><span\

tests/test_one_to_one_with_inheritance.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111

1212
# Regression test for #4290
13-
1413
class ChildAssociatedModel(RESTFrameworkModel):
1514
child_model = models.OneToOneField(ChildModel, on_delete=models.CASCADE)
1615
child_name = models.CharField(max_length=100)

0 commit comments

Comments
 (0)