Use extend-ignore in preference to ignore

The behavior of flake has changed so that ignore overwrites the
default list. This uses the new extend-ignore option to emulate
the old behavior.

See: https://gitlab.com/pycqa/flake8/issues/466 for more details.

TrivialFix

Change-Id: Ib96a176f6cbbf485ad5b0ff2ab90e3bb8bc99abd
This commit is contained in:
Will Szumski 2018-11-01 11:42:40 +00:00
parent 207bcab1cf
commit 51d18cf9f3

View File

@ -64,6 +64,6 @@ commands = bash -c "ansible-lint \
# E123, E125 skipped as they are invalid PEP-8. # E123, E125 skipped as they are invalid PEP-8.
show-source = True show-source = True
ignore = E123,E125 extend-ignore = E123,E125
builtins = _ builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build