File: tox.ini

package info (click to toggle)
python-html5rdf 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,448 kB
  • sloc: python: 12,794; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist = py{38,39,310,311,py,py3}-{base,optional,oldest}

[testenv]
deps =
  base: -r{toxinidir}/requirements-test.txt
  optional: -r{toxinidir}/requirements-test.txt
  optional: -r{toxinidir}/requirements-optional.txt
  oldest: -r{toxinidir}/requirements-oldest.txt
  doc: Sphinx

passenv =
  PYTEST_COMMAND  # this is maintained so one can, e.g., PYTEST_COMMAND="coverage run -m pytest"
  COVERAGE_RUN_OPTIONS
commands =
  {env:PYTEST_COMMAND:{envbindir}/pytest} {posargs}
  flake8 {toxinidir}

[testenv:doc]
changedir = doc
commands = sphinx-build -b html . _build