File: tox.ini

package info (click to toggle)
execnet 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 684 kB
  • sloc: python: 5,244; makefile: 78; sh: 2
file content (34 lines) | stat: -rw-r--r-- 604 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
30
31
32
33
34
[tox]
envlist=py{38,39,310,311,312,pypy38},docs,linting
isolated_build = true

[testenv]
usedevelop=true
setenv =
    PYTHONWARNDEFAULTENCODING = 1
deps=
    pytest
    pytest-timeout
passenv = GITHUB_ACTIONS, HOME, USER, XDG_*
commands=
    python -m pytest {posargs:testing}

[testenv:docs]
skipsdist = True
usedevelop = True
changedir = doc
deps =
    sphinx
    PyYAML
commands =
    sphinx-build -W -b html . _build

[testenv:linting]
skip_install = True
deps = pre-commit>=1.11.0
commands = pre-commit run --all-files --show-diff-on-failure

[pytest]
timeout = 20
addopts = -ra
testpaths = testing