<commit_before>[tox]
envlist={py34}-{pyqt4,pyqt5,pyside,flake8}
toxworkdir={homedir}/quamash-tox-work

[testenv]
commands=py.test-3.4

[testenv:py34-pyqt4]
sitepackages=True
setenv=QUAMASH_QTIMPL=PyQt4
deps=pytest

[testenv:py34-pyqt5]
sitepackages=True
setenv=QUAMASH_QTIMPL=PyQt5
deps=pytest

[pytest]
addopts=--doctest-modules quamash quamash tests

[testenv:py34-pyside]
sitepackages=False
deps=
	pytest
	wheelhouse/PySide-1.2.2-cp34-cp34m-linux_x86_64.whl

[testenv:py34-flake8]
sitepackages=False
deps=
	flake8
	pep8-naming
	flake8-debugger
# flake8-docstrings - currently behaves badly in python 3 :-(
	wheelhouse/PySide-1.2.2-cp34-cp34m-linux_x86_64.whl
commands=flake8

[flake8]
ignore=W191,E501
max-complexity=15
exclude=build<commit_msg>I'll do anything you want Travis... except whatever it is Meat Loaf won't do.<commit_after>[tox]
envlist={py34}-{pyqt4,pyqt5,pyside,flake8}
toxworkdir={homedir}/quamash-tox-work


[testenv:py34-pyqt4]
sitepackages=True
setenv=QUAMASH_QTIMPL=PyQt4
deps=pytest

[testenv:py34-pyqt5]
commands=py.test
sitepackages=True
setenv=QUAMASH_QTIMPL=PyQt5
deps=pytest

[pytest]

addopts=--doctest-modules quamash quamash tests

[testenv:py34-pyside]
sitepackages=False
deps=
	pytest
	wheelhouse/PySide-1.2.2-cp34-cp34m-linux_x86_64.whl
commands=
	python {envbindir}/pyside_postinstall.py -install
	py.test

[testenv:py34-flake8]
sitepackages=False
deps=
	flake8
	pep8-naming
	flake8-debugger
# flake8-docstrings - currently behaves badly in python 3 :-(
	wheelhouse/PySide-1.2.2-cp34-cp34m-linux_x86_64.whl
commands=
	python {envbindir}/pyside_postinstall.py -install
	flake8

[flake8]
ignore=W191,E501
max-complexity=15
exclude=build
{'fraction_non_alphanumeric': 0.118562874251497, 'fraction_numerical': 0.06706586826347305, 'mean_word_length': 6.527027027027027, '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': '6654969', 'n_tokens_mistral': 802, 'n_tokens_neox': 768, 'n_words': 104}