Changeset View
Changeset View
Standalone View
Standalone View
tox.ini
[tox] | [tox] | ||||
envlist=flake8,py3-{core,db,server} | envlist=flake8,py3-{core,db,server},mypy | ||||
[testenv:py3-core] | [testenv:py3-core] | ||||
deps = | deps = | ||||
-rrequirements-test.txt | -rrequirements-test.txt | ||||
. | . | ||||
commands = | commands = | ||||
pytest --doctest-modules swh/core/tests {posargs} | pytest --doctest-modules swh/core/tests {posargs} | ||||
Show All 26 Lines | pytest --doctest-modules \ | ||||
{posargs} | {posargs} | ||||
[testenv:flake8] | [testenv:flake8] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
flake8 | flake8 | ||||
commands = | commands = | ||||
{envpython} -m flake8 | {envpython} -m flake8 | ||||
[testenv:mypy] | |||||
skip_install = true | |||||
deps = | |||||
.[testing] | |||||
mypy | |||||
django-stubs | |||||
commands = | |||||
mypy swh |