ubot2/tox.ini
Jeff Ammons 7d718fe54f Adding start rtmbot to tox.ini for linting
Also updating gitignore to ignore some stuff on my machine.
2016-04-17 18:21:04 -07:00

23 lines
442 B
INI

[tox]
envlist=
py{27,34,35},
flake8
skipsdist=true
[flake8]
max-line-length= 100
exclude= tests/*
[testenv]
commands=py.test {posargs:tests}
deps =
-r{toxinidir}/requirements-dev.txt
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 {toxinidir}/start_rtmbot.py {toxinidir}/rtmbot/core.py {toxinidir}/setup.py {toxinidir}/doc/example-plugins