# HG changeset patch # User Pierre-Yves David # Date 1488479154 -3600 # Node ID a6410877339afd34338f8df8748c04ada88a4746 # Parent d7f31181ef9021e99d65d548b4138bbf08233078 flake8: document all the exception we added diff -r d7f31181ef90 -r a6410877339a setup.cfg --- a/setup.cfg Thu Mar 02 18:28:14 2017 +0100 +++ b/setup.cfg Thu Mar 02 19:25:54 2017 +0100 @@ -1,3 +1,25 @@ [flake8] -ignore = E261, E266, E302, E305, E129, E731, E124, E501, E123, W503, N801 +ignore = + #closing bracket does not match indentation of opening bracket's line + E123, + # closing bracket does not match visual indentation + E124, + # visually indented line with same indent as next logical line + E129, + # at least two spaces before inline comment + E261, + # too many leading '#' for block comment + E266, + # expected 2 blank lines, found 0 + E302, + # expected 2 blank lines after end of function or class + E305, + # line too long (82 > 79 characters) + E501, + # do not assign a lambda expression, use a def + E731, + # class names should use CapWords convention + N801, + # line break occurred before a binary operator + W503