https://github.com/bear/python-twitter
Raw File
Tip revision: fd468925fe26ce083b7d26d365053f5acda9cc65 authored by Reid 'arrdem' McKenzie on 18 September 2017, 01:05:06 UTC
Support request Sessions for streaming, warn about the timeout floor
Tip revision: fd46892
tox.ini
[tox]
envlist = clean,py27,py36,pypy,pypy3,codestyle,coverage
skip_missing_interpreters = True

[testenv]
deps = -Ur{toxinidir}/requirements.txt
       -Ur{toxinidir}/requirements.testing.txt

commands = coverage run --parallel-mode --source=twitter setup.py test --addopts "--ignore=venv"

whitelist_externals = /bin/bash
                      make
setenv =
    PYTHONWARNINGS=always::DeprecationWarning

[testenv:clean]
deps = coverage
commands = coverage erase

[testenv:coverage]
deps = coverage
commands = coverage combine
           coverage html
           coverage report


[testenv:codestyle]
deps = pycodestyle
commands = pycodestyle --config={toxinidir}/setup.cfg twitter tests
back to top