File: tox.ini

package info (click to toggle)
python-tenacity 9.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: python: 3,173; makefile: 11
file content (36 lines) | stat: -rw-r--r-- 765 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
35
36
[tox]
# we only test trio on latest python version
envlist = py3{9,10,11,12,13,14,14-trio}, pep8, pypy3
skip_missing_interpreters = True

[testenv]
usedevelop = True
sitepackages = False
deps =
    .[test]
    .[doc]
    trio: trio
commands =
    py3{8,9,10,11,12,13,14},pypy3: pytest {posargs}
    py3{8,9,10,11,12,13,14},pypy3: sphinx-build -a -E -W -b doctest doc/source doc/build
    py3{8,9,10,11,12,13,14},pypy3: sphinx-build -a -E -W -b html doc/source doc/build

[testenv:pep8]
basepython = python3
deps = ruff
commands =
  ruff check . {posargs}
  ruff format --check . {posargs}

[testenv:mypy]
deps =
    mypy>=1.0.0
    pytest # for stubs
    trio
commands =
    mypy {posargs}

[testenv:reno]
basepython = python3
deps = reno
commands = reno {posargs}