mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
* add auto-format-code * add github remote * add GITHUB_TOKEN to the remove url * select Yunohost:dev * force push as it's only a code format * pull before running black * working on a clean directory * pull before push? /o\ * do not clone single branch * a last one? * only on dev branch
13 lines
487 B
INI
13 lines
487 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 --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
|