From 24e19cdfa56f068fa84fb56a8c59ba0f7cfbd696 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 9 Jan 2017 11:13:29 +0530 Subject: [PATCH] Add flake8 tests to Travis --- .travis.yml | 1 + setup.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 41dd20d16..2c065d415 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,3 +35,4 @@ before_script: - python setup.py build --debug $ASAN_ARG script: - LD_PRELOAD=$ASANLIB python setup.py test + - flake8 . diff --git a/setup.cfg b/setup.cfg index 1fd489337..d474ad836 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,3 @@ [flake8] max-line-length = 160 +exclude==template.py,linux-package