From 528907e0fe7342778603034bde802aeca4666647 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Fri, 22 Jun 2018 09:27:34 +0000 Subject: [PATCH] Ignore E3xx --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 535c9084..b49f776f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,8 @@ before_script: # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + # ignore E3xx errors, Twisted has different empty line convention + - flake8 . --count --ignore=E3 --exit-zero --max-complexity=10 --max-line-length=127 --statistics # - twistedchecker --pep8=y -d W9001,W9002 cowrie twisted.plugins # Twistedchecker has some version issues, disable for now script: PYTHONPATH=${TRAVIS_BUILD_DIR} trial cowrie