From 6dbff4e01280fa49a9fd4caeff902aee432f73ae Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Thu, 26 Jun 2014 12:18:36 -0400 Subject: [PATCH] Restructure pep8 configuration and document it for what we exclude --- setup.cfg | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 8afe3f6cc0..218a08e7a6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,17 @@ +# E201 - Whitespace after '(' +# E203 - Whitespace before ":" +# E221 - Multiple spaces after operator +# E225 - Missing whitespace around operator +# E231 - Missing whitespace after ',' +# E241 - Multiple spaces after ',' +# E251 - Unexpected spaces around keyword / parameter equals +# E261 - At least two spaces before inline comment +# E302 - Expected 2 blank lines found 0 +# E303 - Too many blank lines +# E501 - Line too long +# W291 - Trailing whitespace +# W391 - Blank line at end of file +# W293 - Blank line contains whitespace [pep8] -ignore=E501,E221,W291,W391,E302,E251,E203,W293,E231,E303,E201,E225,E261,E241 +ignore=E201,E203,E221,E225,E231,E241,E251,E261,E302,E303,E501,W291,W391,W293 exclude=awx/lib/site-packages