From cf78224b9a03f8745ecf9842664264d6818ee7c0 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 21 Apr 2019 12:06:37 +0200 Subject: [PATCH] Use ==/!= to compare str, bytes, and int literals --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 28d37e98..b556e45a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: - pip install flake8 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 + - flake8 . --count --select=E9,F63,F72,F82 --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 script: