mirror of https://github.com/django/django.git
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:
parent
d07d6ae116
commit
1ac534a92f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue