[tox]
envlist = py{27,37}-{lint,invalidcode},py37-black

[testenv]
skip_install=True
deps =
  py{27,37}-{lint,invalidcode}: flake8
  py37-black: black
commands =
        py{27,37}-lint: flake8 src doc data tests
        py{27,37}-invalidcode: flake8 src data --exclude src/yunohost/tests --select F --ignore F401,F841
        py37-black: black --check --diff src doc data tests
[tox]
envlist = py{27,37}-{lint,invalidcode},py37-black

[testenv]
skip_install=True
deps =
  py{27,37}-{lint,invalidcode}: flake8
  py37-black: black
commands =
        py{27,37}-lint: flake8 src doc data tests --ignore E402,E501 --exclude src/yunohost/vendor
        py{27,37}-invalidcode: flake8 src data --exclude src/yunohost/tests,src/yunohost/vendor --select F
        py37-black: black --check --diff src doc data tests

Update flake8 lint test policy
Update flake8 lint test policy
