Skip to content

Commit e98ff27

Browse files
committed
Fix black formatting
1 parent 7b338c4 commit e98ff27

File tree

3 files changed

+31
-11
lines changed

3 files changed

+31
-11
lines changed

gql/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import logging
22

3-
from graphql import (build_ast_schema, build_client_schema,
4-
introspection_query, parse)
3+
from graphql import build_ast_schema, build_client_schema, introspection_query, parse
54
from graphql.validation import validate
65

76
from .transport.local_schema import LocalSchemaTransport

gql/dsl.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
import six
44
from graphql.language import ast
55
from graphql.language.printer import print_ast
6-
from graphql.type import (GraphQLEnumType, GraphQLInputObjectField,
7-
GraphQLInputObjectType, GraphQLList, GraphQLNonNull)
6+
from graphql.type import (
7+
GraphQLEnumType,
8+
GraphQLInputObjectField,
9+
GraphQLInputObjectType,
10+
GraphQLList,
11+
GraphQLNonNull,
12+
)
813
from graphql.utils.ast_from_value import ast_from_value
914

1015
from .utils import to_camel_case

tests/starwars/schema.py

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
1-
from graphql.type import (GraphQLArgument, GraphQLEnumType, GraphQLEnumValue,
2-
GraphQLField, GraphQLInputObjectField,
3-
GraphQLInputObjectType, GraphQLInt,
4-
GraphQLInterfaceType, GraphQLList, GraphQLNonNull,
5-
GraphQLObjectType, GraphQLSchema, GraphQLString)
1+
from graphql.type import (
2+
GraphQLArgument,
3+
GraphQLEnumType,
4+
GraphQLEnumValue,
5+
GraphQLField,
6+
GraphQLInputObjectField,
7+
GraphQLInputObjectType,
8+
GraphQLInt,
9+
GraphQLInterfaceType,
10+
GraphQLList,
11+
GraphQLNonNull,
12+
GraphQLObjectType,
13+
GraphQLSchema,
14+
GraphQLString,
15+
)
616

7-
from .fixtures import (createReview, getCharacters, getDroid, getFriends,
8-
getHero, getHuman)
17+
from .fixtures import (
18+
createReview,
19+
getCharacters,
20+
getDroid,
21+
getFriends,
22+
getHero,
23+
getHuman,
24+
)
925

1026
episodeEnum = GraphQLEnumType(
1127
"Episode",

0 commit comments

Comments
 (0)