-
Notifications
You must be signed in to change notification settings - Fork 39
/
tox.ini
37 lines (33 loc) · 851 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
[tox]
envlist = py38,py39,py310,py311,pep8,docs
minversion = 1.6
skipsdist = True
[gh-actions]
python =
3.8: py38,pep8,docs
3.9: py39
3.10: py310
3.11: py311
[testenv]
usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
commands =
pytest --cov=orquesta --cov-report=term orquesta/tests
[testenv:pep8]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
commands =
pylint -E --rcfile={toxinidir}/.pylintrc orquesta
flake8 --config {toxinidir}/.flake8 orquesta
black orquesta bin setup.py -l 100 --check
[testenv:docs]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-docs.txt
-e{toxinidir}
commands =
python {toxinidir}/bin/orquesta-generate-schemas
sphinx-build -W -b html docs/source docs/build/html