File size: 1,206 Bytes
c000eca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[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