Update tox.ini to python3 only

This commit is contained in:
Alexandre Aubin 2020-12-30 22:00:06 +01:00
parent 177957138c
commit 6b1fed53d6

View file

@ -1,12 +1,12 @@
[tox]
envlist = py{27,37}-{lint,invalidcode},py37-black
envlist = py37-{lint,invalidcode},py37-black
[testenv]
skip_install=True
deps =
py{27,37}-{lint,invalidcode}: flake8
py37-{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-lint: flake8 src doc data tests --ignore E402,E501 --exclude src/yunohost/vendor
py37-invalidcode: flake8 src data --exclude src/yunohost/tests,src/yunohost/vendor --select F
py37-black: black --check --diff src doc data tests