diff --git a/setup.cfg b/setup.cfg index 4c25b840b5b..6f3ccc6e53b 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