From c158a837c5520d6c62846de4b5dcda9ea0bff402 Mon Sep 17 00:00:00 2001 From: Pavlo Shchelokovskyy Date: Thu, 16 Feb 2017 10:20:38 +0000 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b205e26e0..237df7c4e 100644 --- a/tox.ini +++ b/tox.ini @@ -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