[tox]
envlist =
    py{27,34,35,36,37}-django111
    py{34,35,36,37}-django20
    py{35,36,37}-django21
    lint

[testenv]
commands = py.test {posargs}
extras = test
pip_pre = true
deps =
    django111: django>=1.11,<2.0
    django20: django>=2.0,<2.1
    django21: django>=2.1
    appdirs==1.4.3
    py27: mock==2.0.0

[testenv:lint]
basepython = python3.6
deps =
    flake8
commands =
    flake8 django_migration_linter

[tox]
envlist =
    py{27,34,35,36,37}-django111
    py{34,35,36,37}-django20
    py{35,36,37}-django21
    lint

[testenv]
commands = py.test {posargs}
extras = test
pip_pre = true
deps =
    django111: django>=1.11,<2.0
    django20: django>=2.0,<2.1
    django21: django>=2.1
    appdirs==1.4.3
    py27: mock==2.0.0

[testenv:lint]
basepython = python3.6
deps =
    flake8
    black
commands =
    flake8 --max-line-length=88 django_migration_linter
    black --check django_migration_linter

Add black to lint tests and increase line length for flake8
Add black to lint tests and increase line length for flake8
