From d01331db0626b905718fd8800c89923ee7d6fa43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Mon, 11 Sep 2023 12:00:29 +0200 Subject: [PATCH] Fix PEP8 and docs PEP8 allowlist_externals + yaml dependency * whitelist_externals is deprecated. * PyYAML required for successfull environment generator run. Add entries requirements for doc. Change-Id: I920d245a76aeb762fb1ad9317d42156de028104f --- doc/requirements.txt | 5 +++++ tox.ini | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 500cb6c..4c87b0f 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1,8 @@ sphinx!=1.6.6,>=1.6.2,<2.0.0;python_version=='2.7' # BSD sphinx!=1.6.6,>=1.6.2;python_version>='3.4' # BSD sphinx_rtd_theme +PyYAML +os_client_config +python-heatclient +python-novaclient +pyghmi diff --git a/tox.ini b/tox.ini index f9fb916..7e68f19 100644 --- a/tox.ini +++ b/tox.ini @@ -27,8 +27,10 @@ deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up commands = sphinx-build -W -b html doc/source doc/build/html [testenv:pep8] -deps = flake8 -whitelist_externals = bash +deps = + flake8 + PyYAML +allowlist_externals = bash commands = flake8 bash -c bin/check-up-to-date.sh