Skip to content

Commit 9a31ddb

Browse files
committed
flake8/isort
1 parent d25b8fd commit 9a31ddb

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

Diff for: rest_framework/compat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def md_filter_add_syntax_highlight(md):
250250
try:
251251
from django.urls import include, path, re_path, register_converter # noqa
252252
except ImportError:
253-
from django.conf.urls import include, url # noqa
253+
from django.conf.urls import include, url # noqa
254254
path = None
255255
register_converter = None
256256
re_path = url

Diff for: rest_framework/filters.py

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from django.utils.translation import ugettext_lazy as _
1818

1919
from rest_framework.compat import coreapi, distinct, guardian, typesys
20-
2120
from rest_framework.settings import api_settings
2221

2322

Diff for: rest_framework/schemas/generators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from rest_framework import exceptions
1818
from rest_framework.compat import (
19-
URLPattern, URLResolver, coreapi, get_original_route, typesys
19+
URLPattern, URLResolver, coreapi, get_original_route
2020
)
2121
from rest_framework.request import clone_request
2222
from rest_framework.settings import api_settings

Diff for: rest_framework/templatetags/rest_framework.py

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def with_location(fields, location):
4949
]
5050

5151

52-
5352
# TOOD: Where to pull these helpers?
5453
def render_to_form(schema):
5554
assert False, "Can't rely on coreschema encodings here."

Diff for: tests/test_schemas.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from rest_framework import (
1010
filters, generics, pagination, permissions, serializers
1111
)
12-
from rest_framework.compat import coreapi, typesys, get_regex_pattern, path
12+
from rest_framework.compat import coreapi, get_regex_pattern, path, typesys
1313
from rest_framework.decorators import action, api_view, schema
1414
from rest_framework.request import Request
1515
from rest_framework.routers import DefaultRouter, SimpleRouter

0 commit comments

Comments
 (0)