# TOX Setup
[tox]
envlist =
    pep8
    py27
    py34
    py35
    py36
    py37

[testenv]
deps =
    -U
    -rrequirements-dev.txt
    pytest
    pytest-cov
    coverage
    codecov
    mock
setenv =
    HOME = {toxworkdir}

passenv = CI TRAVIS TRAVIS_*

whitelist_externals =
    git
    bash
    rm
commands =
    git submodule sync -q
    git submodule update --init
    rm -rf {toxworkdir}/.viper
    bash -c \'echo "exit" | python viper-cli\'
    pytest
    codecov
    rm -r {toxworkdir}/.viper


# Style/Lint
[testenv:pep8]
deps = flake8
commands = flake8 .


# Flake8 Configuration
[flake8]
max-line-length = 200

exclude =
    .tox,
    .git,
    .build,
    __pycache__,
    docs/source/conf.py,
    build,
    dist,
    old,
    tests/fixtures/*,
    *.pyc,
    *.egg-info,
    .cache,
    .eggs,
    viper/modules/pymacho_helper,
    viper/modules/pdftools

# TOX Setup
[tox]
envlist =
    pep8
    py27
    py34
    py35
    py36
    py37

[testenv]
deps =
    -U
    -rrequirements-dev.txt
    pytest
    pytest-cov
    coverage
    codecov
    mock
    setuptools_scm
setenv =
    HOME = {toxworkdir}

passenv = CI TRAVIS TRAVIS_*

whitelist_externals =
    git
    bash
    rm
commands =
    git submodule sync -q
    git submodule update --init
    rm -rf {toxworkdir}/.viper
    bash -c \'echo "exit" | python viper-cli\'
    pytest
    codecov
    rm -r {toxworkdir}/.viper


# Style/Lint
[testenv:pep8]
deps = flake8
commands = flake8 .


# Flake8 Configuration
[flake8]
max-line-length = 200

exclude =
    .tox,
    .git,
    .build,
    __pycache__,
    docs/source/conf.py,
    build,
    dist,
    old,
    tests/fixtures/*,
    *.pyc,
    *.egg-info,
    .cache,
    .eggs,
    viper/modules/pymacho_helper,
    viper/modules/pdftools

Add dependency required by python 3.7
Add dependency required by python 3.7
