Update flake8 and fix issue found

This commit is contained in:
Peter Law committed 2023-02-13 19:15:35 +00:00
1 parent b0025ee6ba
commit 36a4b7d48c
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -329,8 +329,8 @@ def infer_atom(context, atom):
c = atom.children
# Parentheses without commas are not tuples.
if c[0] == '(' and not len(c) == 2 \
and not(c[1].type == 'testlist_comp'
and len(c[1].children) > 1):
and not (c[1].type == 'testlist_comp'
and len(c[1].children) > 1):
return context.infer_node(c[1])
try: