https://github.com/bear/python-twitter
Raw File
Tip revision: d373eb901a2bcc7e16d06c5b9eb3ad08f656c955 authored by AnSq on 14 October 2018, 14:09:41 UTC
use a requests.Session to speed up most network operations
Tip revision: d373eb9
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