From 5a623b486cdb0667d9b4b3009ca0924ea42599d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 5 Feb 2019 17:28:44 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Adding=20flake8=20to=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 1 + setup.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 061110fe8..65dfaebfa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ install: - pip install -e .[develop] script: - nosetests --with-doctest +- flake8 --ignore=D,E,W,F401 src/ tests setup.py sudo: false git: depth: 250 diff --git a/setup.py b/setup.py index cf09e0a89..e2414c7eb 100644 --- a/setup.py +++ b/setup.py @@ -75,6 +75,9 @@ EXTRA_REQUIRES = dict( "nose>=1.3.7,<1.4", "ddt", + # linter + "flake8", + # Documentation dependencies "sphinx>=1.6,<1.7", "sphinxcontrib-httpdomain",