generated from firstof9/integration_blueprint
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
36 lines (31 loc) · 714 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
[tox]
skipsdist = true
envlist = py313, lint, mypy
skip_missing_interpreters = True
[gh-actions]
python =
3.13: py313, lint, mypy
[pytest]
asyncio_default_fixture_loop_scope=function
[testenv]
commands =
pytest --asyncio-mode=auto --timeout=30 --cov=custom_components/openei --cov-report=xml {posargs}
deps =
-rrequirements_tests.txt
[testenv:lint]
basepython = python3
ignore_errors = True
commands =
black --check ./
flake8 custom_components/openei
pylint custom_components/openei
pydocstyle custom_components/openei tests
deps =
-rrequirements_tests.txt
[testenv:mypy]
basepython = python3
ignore_errors = True
commands =
mypy custom_components/openei
deps =
-rrequirements_tests.txt