File: tox.ini

package info (click to toggle)
python-prance 25.4.8.0%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,144 kB
  • sloc: python: 3,381; makefile: 205
file content (29 lines) | stat: -rw-r--r-- 655 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
[tox]
envlist = py3{10,11,12,13}-{default,flex,no_icu,no_osv_or_icu},docs
minver=3.10
isolated_build=true

[testenv]
# Different dependencies for different test environments
extras =
  default: dev,ssv,osv,icu,cli
  no_icu: dev,ssv,osv,cli
  no_osv_or_icu: dev,ssv,cli
  flex: dev,flex,icu
  bare: dev
deps =
  pytest
  pytest-cov
# We need to set environment variables for py3 to work with click
setenv =
  LC_ALL=C.UTF-8
  LANG=C.UTF-8
# For Python 3.7 (main dev version), also run flake8 and sphinx
commands =
  pytest {posargs}
[testenv:docs]
extras=dev
commands =
  sphinx-build -b html \
    -d docs/build/doctrees \
    docs/source docs/build/html