<commit_before>[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
deps =
    coverage
    mock
    nose
    mopidy==dev
install_command = pip install --allow-unverified=mopidy --pre {opts} {packages}
commands = nosetests -v --with-xunit --xunit-file=xunit-{envname}.xml --with-coverage --cover-package=mopidy_mpris

[testenv:flake8]
deps =
    flake8
    flake8-import-order
skip_install = true
commands = flake8<commit_msg>tox: Use py.test as test runner<commit_after>[tox]
envlist = py27, flake8

[testenv]
sitepackages = true
deps =
    mock
    mopidy==dev
    pytest
    pytest-cov
    pytest-xdist
install_command = pip install --allow-unverified=mopidy --pre {opts} {packages}
commands =
    py.test \
        --basetemp={envtmpdir} \
        --junit-xml=xunit-{envname}.xml \
        --cov=mopidy_mpris --cov-report=term-missing \
        {posargs}

[testenv:flake8]
deps =
    flake8
    flake8-import-order
skip_install = true
commands = flake8
{'fraction_non_alphanumeric': 0.12149532710280374, 'fraction_numerical': 0.014537902388369679, 'mean_word_length': 3.1021276595744682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1097896', 'n_tokens_mistral': 367, 'n_tokens_neox': 365, 'n_words': 73}