Skip to content

Commit 844e88e

Browse files
committed
Imports are (now) correctly sorted as per isort.
1 parent 151bdb9 commit 844e88e

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

example/factories.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@
22

33
import factory
44
from faker import Factory as FakerFactory
5+
56
from example.models import (
6-
Blog, Author, AuthorBio, Entry, Comment, TaggedItem, ArtProject, ResearchProject, Company
7+
ArtProject,
8+
Author,
9+
AuthorBio,
10+
Blog,
11+
Comment,
12+
Company,
13+
Entry,
14+
ResearchProject,
15+
TaggedItem
716
)
817

918
faker = FakerFactory.create()
@@ -64,7 +73,6 @@ class Meta:
6473

6574

6675
class TaggedItemFactory(factory.django.DjangoModelFactory):
67-
6876
class Meta:
6977
model = TaggedItem
7078

example/tests/test_views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from django.utils import timezone
55
from rest_framework.reverse import reverse
66
from rest_framework.test import APITestCase, force_authenticate
7+
78
from rest_framework_json_api.utils import format_resource_type
89

910
from . import TestBase

example/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import rest_framework_json_api.parsers
55
import rest_framework_json_api.renderers
66
from rest_framework import exceptions
7+
78
from rest_framework_json_api.utils import format_drf_errors
89
from rest_framework_json_api.views import ModelViewSet, RelationshipView
910

rest_framework_json_api/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from rest_framework.response import Response
99
from rest_framework.reverse import reverse
1010
from rest_framework.serializers import Serializer
11+
1112
from rest_framework_json_api.exceptions import Conflict
1213
from rest_framework_json_api.serializers import ResourceIdentifierObjectSerializer
1314
from rest_framework_json_api.utils import (

0 commit comments

Comments
 (0)