-
Notifications
You must be signed in to change notification settings - Fork 67
/
tox.ini
33 lines (29 loc) · 865 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
[tox]
envlist = py37,py38,py39,py310,py311,py312,py313,pylint,lint,format
skip_missing_interpreters = True
[testenv:format]
basepython = python3.12
deps =
-r{toxinidir}/test-requirements.txt
commands =
python -m isort denonavr/. tests/. --check --verbose
python -m black denonavr tests --check --verbose
[testenv:pylint]
basepython = python3.12
deps =
-r{toxinidir}/test-requirements.txt
commands=python -m pylint denonavr tests
[testenv:lint]
basepython = python3.12
deps =
-r{toxinidir}/test-requirements.txt
commands =
python -m flake8 denonavr tests
python -m pydocstyle denonavr tests
[testenv]
setenv =
LANG=en_US.UTF-8
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/test-requirements.txt
commands=python -m pytest tests --timeout=60 --durations=10 --cov=denonavr --cov-report html {posargs}