File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 9
9
# For static type checking with Mypy
10
10
MYPY = False
11
11
if MYPY :
12
- from typing import Dict , Callable
12
+ from typing import Dict , Callable # NOQA
13
13
14
14
15
15
class InputObjectTypeOptions (BaseOptions ):
Original file line number Diff line number Diff line change 7
7
# For static type checking with Mypy
8
8
MYPY = False
9
9
if MYPY :
10
- from typing import Dict
10
+ from typing import Dict # NOQA
11
11
12
12
13
13
class InterfaceOptions (BaseOptions ):
Original file line number Diff line number Diff line change 11
11
# For static type checking with Mypy
12
12
MYPY = False
13
13
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
16
16
17
17
18
18
class MutationOptions (ObjectTypeOptions ):
Original file line number Diff line number Diff line change 8
8
# For static type checking with Mypy
9
9
MYPY = False
10
10
if MYPY :
11
- from typing import Dict , Iterable , Type
11
+ from typing import Dict , Iterable , Type # NOQA
12
12
13
13
14
14
class ObjectTypeOptions (BaseOptions ):
Original file line number Diff line number Diff line change 5
5
# For static type checking with Mypy
6
6
MYPY = False
7
7
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
10
10
11
11
12
12
class UnionOptions (BaseOptions ):
@@ -42,6 +42,6 @@ def get_type(cls):
42
42
43
43
@classmethod
44
44
def resolve_type (cls , instance , info ):
45
- from .objecttype import ObjectType
45
+ from .objecttype import ObjectType # NOQA
46
46
if isinstance (instance , ObjectType ):
47
47
return type (instance )
You can’t perform that action at this time.
0 commit comments