<commit_before>[tox]
envlist = py34, py35, py36, mypy, flake8

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 rabird.qt

[testenv:mypy]
deps=mypy
commands=mypy -m rabird.qt --ignore-missing-imports

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
commands =
    python -m pip install -U pip
    python -m pip install -r{toxinidir}/requirements_dev.txt<commit_msg>Use site packages in tox environment<commit_after>[tox]
envlist = py34, py35, py36, mypy, flake8

[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 rabird.qt

[testenv:mypy]
deps=mypy
commands=mypy -m rabird.qt --ignore-missing-imports

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
; It's no easy way to install PySide or PyQt into virtual environment, so we
; have to use global packages that pre-installed.
sitepackages = True
commands =
    python -m pip install -U pip
    python -m pip install -r{toxinidir}/requirements_dev.txt
{'fraction_non_alphanumeric': 0.10021551724137931, 'fraction_numerical': 0.021551724137931036, 'mean_word_length': 4.664634146341464, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1097895', 'n_tokens_mistral': 370, 'n_tokens_neox': 346, 'n_words': 95}