Implement E501 flake8 check with longer line limit

The max-line-length is being set at a greater width in order to accommodate
jinja templating in python files, especially in the shebang.

It is better to have a longer line length limit than to ignore the check
entirely.

Change-Id: I6daa58ff18a29cc378b9cab8d240f397be9aff8b
This commit is contained in:
Jesse Pretorius 2016-03-02 10:07:57 +00:00
parent b58adf43c0
commit 4e0b39851e

View File

@ -63,10 +63,10 @@ commands =
# F403 'from ansible.module_utils.basic import *' used;
# unable to detect undefined names
# H303 No wildcard (*) import.
# E501: Line longer than 79 columns (as many scripts use jinja
# templating, this is very difficult)
ignore=F403,H303,E501
ignore=F403,H303
# The max-line-length is being set at a greater width in order to accommodate
# jinja templating in python files, especially in the shebang.
max-line-length = 120
[testenv:bashate]
commands =