File: tox.ini

package info (click to toggle)
python-pymemcache 4.0.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 544 kB
  • sloc: python: 4,550; makefile: 209; sh: 11
file content (46 lines) | stat: -rw-r--r-- 891 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
37
38
39
40
41
42
43
44
45
46
[tox]
envlist =
    py37,
    py38,
    py39,
    py310,
    pypy3,
    docs,
    lint,
    mypy,
    venv,
skip_missing_interpreters = true

[gh-actions]
python =
    pypy-3.7: pypy3

[testenv]
description = run tests with {basepython}
deps = -r{toxinidir}/test-requirements.txt
skip_install = True
commands =
    python -m pytest {posargs}

[testenv:lint]
description = lint source code
deps = -r{toxinidir}/lint-requirements.txt
commands =
    python setup.py check --metadata --restructuredtext --strict
    flake8
    black --check .

[testenv:mypy]
description = type check source code
deps = -r{toxinidir}/mypy-requirements.txt
commands =
    python -m mypy -p pymemcache

[testenv:docs]
description = invoke sphinx-build to build the HTML docs
deps = -r{toxinidir}/docs-requirements.txt
commands =
    sphinx-build -b html docs/ docs/_build/html

[testenv:venv]
commands = {posargs}