Skip to content

Commit

Permalink
Added the default ignore list of flake8
Browse files Browse the repository at this point in the history
This fixes the W503 warnings and possibly other, unwanted errors and
warnings in the future.
  • Loading branch information
zigarrre committed Sep 12, 2017
1 parent edd2d42 commit e30513d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit e30513d

Please sign in to comment.