Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 53a2b30

Browse files
committed
fix pep8 remarks
1 parent 77901db commit 53a2b30

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

numba_typing/arguments_annotation_default_func_class.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,20 @@
55
def get_arguments_annotation_default_func(method):
66
sig = signature(method)
77
argspec = getfullargspec(method)
8-
arg_index=0
8+
arg_index = 0
99
annotations = {}
1010
defaults = {}
1111

1212
for arg in argspec.args:
1313
if (sig.parameters[arg].annotation == sig.empty):
1414
raise SyntaxError
1515
else:
16-
annotations[arg] = sig.parameters[arg].annotation
16+
annotations[arg] = sig.parameters[arg].annotation
1717
for arg in argspec.args:
1818
if (sig.parameters[arg].default != sig.empty):
19-
defaults[arg] = sig.parameters[arg].default
19+
defaults[arg] = sig.parameters[arg].default
2020

2121
return annotations, defaults
22-
2322

2423
def get_arguments_annotation_class(cls):
25-
return get_type_hints(cls)
26-
24+
return get_type_hints(cls)

0 commit comments

Comments
 (0)