Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ilevkivskyi authored Apr 27, 2023
1 parent 5923a4f commit 8c65a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com2ann.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def split_function_comment(comment: str,
arg_list = arg_list.strip()
ret = ret.strip()

if not(arg_list[0] == '(' and arg_list[-1] == ')'):
if not (arg_list[0] == '(' and arg_list[-1] == ')'):
if not silent:
print('Invalid function type comment:', comment,
file=sys.stderr)
Expand Down

0 comments on commit 8c65a67

Please sign in to comment.