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.
This commit is contained in:
Tim Graham 2013-10-14 13:43:40 -04:00
parent d07d6ae116
commit 1ac534a92f
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
doc_files = docs extras AUTHORS INSTALL LICENSE README.rst doc_files = docs extras AUTHORS INSTALL LICENSE README.rst
install-script = scripts/rpm-install.sh 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] [metadata]
license-file = LICENSE license-file = LICENSE