[tox]
envlist = py27, py33, py34, pypy, flake8

[testenv]
passenv = LC_ALL, LANG
commands = py.test --cov=cookiecutter {posargs:tests}
deps = pytest
       pytest-cov
       pytest-mock

[testenv:flake8]
deps =
    flake8==2.3.0
    pep8==1.6.2
commands =
    flake8 cookiecutter

[testenv:cov-report]
commands = py.test --cov=cookiecutter --cov-report=term --cov-report=html

[tox]
envlist = py27, py33, py34, pypy, flake8

[testenv]
passenv = LC_ALL, LANG
commands = py.test --cov=cookiecutter {posargs:tests}
deps = pytest
       pytest-cov
       pytest-mock

[testenv:flake8]
deps =
    flake8==2.3.0
    pep8==1.6.2
commands =
    flake8 cookiecutter tests

[testenv:cov-report]
commands = py.test --cov=cookiecutter --cov-report=term --cov-report=html

Add tests subdirectory to flake8 testenv
Add tests subdirectory to flake8 testenv
