forked from SSSD/sssd-test-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (32 loc) · 725 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]
envlist = py3,py310,lint,docs
[testenv]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-tests.txt
commands =
pytest -vvv tests
[testenv:lint]
deps =
black
flake8
isort
mypy
pycodestyle
commands =
flake8 sssd_test_framework tests
pycodestyle sssd_test_framework tests
isort --check-only sssd_test_framework tests
mypy --install-types --non-interactive sssd_test_framework tests
black --check sssd_test_framework tests
[testenv:docs]
changedir = docs
allowlist_externals = make
deps =
-r{toxinidir}/docs/requirements.txt
commands =
make html SPHINXOPTS="-W --keep-going"
[gh]
python =
3.x = py3, lint, docs
3.10 = py310, lint, docs