1
0
Fork 0

tox: Add enviroment to apply 'yapf' and 'isort' suggested changes

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
merge-requests/381/head
Vasilis Tsiligiannis 2019-05-09 18:38:47 +03:00
parent 811b3a8a8f
commit 6ba9a0428a
1 changed files with 11 additions and 0 deletions

11
tox.ini
View File

@ -13,12 +13,23 @@ deps =
skip_install = True
commands = isort -rc -c -df
[testenv:isort-apply]
deps =
isort==4.3.17
commands = isort -rc -y
[testenv:yapf]
deps =
yapf==0.27.0
skip_install = True
commands = yapf -d -r .
[testenv:yapf-apply]
deps =
yapf==0.27.0
skip_install = True
commands = yapf -i -r .
[testenv:build]
skip_install = True
commands =