"Fossies" - the Fresh Open Source Software Archive

Member "freezer-dr-9.0.0/tox.ini" (14 Oct 2020, 1625 Bytes) of package /linux/misc/openstack/freezer-dr-9.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) INI source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 [tox]
    2 minversion = 2.0
    3 envlist =py36,py37,pep8,pylint,docs
    4 skipsdist = True
    5 
    6 [testenv]
    7 basepython = python3
    8 usedevelop = True
    9 deps =
   10   -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   11   -r{toxinidir}/requirements.txt
   12   -r{toxinidir}/test-requirements.txt
   13 passenv =
   14     http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
   15 setenv =
   16     VIRTUAL_ENV={envdir}
   17     OS_TEST_PATH = ./tests/unit
   18 commands =
   19     find . -type f -name "*.pyc" -delete
   20     stestr run {posargs}
   21     rm -f .coverage
   22     rm -rf .testrepository
   23 
   24 whitelist_externals =
   25     find
   26     coverage
   27     rm
   28 python_files = test_*.py
   29 norecursedirs  = .tox .venv
   30 
   31 [testenv:venv]
   32 commands = {posargs}
   33 
   34 [testenv:docs]
   35 commands =
   36   sphinx-build -W -b html doc/source doc/build/html
   37 
   38 [testenv:py36]
   39 basepython = python3.6
   40 
   41 [testenv:py37]
   42 basepython = python3.7
   43 
   44 [testenv:pep8]
   45 commands = flake8 freezer_dr
   46 
   47 [testenv:pylint]
   48 commands = pylint --rcfile .pylintrc freezer_dr
   49 
   50 [testenv:genconfig]
   51 sitepackages = False
   52 envdir = {toxworkdir}/venv
   53 commands =
   54   oslo-config-generator --config-file=config-generator/freezer-dr.conf
   55 
   56 [flake8]
   57 # it's not a bug that we aren't using all of hacking
   58 # H102 -> apache2 license exists
   59 # H103 -> license is apache
   60 # H201 -> no bare excepts
   61 # H501 -> don't use locals() for str formatting
   62 # H903 -> \n not \r\n
   63 ignore = H
   64 select = H102, H103, H201, H501, H903, H201, H306, H301, H233
   65 show-source = True
   66 exclude = .venv,.tox,dist,doc,test,*egg,tests
   67 
   68 [testenv:lower-constraints]
   69 deps =
   70   -c{toxinidir}/lower-constraints.txt
   71   -r{toxinidir}/test-requirements.txt
   72   -r{toxinidir}/requirements.txt