[tox]
envlist = py27,py35,cov

[pytest]
addopts = -s
norecursedirs = *

[testenv]
commands=
    py.test --pylama pylama
    py.test test_pylama.py -s
deps =
    pytest
    -rrequirements.txt

[testenv:cov]
deps =
    coverage
    {[testenv]deps}
commands =
    coverage run --source pylama -m py.test test_pylama.py
    coverage report

[tox]
envlist = py27,py35,cov

[pytest]
addopts = -s
norecursedirs = *

[testenv]
commands=
    py.test --pylama pylama {posargs}
    py.test test_pylama.py -s {posargs}
deps =
    pytest
    -rrequirements.txt

[testenv:cov]
deps =
    coverage
    {[testenv]deps}
commands =
    coverage run --source pylama -m py.test test_pylama.py {posargs}
    coverage report

Add posargs for tweaking pytest
Add posargs for tweaking pytest

This allows for passing flags to pytest, for example to make it quieter:
`tox -- --no-print-logs --capture=fd`
