Fix Python code style for inventory_builder (#5362)

This commit is contained in:
Maxime Guyot
2019-12-05 10:48:32 +01:00
committed by Kubernetes Prow Robot
parent f7aea8ed89
commit 401d441c10
4 changed files with 18 additions and 13 deletions

View File

@@ -42,10 +42,14 @@ syntax-check:
tox-inventory-builder:
stage: unit-tests
extends: .job
before_script:
- ./tests/scripts/rebase.sh
- apt-get update && apt-get install -y python3-pip
- update-alternatives --install /usr/bin/python python /usr/bin/python3 10
- python -m pip install -r tests/requirements.txt
script:
- pip install tox
- pip3 install tox
- cd contrib/inventory_builder && tox
when: manual
except: ['triggers', 'master']
markdownlint: