tox: Add enviroment to apply 'yapf' and 'isort' suggested changes
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>merge-requests/381/head
parent
811b3a8a8f
commit
6ba9a0428a
11
tox.ini
11
tox.ini
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue