Skip to content

Commit 7eb3ab5

Browse files
committed
Fixed Flake8 issues
1 parent 4585469 commit 7eb3ab5

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

graphene/types/inputobjecttype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# For static type checking with Mypy
1010
MYPY = False
1111
if MYPY:
12-
from typing import Dict, Callable
12+
from typing import Dict, Callable # NOQA
1313

1414

1515
class InputObjectTypeOptions(BaseOptions):

graphene/types/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# For static type checking with Mypy
88
MYPY = False
99
if MYPY:
10-
from typing import Dict
10+
from typing import Dict # NOQA
1111

1212

1313
class InterfaceOptions(BaseOptions):

graphene/types/mutation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# For static type checking with Mypy
1212
MYPY = False
1313
if MYPY:
14-
from .argument import Argument
15-
from typing import Dict, Type, Callable
14+
from .argument import Argument # NOQA
15+
from typing import Dict, Type, Callable # NOQA
1616

1717

1818
class MutationOptions(ObjectTypeOptions):

graphene/types/objecttype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# For static type checking with Mypy
99
MYPY = False
1010
if MYPY:
11-
from typing import Dict, Iterable, Type
11+
from typing import Dict, Iterable, Type # NOQA
1212

1313

1414
class ObjectTypeOptions(BaseOptions):

graphene/types/union.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# For static type checking with Mypy
66
MYPY = False
77
if MYPY:
8-
from .objecttype import ObjectType
9-
from typing import Iterable, Type
8+
from .objecttype import ObjectType # NOQA
9+
from typing import Iterable, Type # NOQA
1010

1111

1212
class UnionOptions(BaseOptions):
@@ -42,6 +42,6 @@ def get_type(cls):
4242

4343
@classmethod
4444
def resolve_type(cls, instance, info):
45-
from .objecttype import ObjectType
45+
from .objecttype import ObjectType # NOQA
4646
if isinstance(instance, ObjectType):
4747
return type(instance)

0 commit comments

Comments
 (0)