chen459664's picture
Add files using upload-large-folder tool
7036b3d verified
Raw
History Blame Contribute Delete
1.21 kB
[tox]
envlist =
py311,
flake8,
pycodestyle,
pydocstyle,
docs
[py]
deps=
pytest-cov
pytest-random
pytest-remove-stale-bytecode
[testenv:py311]
deps=
{[py]deps}
basepython = python3.11
commands = pytest -v --random --cov=src/lm_quant_toolkit --cov-report=term --cov-report=html
[testenv:py310]
deps=
{[py]deps}
basepython = python3.10
commands = pytest -v --random --cov=src/lm_quant_toolkit --cov-report=term --cov-report=html
[testenv:py39]
deps=
{[py]deps}
basepython = python3.9
commands = pytest -v --random --cov=src/lm_quant_toolkit --cov-report=term --cov-report=html
[testenv:pypy3]
deps=
{[py]deps}
basepython = pypy3
commands = pytest -v --random --cov=src/lm_quant_toolkit --cov-report=term --cov-report=html
[testenv:flake8]
exclude = .tox/*
deps = flake8
commands = flake8 src
[testenv:pycodestyle]
show-source=True
statistics=True
exclude=.git,__pycache__,.tox/*,docs/*
deps=pycodestyle
commands = pycodestyle -v --first src
[testenv:pydocstyle]
deps=pydocstyle
commands = pydocstyle -v --match='(?!test_|version)(.*)?\.py' src
[testenv:docs]
deps=
Sphinx
sphinx_rtd_theme
commands = sphinx-build -M html docs/source docs/build