[tox]
envlist = py34,py35,py36

[testenv:style]
extras = test
commands =
    flake8 feeds
    black --check feeds
    isort --check-only -rc feeds

[testenv:docs]
extras = doc
commands =
    rst-lint README.rst
    doc8 docs/
    sphinx-build -W -b html docs/ docs/_build/
    python setup.py check --metadata --restructuredtext --strict

[tox]
envlist = py34,py35,py36

[testenv:style]
# Black requires Python 3.6+
basepython = python3.6
extras = test
commands =
    flake8 feeds
    black --check feeds
    isort --check-only -rc feeds

[testenv:docs]
extras = doc
commands =
    rst-lint README.rst
    doc8 docs/
    sphinx-build -W -b html docs/ docs/_build/
    python setup.py check --metadata --restructuredtext --strict

Use Python3.6 as base for style checks
Use Python3.6 as base for style checks
