-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (34 loc) · 998 Bytes
/
tox.ini
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
[tox]
minversion = 4.0.0
isolated_build = true
[testenv:unit_tests]
description = run unit tests and generate coverage data for 'audioconcat' module
deps = coverage==6.5.*
commands = coverage run --source=audioconcat -m unittest discover -s {toxinidir}/tests/unit
[testenv:check_code]
description = check code
deps = pylint==2.17.*
commands = pylint {toxinidir}/src
[testenv:check_style]
description = check code style
skip_install = true
deps=
pycodestyle==2.9.*
pydocstyle==6.1.*
toml==0.10.*
commands=
pycodestyle {toxinidir}/src
# pydocstyle {toxinidir}/src
[testenv:docs]
description = generate HTML documentation
deps =
myst-parser==2.0.*
Sphinx==6.2.*
commands =
sphinx-apidoc -M -T -a -o {toxinidir}/docs/apidoc/ {toxinidir}/src
sphinx-build -M html {toxinidir}/docs {toxinidir}/build/docs
[testenv:coverage_report]
description = generate coverage report
skip_install = true
deps = coverage==6.5.*
commands = coverage html -d {toxinidir}/build/html