9ef066dbb9
The projects.yaml lists all of the "official" StarlingX projects (the ones actually owned by StarlingX and not upstream forks). It is in YAML format to be machine-readable and useful for a number of tools. The first such use is to generate project-specific pages in the governance documentation listing the projects, tech leads and project leads. The current content is basically taken from the existing wiki pages and is lacking in certain areas. Please review it carefully. projects.py is based on the OpenStack governance teams.py. Introduce hacking and switch to flake8 for Python linting, and fix the pep8 errors in members.py. Change-Id: I514de8d574df8e60bb488974f2796e2c41010363 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
42 lines
1.0 KiB
INI
42 lines
1.0 KiB
INI
[tox]
|
|
envlist = docs,linters
|
|
minversion = 2.3
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
OS_STDOUT_CAPTURE=1
|
|
OS_STDERR_CAPTURE=1
|
|
OS_TEST_TIMEOUT=60
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:docs]
|
|
basepython = python3
|
|
deps =
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
|
-r{toxinidir}/doc/requirements.txt
|
|
commands =
|
|
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
|
|
|
[testenv:linters]
|
|
basepython = python3
|
|
whitelist_externals = bash
|
|
commands =
|
|
bash -c "find {toxinidir} \
|
|
\( -name .tox -prune \) \
|
|
-o -type f -name '*.yaml' \
|
|
-print0 | xargs -0 yamllint"
|
|
{toxinidir}/tools/check_projects_yaml_alphabetized.sh
|
|
flake8
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
usedevelop = False
|
|
skip_install = True
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
basepython = python3
|
|
commands = {posargs}
|