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",