File: tox.ini

package info (click to toggle)
telemetry-tempest-plugin 2.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 444 kB
  • sloc: python: 1,842; makefile: 20; sh: 11
file content (47 lines) | stat: -rw-r--r-- 1,168 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[tox]
minversion = 3.18.0
envlist = py3,pypy,pep8
ignore_basepython_conflict = True

[testenv]
basepython = python3
sitepackages = False
usedevelop = True
setenv =
   VIRTUAL_ENV={envdir}
   PYTHONWARNINGS=default::DeprecationWarning
   OS_STDOUT_CAPTURE=1
   OS_STDERR_CAPTURE=1
   OS_TEST_TIMEOUT=60
deps =
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
  -r{toxinidir}/requirements.txt

commands = stestr run {posargs}

[testenv:pep8]
deps = hacking>=6.1.0,<6.2.0
commands = flake8 {posargs}

[testenv:venv]
commands = {posargs}

[testenv:docs]
deps =
  -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
  -r{toxinidir}/doc/requirements.txt
commands =
  sphinx-build -a -E -W -b html doc/source doc/build/html
setenv = PYTHONHASHSEED=0

[testenv:releasenotes]
commands =
  sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html

[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# W503 line break before binary operator
show-source = True
ignore = E123,E125,W503
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build