File: tox.ini

package info (click to toggle)
python-bytecode 0.16.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 780 kB
  • sloc: python: 8,283; makefile: 169; sh: 40
file content (37 lines) | stat: -rw-r--r-- 677 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
[tox]
envlist = py3, py38, py39, py310, py311, py312, py313, fmt, docs
isolated_build = true

[testenv]
deps=
    pytest
    pytest-cov
    pytest-subtests
commands = pytest --cov bytecode --cov-report=xml -v tests

[testenv:fmt]
basepython = python3
deps=
    ruff check
commands =
    ruff src/bytecode tests
    ruff format --check src/bytecode tests

[testenv:lint]
basepython = python3
deps=
    ruff
    mypy
    pytest
commands =
    ruff check src/bytecode tests
    ruff format --check src/bytecode tests
    mypy src tests

[testenv:docs]
basepython = python3
deps=
    -r doc/requirements.txt
commands =
    pip install .
    sphinx-build doc docs_output -W -b html