mopidy-raspberrypi-gpio/tox.ini

24 lines
518 B
INI
Raw Permalink Normal View History

[tox]
envlist = py37, py38, black, check-manifest, flake8
[testenv]
sitepackages = true
deps = .[test]
commands =
python -m pytest \
--basetemp={envtmpdir} \
--cov=mopidy_raspberry_gpio --cov-report=term-missing \
{posargs}
[testenv:black]
deps = .[lint]
2020-07-14 15:51:05 +02:00
commands = python -m black --diff --check .
[testenv:check-manifest]
deps = .[lint]
commands = python -m check_manifest
[testenv:flake8]
deps = .[lint]
2020-01-23 14:44:58 +01:00
commands = python -m flake8 --ignore=B950,B305,E501 --show-source --statistics