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
This commit is contained in:
Harald Jensås 2023-09-11 12:00:29 +02:00
parent 31896d86b8
commit d01331db06
No known key found for this signature in database
GPG Key ID: 693852E00DCEA408
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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