Patchwork [01,of,12,topics] flake8: add file for rules to ignore

mail settings
Submitter Sean Farley
Date Aug. 31, 2016, 3:58 a.m.
Message ID <103df0c9da1af2394315.1472615887@laptop.local>
Download mbox | patch
Permalink /patch/16504/
State Accepted
Headers show


Sean Farley - Aug. 31, 2016, 3:58 a.m.
# HG changeset patch
# User Sean Farley <>
# Date 1463361796 10800
#      Sun May 15 22:23:16 2016 -0300
# Node ID 103df0c9da1af239431530cd44eec1826d411f0a
# Parent  c413e7c96265ef8e247cdac002d90e0113444994
# EXP-Topic flake8
flake8: add file for rules to ignore

This will help prevent users that have an editor with flake8
capabilities from fixing linter errors for rules that are not wanted by
the project.

Initially, this ignore list includes everything in the project that
violates pep8. I'll try to ween this list down to something a little
more manageable.


diff --git a/setup.cfg b/setup.cfg
new file mode 100644
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@ 
+ignore = E261, E266, E302, E129, E731, E124, E713, E301, E501, E111, E123, E222, W503, W391, E127