yunohost/tox.ini
2021-02-02 14:14:36 +01:00

13 lines
497 B
INI

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