Files
manila-specs/tox.ini
HeroicHitesh 6641649453 Remove testr
* Remove .testr.conf as there is no tests dir and update .gitignore
  accordingly
* Use 3.18.0 as the minversion for tox and replace whitelist_externals
  by allowlist_externals and remove unused allowlist_externals

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: Iaca746c0ad67fee7972943beab7aca0ee314e2ed
2021-05-25 19:45:05 +05:30

29 lines
647 B
INI

[tox]
minversion = 3.18.0
envlist = docs,pep8
skipsdist = True
[testenv]
basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands =
flake8
doc8 --ignore D001 specs/
[testenv:venv]
commands = {posargs}
[testenv:docs]
allowlist_externals = rm
commands =
rm -rf doc/build
sphinx-build -b html doc/source doc/build/html
# Ignore D001 since we allow lines in excess of 79 characters.
doc8 --ignore D001 --ignore-path .tox --ignore-path .eggs --ignore-path doc/build --ignore-path manila_specs.egg-info -e txt -e rst