Enable flake8 E226

This is the rule that prohibits `1+2` in favor of `1 + 2`. I didn't
realize it was disabled by default!
This commit is contained in:
Adrian Sampson 2018-08-13 10:37:45 -04:00
parent 2d2428fa05
commit 966108b72c

View file

@ -6,7 +6,7 @@ logging-clear-handlers=1
min-version=2.7
accept-encodings=utf-8
# Errors we ignore:
# - E121,E123,E126,E226,E24,E704,W503,W504 flake8 default ignores (have to be listed here to not be overridden)
# - E121,E123,E126,E24,E704,W503,W504 flake8 default ignores, excluding E226 (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
@ -20,4 +20,4 @@ accept-encodings=utf-8
# - FI14: `__future__` import "unicode_literals" missing
# - FI15: `__future__` import "generator_stop" missing
# - E741: ambiguous variable name
ignore=E121,E123,E126,E226,E24,E704,W503,W504,E305,C901,E221,E731,F405,FI50,FI51,FI12,FI53,FI14,FI15,E741
ignore=E121,E123,E126,E24,E704,W503,W504,E305,C901,E221,E731,F405,FI50,FI51,FI12,FI53,FI14,FI15,E741