Skip to content

Commit e3fe285

Browse files
committed
Run isort and add black compatible config
1 parent 316b4a5 commit e3fe285

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

graphene_django/filter/tests/test_fields.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
from datetime import datetime
2+
from textwrap import dedent
23

34
import pytest
5+
from django.db.models import TextField, Value
6+
from django.db.models.functions import Concat
47

5-
from graphene import Field, ObjectType, Schema, Argument, Float, Boolean, String
8+
from graphene import Argument, Boolean, Field, Float, ObjectType, Schema, String
69
from graphene.relay import Node
710
from graphene_django import DjangoObjectType
811
from graphene_django.forms import GlobalIDFormField, GlobalIDMultipleChoiceField
912
from graphene_django.tests.models import Article, Pet, Reporter
1013
from graphene_django.utils import DJANGO_FILTER_INSTALLED
1114

12-
# for annotation test
13-
from django.db.models import TextField, Value
14-
from django.db.models.functions import Concat
15-
1615
pytestmark = []
1716

1817
if DJANGO_FILTER_INSTALLED:

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@ omit = */tests/*
1313

1414
[isort]
1515
known_first_party=graphene,graphene_django
16+
multi_line_output=3
17+
include_trailing_comma=True
18+
force_grid_wrap=0
19+
use_parentheses=True
20+
line_length=88

0 commit comments

Comments
 (0)