From 86106137fc9b9976f9c0ec5d8be9017619081515 Mon Sep 17 00:00:00 2001 From: andrei Date: Fri, 27 Oct 2017 17:39:05 -0700 Subject: [PATCH] Add flake8 to travis --- .flake8 | 3 +++ .travis.yml | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..09513de --- /dev/null +++ b/.flake8 @@ -0,0 +1,3 @@ +[flake8] +max-line-length = 120 +ignore=C408,C815,A003 diff --git a/.travis.yml b/.travis.yml index ec028e6..8e3c1e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,9 @@ python: - '3.6' install: - - pip install -U pip setuptools pytest + - pip install -U pip setuptools + - pip install -U pytest flake8-tuple flake8-quotes flake8-comprehensions flake8-commas flake8-builtins -script: 'python setup.py test' +script: + - python setup.py test + - flake8 disco/