Lint Python code for syntax errors and undefined names

Lint Python code for issues like  #4741 and  #4762.
pull/4763/head
cclauss 2019-07-15 19:29:58 +02:00
parent fccc77cacb
commit de6112f756
1 changed files with 6 additions and 3 deletions

View File

@ -1,9 +1,12 @@
language: go language: go
os: linux os: linux
sudo: required
go: matrix:
- 1.x include:
- go: 1.x
- language: python
before_install: pip install flake8
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
before_install: before_install:
- sudo apt-get install -y libvirt-dev - sudo apt-get install -y libvirt-dev