From de6112f7565543497aa1d536a854cffed94b9dbc Mon Sep 17 00:00:00 2001 From: cclauss Date: Mon, 15 Jul 2019 19:29:58 +0200 Subject: [PATCH] Lint Python code for syntax errors and undefined names Lint Python code for issues like #4741 and #4762. --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 649c6a6190..ad574c2768 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,12 @@ language: go os: linux -sudo: required -go: - - 1.x +matrix: + include: + - go: 1.x + - language: python + before_install: pip install flake8 + script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics before_install: - sudo apt-get install -y libvirt-dev