From 9ae096b87e8155a13eb8417e6c4c66a5d682ed83 Mon Sep 17 00:00:00 2001 From: cclauss Date: Mon, 1 Jul 2019 13:25:38 +0200 Subject: [PATCH] Travis CI: Discover Python syntax errors and undefined names --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index d0b6a04..d915813 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,3 +26,8 @@ matrix: exclude: - os: linux compiler: clang + include: + - language: python + before_install: pip install flake8 + before_script: true + script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics