forked from python-ring-doorbell/python-ring-doorbell
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
32 lines (29 loc) · 777 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
[tox]
envlist = py38, py39, py310, py311, py312, lint, docs
skip_missing_interpreters = True
isolated_build = true
[testenv]
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry install --sync --extras listen
commands =
poetry run pytest tests/ --cov=ring_doorbell --cov-report=xml --cov-report=term-missing --import-mode importlib
[testenv:lint]
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry install --sync --extras listen --verbose
ignore_errors = True
commands =
poetry run pre-commit run --all-files
[testenv:docs]
skip_install = true
allowlist_externals =
poetry
make
commands_pre =
poetry install --sync --extras docs --without dev
ignore_errors = True
commands =
poetry run make -C docs html