From 1ac534a92f8cabc209ccabe223344b43bc1b11d8 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 14 Oct 2013 13:43:40 -0400 Subject: [PATCH] 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. --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) 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