https://github.com/bear/python-twitter
Raw File
Tip revision: 29647e6cb2a050e9e9c4a02c865d0231e2e497fc authored by Robert Huselius on 29 April 2020, 21:44:03 UTC
Always add tweet_mode to API requests
Tip revision: 29647e6
tox.ini
[tox]
envlist = clean,py27,py37,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