summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-14 13:43:40 -0400
committerTim Graham <timograham@gmail.com>2013-10-14 13:43:40 -0400
commit1ac534a92f8cabc209ccabe223344b43bc1b11d8 (patch)
treee2cf9afb561db570d48d0c1aea49fc291f763cb3 /setup.cfg
parentd07d6ae1167f93f2e88b3743c070003a66a31b35 (diff)
Added flake8 info to setup.cfg.
This config allows a clean run of flake8. Some of the ignored codes will be remove over time as we clean things up.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 4c25b840b5..6f3ccc6e53 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,6 +2,10 @@
doc_files = docs extras AUTHORS INSTALL LICENSE README.rst
install-script = scripts/rpm-install.sh
+[flake8]
+exclude=./django/utils/dictconfig.py,./django/contrib/comments/*,./django/utils/unittest.py,./tests/comment_tests/*,./django/test/_doctest.py
+ignore=E123,E124,E125,E126,E127,E128,E225,E226,E241,E251,E302,E501,E121,E122,E201,E202,E203,E221,E227,E231,E261,E301,E303,E502,E701,F401,F403,F841,W601
+
[metadata]
license-file = LICENSE