[tox]
envlist = py35,flake8
skipsdist = True

[testenv]
deps =
  pytest==3.0.5
  coverage==4.2
commands =
  coverage run -m pytest {posargs}
  coverage report -m
  coverage html

# Linters
[testenv:flake8]
basepython = python3.5
deps =
  flake8==3.2.1
commands =
  flake8 {posargs} .

# Other tools
[flake8]
exclude =
  .cache/,
  .git/,
  .tox/,
  __pycache__/,
  htmlcov/,
  venv/,
  tests/packages,
  semver.py,
max-line-length=100

[tox]
envlist = py35,flake8
skipsdist = True

[testenv]
deps =
  pytest==3.0.5
  coverage==4.2
commands =
  coverage run -m pytest {posargs}
  coverage report -m
  coverage html

# Linters
[testenv:flake8]
basepython = python3.5
deps =
  flake8==3.2.1
commands =
  flake8 {posargs} .

# Other tools
[flake8]
exclude =
  ./.*,
  __pycache__/,
  htmlcov/,
  venv/,
  tests/packages,
  semver.py,
max-line-length=100

Work around for flake8 "issue"
Work around for flake8 "issue"
