"Fossies" - the Fresh Open Source Software Archive

Member "flask-1.1.2/tox.ini" (3 Apr 2020, 1709 Bytes) of package /linux/www/flask-1.1.2.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. See also the latest Fossies "Diffs" side-by-side code changes report for "tox.ini": 1.1.1_vs_1.1.2.

    1 [tox]
    2 envlist =
    3     py{38,37,36,35,27,py3,py}
    4     py38-{simplejson,devel,lowest}
    5     docs
    6     coverage
    7 skip_missing_interpreters = true
    8 
    9 [testenv]
   10 passenv = LANG
   11 deps =
   12     pytest
   13     coverage
   14     greenlet
   15     blinker
   16     python-dotenv
   17 
   18     lowest: Werkzeug==0.15.5
   19     lowest: Jinja2==2.10
   20     lowest: itsdangerous==0.24
   21     lowest: Click==5.1
   22 
   23     devel: https://github.com/pallets/werkzeug/archive/master.tar.gz
   24     devel: https://github.com/pallets/markupsafe/archive/master.tar.gz
   25     devel: https://github.com/pallets/jinja/archive/master.tar.gz
   26     devel: https://github.com/pallets/itsdangerous/archive/master.tar.gz
   27     devel: https://github.com/pallets/click/archive/master.tar.gz
   28 
   29     simplejson: simplejson
   30 
   31 commands =
   32     # the examples need to be installed to test successfully
   33     pip install -q -e examples/tutorial[test]
   34     pip install -q -e examples/javascript[test]
   35 
   36     # pytest-cov doesn't seem to play nice with -p
   37     coverage run -p -m pytest --tb=short -Werror {posargs:tests examples}
   38 
   39 [testenv:nightly]
   40 # courtesy Python nightly test, don't fail the build in CI
   41 ignore_outcome = true
   42 commands =
   43     coverage run -p -m pytest --tb=short -Werror --junitxml=test-results.xml tests
   44 
   45 [testenv:style]
   46 deps = pre-commit
   47 skip_install = true
   48 commands = pre-commit run --all-files --show-diff-on-failure
   49 
   50 [testenv:docs]
   51 deps =
   52     -r docs/requirements.txt
   53 commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
   54 
   55 [testenv:coverage]
   56 deps = coverage
   57 skip_install = true
   58 commands =
   59     coverage combine
   60     coverage html
   61     coverage report
   62 
   63 [testenv:coverage-ci]
   64 deps = coverage
   65 skip_install = true
   66 commands =
   67     coverage combine
   68     coverage xml
   69     coverage report