[tox]
envlist = py27,py26,flake8

[testenv]
deps =
  pytest
  -rrequirements.txt
commands = py.test {posargs} --doctest-modules

[testenv:flake8]
deps =
  flake8
  -rrequirements.txt
commands = flake8

[flake8]
ignore = E501
exclude = abusehelper/contrib

[pytest]
testpaths = abusehelper/core
addopts = --doctest-modules

[tox]
envlist = py27,py26,flake8

[testenv]
deps =
  pytest
  -rrequirements.txt
commands = py.test {posargs} --doctest-modules

[testenv:flake8]
deps =
  flake8
  -rrequirements.txt
commands = flake8

[flake8]
ignore = E501
exclude = ./build,./abusehelper/contrib

[pytest]
testpaths = abusehelper/core
addopts = --doctest-modules

Set flake8 to exclude ./build
Set flake8 to exclude ./build
