<commit_before>[tox]
minversion = 1.6
skipsdist = True
envlist = py27,pep8

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
         PYTHONHASHSEED=0
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr --serial

[testenv:pep8]
deps = hacking==0.10.2
usedevelop = False
commands =
    flake8 {posargs:solar}

[testenv:venv]
deps = -r{toxinidir}/requirements.txt
       sphinx
commands = {posargs:}

[testenv:devenv]
envdir = devenv
usedevelop = True

[flake8]
ignore = H101,H236,E731
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,__init__.py,docs
show-pep8 = True
show-source = True
count = True
<commit_msg>Run flake8 first. It will fail faster<commit_after>[tox]
minversion = 1.6
skipsdist = True
envlist = pep8,py27

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
         PYTHONHASHSEED=0
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr --serial

[testenv:pep8]
deps = hacking==0.10.2
usedevelop = False
commands =
    flake8 {posargs:solar}

[testenv:venv]
deps = -r{toxinidir}/requirements.txt
       sphinx
commands = {posargs:}

[testenv:devenv]
envdir = devenv
usedevelop = True

[flake8]
ignore = H101,H236,E731
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,__init__.py,docs
show-pep8 = True
show-source = True
count = True

{'fraction_non_alphanumeric': 0.13328631875881522, 'fraction_numerical': 0.03314527503526093, 'mean_word_length': 4.7682926829268295, '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': '2661809', 'n_tokens_mistral': 604, 'n_tokens_neox': 573, 'n_words': 114}