diff --git a/.flake8 b/.flake8 index 33d5260fb67..280d141fb5d 100644 --- a/.flake8 +++ b/.flake8 @@ -1,4 +1,14 @@ [flake8] max-line-length = 120 -ignore=E127, E128, E131, E731, E722, E501, F401, F841, F722 , I202 +extend-ignore = + I202, # Additional newline in a group of imports + E127, # continuation line over-indented for visual indent + E128, # continuation line under-indented for visual indent + E131, # continuation line unaligned for hanging indent + F722, # syntax error in forward annotation '20s' + E731, # do not assign a lambda expression, use a def + F401, # Pylint-checked, module imported but unused + F841, # Pylint-checked, local variable is assigned to but never used + E722, # Pylint-checked, do not use bare 'except' + E501 # Pylint-checked, line too long import-order-style=pycharm