File: tox.ini

package info (click to toggle)
python-prov 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,848 kB
  • sloc: python: 6,555; xml: 1,528; makefile: 211; sh: 1
file content (29 lines) | stat: -rw-r--r-- 1,024 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 = python3.9, python3.10, python3.11, python3.12, python3.13, pypy3

# Define the minimal tox version required to run;
# if the host tox is less than this the tool with create an environment and
# provision it with a tox that satisfies it under provision_tox_env.
# At least this version is needed for PEP 517/518 support.
minversion = 3.3.0

# Activate isolated build environment. tox will use a virtual environment
# to build a source distribution from the source tree. For build tools and
# arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
isolated_build = true

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/src/prov
commands =
    check-manifest --ignore 'tox.ini,.coveragerc,.editorconfig,tests/**,cla/**,Makefile,.readthedocs.yml'
    python setup.py check -m -r -s
    coverage run -m unittest discover -s src/
    coverage xml
deps =
    check-manifest >= 0.42
    readme_renderer
    coverage
    rdflib>=4.2.1,<7
    lxml>=3.3.5
allowlist_externals = coverage