Implementing cookiecutter

This commit is contained in:
James Barnsley
2019-11-24 21:17:41 +13:00
parent d2ca54bae6
commit cbc7d155da
7 changed files with 198 additions and 130 deletions

23
tox.ini Executable file
View File

@ -0,0 +1,23 @@
[tox]
envlist = py37, py38, black, check-manifest, flake8
[testenv]
sitepackages = true
deps = .[test]
commands =
python -m pytest \
--basetemp={envtmpdir} \
--cov=mopidy_iris --cov-report=term-missing \
{posargs}
[testenv:black]
deps = .[lint]
commands = python -m black --check .
[testenv:check-manifest]
deps = .[lint]
commands = python -m check_manifest
[testenv:flake8]
deps = .[lint]
commands = python -m flake8 --show-source --statistics