From 431daa1f8e95ebd36a08df9d1ed1f0526311e7f7 Mon Sep 17 00:00:00 2001 From: Ace Pace Date: Fri, 1 May 2020 13:02:41 +0300 Subject: [PATCH] Reduce number of flake8 warnings to 100. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4400f7e9e..3b5a59f6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ script: ## Display the linter issues - cat flake8_warnings.txt ## Make sure that we haven't increased the amount of warnings. -- PYTHON_WARNINGS_AMOUNT_UPPER_LIMIT=190 +- PYTHON_WARNINGS_AMOUNT_UPPER_LIMIT=100 - if [ $(tail -n 1 flake8_warnings.txt) -gt $PYTHON_WARNINGS_AMOUNT_UPPER_LIMIT ]; then echo "Too many python linter warnings! Failing this build. Lower the amount of linter errors in this and try again. " && exit 1; fi ## Run unit tests