diff --git a/setup.cfg b/setup.cfg index 433dd204a0..0084e9162a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,11 @@ [bdist_wheel] universal = 1 +[flake8] +ignore = E501,E303 +exclude = wagtail/project_template/* +max-line-length = 120 + [isort] line_length=100 multi_line_output=4 diff --git a/tox.ini b/tox.ini index 640ce59cc2..49293a7c42 100644 --- a/tox.ini +++ b/tox.ini @@ -6,11 +6,6 @@ envlist = py{27,33,34,35}-dj{18,19}-{sqlite,postgres,mysql}-{elasticsearch,noela py{27,34,35}-dj110-{sqlite,postgres,mysql}-{elasticsearch,noelasticsearch}, flake8 -[flake8] -ignore = E501,E303 -exclude = wagtail/project_template/* -max-line-length = 120 - [testenv] install_command = pip install -e ".[testing]" -U {opts} {packages} commands =