[tox]
minversion = 1.6
envlist = py3,pep8
ignore_basepython_conflict = True

[testenv]
basepython = python3
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
usedevelop = true

[testenv:pep8]
commands = flake8

[testenv:venv]
commands = {posargs}

[testenv:mkical]
commands = yaml2ical -y meetings/ -i icals/ -f

[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,*.egg