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 38 39 40 41 42 43 44 45
|
[tox]
envlist=
py310
skip_missing_interpreters = true
[testenv]
deps =
-rrequirements.txt
pytest
pytest-sugar
asynctest
pytest-asyncio
commands = py.test
[pytest]
addopts=
--doctest-modules
filterwarnings =
ignore:Using or importing the ABCs.*and in 3.8 it will stop working:DeprecationWarning
[testenv:lint]
deps =
-rrequirements.txt
pylint
black
white
flake8
flake8-bugbear
flake8-import-order
docutils
commands =
white --check volvooncall voc
pylint -E volvooncall
flake8 --version
flake8
# pydocstyle
python setup.py check --metadata --strict
[testenv:pytype]
commands =
pytype
deps =
{[testenv]deps}
pytype>=2021
libnacl
|