Commit 6a2fde91 authored by Vasilis Tsiligiannis's avatar Vasilis Tsiligiannis

tox: Remove separate 'yapf' envs for different Python versions

Signed-off-by: Vasilis Tsiligiannis's avatarVasilis Tsiligiannis <acinonyx@openwrt.gr>
parent 0226fe14
......@@ -9,14 +9,14 @@ static_python:
before_script:
- pip install tox~=3.8.0
script:
- tox -e "py2-{flake8,yapf,pylint}"
- tox -e "py2-flake8,yapf,py2-pylint"
static_python3:
stage: static
image: python:3
before_script:
- pip install tox~=3.8.0
script:
- tox -e "py3-{flake8,yapf,pylint}"
- tox -e "py3-{flake8,pylint}"
static_robot:
stage: static
image: python:2
......
[tox]
envlist = {py2,py3}-{flake8,yapf,pylint,build},robot_lint,py2,py3
envlist = {py2,py3}-flake8,yapf,{py2,py3}-{pylint,build},robot_lint,py2,py3
[testenv:py2-flake8]
deps =
......@@ -13,13 +13,7 @@ deps =
skip_install = True
commands = flake8
[testenv:py2-yapf]
deps =
yapf==0.27.0
skip_install = True
commands = yapf -d -r .
[testenv:py3-yapf]
[testenv:yapf]
deps =
yapf==0.27.0
skip_install = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment