summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
authorMatthew Jones <mat@matburt.net>2014-06-26 18:18:36 +0200
committerMatthew Jones <mat@matburt.net>2014-06-26 18:18:54 +0200
commit6dbff4e01280fa49a9fd4caeff902aee432f73ae (patch)
tree6859a642a4ab9393fef76db01d8bae5069ab4f62 /setup.cfg
parentfixed jslint messages from earlier commit (diff)
downloadawx-6dbff4e01280fa49a9fd4caeff902aee432f73ae.tar.xz
awx-6dbff4e01280fa49a9fd4caeff902aee432f73ae.zip
Restructure pep8 configuration and document it for what we exclude
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg16
1 files changed, 15 insertions, 1 deletions
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