From 38528ca4d6c440887940000ac527f23f03dcf02e Mon Sep 17 00:00:00 2001 From: Sourav Banerjee Date: Mon, 30 Oct 2017 20:02:45 +0530 Subject: [PATCH] Prevent flake8 errors from getting suppressed Flake8 errors, if present, do not show up if run_tests.sh is used. It is used by Jenkins on creation of a pull request, upon which the tests fail without flake8 specific information showing up in the log. Adding PYTHONUNBUFFERED=1 before the flake8 command in run_tests.sh solves this problem. Change-Id: I040873b859cca7c0500bd7d600d8de6121cc70a5 Closes-Bug: #1747420 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 80ee020..d11dfc6 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -5,4 +5,4 @@ nosetests --exclude=mysql nosetests --where=quark/tests/functional/mysql nosetests --exclude=mysql --cover-package=quark --cover-erase -flake8 --show-source --builtins=_ quark +PYTHONUNBUFFERED=1 flake8 --show-source --builtins=_ quark