Skip to content

Commit e60b700

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "trivial: Align tox indentation with other SDK projects"
2 parents ec73156 + 1bc0d2b commit e60b700

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

tox.ini

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -4,111 +4,111 @@ envlist = py3,pep8
44

55
[testenv]
66
description =
7-
Run unit tests.
7+
Run unit tests.
88
usedevelop = true
99
setenv =
10-
OS_STDOUT_CAPTURE=1
11-
OS_STDERR_CAPTURE=1
12-
OS_TEST_TIMEOUT=60
10+
OS_STDOUT_CAPTURE=1
11+
OS_STDERR_CAPTURE=1
12+
OS_TEST_TIMEOUT=60
1313
deps =
14-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
15-
-r{toxinidir}/test-requirements.txt
16-
-r{toxinidir}/requirements.txt
14+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
15+
-r{toxinidir}/test-requirements.txt
16+
-r{toxinidir}/requirements.txt
1717
commands =
18-
stestr run {posargs}
18+
stestr run {posargs}
1919

2020
[testenv:pep8]
2121
description =
22-
Run style checks.
22+
Run style checks.
2323
skip_install = true
2424
deps =
25-
pre-commit
25+
pre-commit
2626
commands =
27-
pre-commit run --all-files --show-diff-on-failure
27+
pre-commit run --all-files --show-diff-on-failure
2828

2929
[testenv:bandit]
3030
description =
31-
Run bandit security checks.
31+
Run bandit security checks.
3232
skip_install = true
3333
deps =
34-
pre-commit
34+
pre-commit
3535
commands =
36-
pre-commit run --all-files --show-diff-on-failure bandit
36+
pre-commit run --all-files --show-diff-on-failure bandit
3737

3838
[testenv:unit-tips]
3939
commands =
40-
python -m pip install -q -U -e {toxinidir}/../cliff#egg=cliff
41-
python -m pip install -q -U -e {toxinidir}/../keystoneauth#egg=keystoneauth
42-
python -m pip install -q -U -e {toxinidir}/../osc-lib#egg=osc_lib
43-
python -m pip install -q -U -e {toxinidir}/../openstacksdk#egg=openstacksdk
44-
python -m pip freeze
45-
stestr run {posargs}
40+
python -m pip install -q -U -e {toxinidir}/../cliff#egg=cliff
41+
python -m pip install -q -U -e {toxinidir}/../keystoneauth#egg=keystoneauth
42+
python -m pip install -q -U -e {toxinidir}/../osc-lib#egg=osc_lib
43+
python -m pip install -q -U -e {toxinidir}/../openstacksdk#egg=openstacksdk
44+
python -m pip freeze
45+
stestr run {posargs}
4646

4747
[testenv:functional{,-tips,-py310,-py311,-py312,-py313,-py314}]
4848
description =
49-
Run functional tests.
49+
Run functional tests.
5050
setenv =
51-
OS_TEST_PATH=./openstackclient/tests/functional
51+
OS_TEST_PATH=./openstackclient/tests/functional
5252
passenv =
53-
OS_*
53+
OS_*
5454
commands =
55-
tips: python -m pip install -q -U -e {toxinidir}/../cliff#egg=cliff
56-
tips: python -m pip install -q -U -e {toxinidir}/../keystoneauth#egg=keystoneauth1
57-
tips: python -m pip install -q -U -e {toxinidir}/../osc-lib#egg=osc_lib
58-
tips: python -m pip install -q -U -e {toxinidir}/../openstacksdk#egg=openstacksdk
59-
tips: python -m pip freeze
60-
{[testenv]commands}
55+
tips: python -m pip install -q -U -e {toxinidir}/../cliff#egg=cliff
56+
tips: python -m pip install -q -U -e {toxinidir}/../keystoneauth#egg=keystoneauth1
57+
tips: python -m pip install -q -U -e {toxinidir}/../osc-lib#egg=osc_lib
58+
tips: python -m pip install -q -U -e {toxinidir}/../openstacksdk#egg=openstacksdk
59+
tips: python -m pip freeze
60+
{[testenv]commands}
6161

6262
[testenv:venv]
6363
description =
64-
Run specified command in a virtual environment with all dependencies installed.
64+
Run specified command in a virtual environment with all dependencies installed.
6565
deps =
66-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
67-
-r{toxinidir}/requirements.txt
68-
-r{toxinidir}/doc/requirements.txt
66+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
67+
-r{toxinidir}/requirements.txt
68+
-r{toxinidir}/doc/requirements.txt
6969
commands =
70-
{posargs}
70+
{posargs}
7171

7272
[testenv:cover]
7373
description =
74-
Run unit tests and generate coverage report.
74+
Run unit tests and generate coverage report.
7575
setenv =
76-
{[testenv]setenv}
77-
PYTHON=coverage run --source openstackclient --parallel-mode
76+
{[testenv]setenv}
77+
PYTHON=coverage run --source openstackclient --parallel-mode
7878
commands =
79-
stestr run {posargs}
80-
coverage combine
81-
coverage html -d cover
82-
coverage xml -o cover/coverage.xml
79+
stestr run {posargs}
80+
coverage combine
81+
coverage html -d cover
82+
coverage xml -o cover/coverage.xml
8383

8484
[testenv:debug]
8585
description =
86-
Run specified tests through oslo_debug_helper, which allows use of pdb.
86+
Run specified tests through oslo_debug_helper, which allows use of pdb.
8787
passenv =
88-
OS_*
88+
OS_*
8989
commands =
90-
oslo_debug_helper -t openstackclient/tests {posargs}
90+
oslo_debug_helper -t openstackclient/tests {posargs}
9191

9292
[testenv:docs]
9393
description =
94-
Build documentation in HTML format.
94+
Build documentation in HTML format.
9595
deps =
96-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
97-
-r{toxinidir}/doc/requirements.txt
96+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
97+
-r{toxinidir}/doc/requirements.txt
9898
commands =
99-
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
100-
sphinx-build -a -E -W -d doc/build/doctrees -b man doc/source doc/build/man
101-
# Validate redirects (must be done after the docs build
102-
whereto doc/build/html/.htaccess doc/test/redirect-tests.txt
99+
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
100+
sphinx-build -a -E -W -d doc/build/doctrees -b man doc/source doc/build/man
101+
# Validate redirects (must be done after the docs build
102+
whereto doc/build/html/.htaccess doc/test/redirect-tests.txt
103103

104104
[testenv:releasenotes]
105105
description =
106-
Build release note documentation in HTML format.
106+
Build release note documentation in HTML format.
107107
deps =
108-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
109-
-r{toxinidir}/doc/requirements.txt
108+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
109+
-r{toxinidir}/doc/requirements.txt
110110
commands =
111-
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
111+
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
112112

113113
[flake8]
114114
show-source = true

0 commit comments

Comments
 (0)