-
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (33 loc) · 684 Bytes
/
tox.ini
File metadata and controls
37 lines (33 loc) · 684 Bytes
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, py314, 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