<commit_before>[tox]
envlist = pep8,pylint

[testenv]
site-packages = True
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C
         OS_STDOUT_NOCAPTURE=False
         OS_STDERR_NOCAPTURE=False

deps = -r{toxinidir}/tools/pip-requires
       -r{toxinidir}/tools/test-requires

#commands = nosetests tests/

[testenv:pep8]
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .

[testenv:pylint]
commands = {toxinidir}/tools/pylint-wrapper --reports=n --include-ids=y \
           --disable=C0103 --disable=C0111 \
           --disable=I0011 \
           --disable=R0201 --disable=R0801 --disable=R0903 --disable=R0913 \
	   --disable=R0902 \
           --disable=W0142 --disable=W0511 \
           bin/dwarf-server dwarf

#[testenv:cover]
#commands = nosetests --with-coverage --cover-package imagedeploy tests/<commit_msg>fix tox.ini (disable too-many-branches)<commit_after>[tox]
envlist = pep8,pylint

[testenv]
site-packages = True
setenv = VIRTUAL_ENV={envdir}
         LANG=en_US.UTF-8
         LANGUAGE=en_US:en
         LC_ALL=C
         OS_STDOUT_NOCAPTURE=False
         OS_STDERR_NOCAPTURE=False

deps = -r{toxinidir}/tools/pip-requires
       -r{toxinidir}/tools/test-requires

#commands = nosetests tests/

[testenv:pep8]
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .

[testenv:pylint]
commands = {toxinidir}/tools/pylint-wrapper --reports=n \
           --disable=C0103 --disable=C0111 \
           --disable=I0011 \
           --disable=R0201 --disable=R0801 --disable=R0903 --disable=R0913 \
	   --disable=R0902 --disable=R0912 \
           --disable=W0142 --disable=W0511 \
           bin/dwarf-server dwarf

#[testenv:cover]
#commands = nosetests --with-coverage --cover-package imagedeploy tests/
{'fraction_non_alphanumeric': 0.1408140814081408, 'fraction_numerical': 0.050605060506050605, 'mean_word_length': 2.6673387096774195, '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': '4677109', 'n_tokens_mistral': 754, 'n_tokens_neox': 675, 'n_words': 100}