diff --git a/.travis.yml b/.travis.yml index f22281c11..b486a2df6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ install: - pip install -e .[develop] script: - test -n "$RUN_FLAKE8" || pytest -- test -z "$RUN_FLAKE8" || flake8 --ignore=D,E,W,F401,F523 src/ tests setup.py +- test -z "$RUN_FLAKE8" || flake8 src/ tests setup.py sudo: false git: depth: 250 diff --git a/setup.cfg b/setup.cfg index 24ae4b6df..6f5421829 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,3 +12,13 @@ versionfile_build = octoprint/_version.py tag_prefix = parentdir_prefix = lookupfile = .versioneer-lookup + +[flake8] +ignore = + D + E + W + F401 + F523 +exclude = + src/octoprint/vendor