Ignore upstream Ansible modules in pep8 tests

The 4 modules that bifrost will download from github if needed for older
Ansible versions are maintained by Ansible community and do not confirm
to OpenStack code style guides.

Add them to flake8 ignore list to not spam pep8 test results when running
tests on a live bifrost installation with those modules already downloaded.

This will not affect the gate pep8 job as those modules are missing from
the bifrost code tree anyway.

Change-Id: Ibf5ad902b65195bcc73755112a05332fe8615d9d
This commit is contained in:
Pavlo Shchelokovskyy 2017-02-16 10:20:38 +00:00
parent f8036dcce4
commit c158a837c5

View File

@ -34,4 +34,4 @@ commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenote
[flake8]
show-source = True
ignore = F403,H102,H303
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,os_ironic.py,os_ironic_node.py,os_ironic_inspect.py,os_keystone_service.py