Added the default ignore list of flake8

This fixes the W503 warnings and possibly other, unwanted errors and
warnings in the future.
This commit is contained in:
zigarrre 2017-09-12 18:19:18 +02:00
parent edd2d42cd0
commit e30513db9b

View file

@ -5,8 +5,8 @@ logging-clear-handlers=1
[flake8]
min-version=2.7
accept-encodings=utf-8
# Default pyflakes errors we ignore:
# - E241: missing whitespace after ',' (used to align visually)
# Errors we ignore:
# - E121,E123,E126,E226,E24,E704,W503,W504 flake8 default ignores (have to be listed here to not be overridden)
# - E221: multiple spaces before operator (used to align visually)
# - E731: do not assign a lambda expression, use a def
# - F405 object may be undefined, or defined from star imports
@ -19,4 +19,4 @@ accept-encodings=utf-8
# - FI53: `__future__` import "print_function" present
# - FI14: `__future__` import "unicode_literals" missing
# - FI15: `__future__` import "generator_stop" missing
ignore=E305,C901,E241,E221,E731,F405,FI50,FI51,FI12,FI53,FI14,FI15
ignore=E121,E123,E126,E226,E24,E704,W503,W504,E305,C901,E221,E731,F405,FI50,FI51,FI12,FI53,FI14,FI15