Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (54 sloc) 1.63 KB
[config]
package_name = yahoo_panoptes
package_dir = yahoo_panoptes
[tox]
skip_missing_interpreters = True
envlist = py27-{linux,macosx}
[pep8]
max-line-length = 120
ignore = E722, E126
exclude = migrations
[pycodestyle]
max-line-length = 120
ignore = E722, E126
exclude = migrations
[testenv]
platform = linux: linux
macosx: darwin
passenv = HOME
setenv =
ZOOKEEPER_VERSION=3.4.13
linux: ZOOKEEPER_CLASSPATH=zookeeper-3.4.13/zookeeper-3.4.13.jar:zookeeper-3.4.13/lib/log4j-1.2.17.jar:zookeeper-3.4.13/lib/slf4j-api-1.7.25.jar:zookeeper-3.4.13/lib/slf4j-log4j12-1.7.25.jar
macosx: ZOOKEEPER_CLASSPATH=/usr/local/Library/Java/zookeeper/zookeeper.jar:/usr/local/Library/Java/zookeeper/log4j.jar:/usr/local/Library/Java/zookeeper/slf4j-api.jar:/usr/local/Library/Java/zookeeper/slf4j-log4j12.jar
PYTHONHASHSEED=0
install_command =
{envpython} {envbindir}/pip install {opts} {packages}
deps =
nose
nose-cov
mock
mockredispy
requests-mock
zake
snmpsim
testfixtures
commands =
{envpython} {envbindir}/nosetests --with-xunit \
--xunit-file=nosetests_{envname}.xml \
--xunit-testsuite-name={envname} \
--with-coverage --cover-xml --cover-erase \
--traverse-namespace --cover-tests --exe \
--cover-package={[config]package_name} \
--cover-xml-file=cobertura.xml \
--logging-level=CRITICAL \
tests
[testenv:lint_pylint]
install_command = {envpython} {envbindir}/pip install {opts} {packages}
commands = {envpython} {envbindir}/pylint --output-format=parseable {[config]package_dir}
deps =
six
pylint<2.0.0
list_dependencies_command = {envpython} {envbindir}/pip freeze
changedir = {toxinidir}
passenv = SSH_AUTH_SOCK BUILD_NUMBER
basepython = python
You can’t perform that action at this time.