changeset 2029:a6410877339a

flake8: document all the exception we added
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 02 Mar 2017 19:25:54 +0100
parents d7f31181ef90
children 3e8fcf47fb1e
files setup.cfg
diffstat 1 files changed, 23 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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