Merge pull request #1915 from PeterJCLaw/update-flake8

Update flake8 and fix issue found
This commit is contained in:
Dave Halter
2023-02-13 19:49:36 +00:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

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:

View File

@@ -44,7 +44,7 @@ setup(name='jedi',
'attrs',
],
'qa': [
'flake8==3.8.3',
'flake8==5.0.4',
'mypy==0.782',
],
'docs': [