entropy/tox.ini
pran1990 8011130e2b Added a message queue
Added kombu, an interface to AMQP

Added react.py, sample reaction script with a kombu consumer.
Should be run separately. Just loops forever listening for
messages on the PASS_EVENTS queue/

Added queues.py, define an exchange and two queues to use
for the message queue

Replaced runthis.sh with audit.py, changed runthis.json to
audit.json. audit.py has send_message(), which sends a message
to the PASS_EVENTS queue

Configuration data for audit.py and react.py should be picked up
from audit.json and react.json.

Added H304, H302 to pep8 ignores

Change-Id: I32d5c007d3b00ee2ec33635bca1567da4447124c
2013-12-16 15:21:23 -08:00

28 lines
528 B
INI

[tox]
skipsdist = True
envlist = py26,py27,py33,pep8
[testenv]
install_command = pip install -U {opts} {packages}
commands = {envpython} setup.py test
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:py33]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = true
[testenv:pep8]
sitepackages = False
commands =
flake8 {posargs}
[testenv:venv]
commands = {posargs}
[flake8]
ignore = H233,H302,H304
builtins = _
exclude = .idea,.tox,docs,.git