From 22db3d77f73ad141f706f1fcd9bd9ea3db7c399d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 13 Feb 2018 09:31:05 +0100 Subject: [PATCH] daca2-report.py: fixed pep8 warning 'E713 test for membership should be 'not in'' --- tools/daca2-report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/daca2-report.py b/tools/daca2-report.py index 6cec33ae7..6ba0e86c2 100644 --- a/tools/daca2-report.py +++ b/tools/daca2-report.py @@ -133,7 +133,7 @@ for lib in (False, True): if messageId == 'syntaxError': continue totalNumber[severity] = totalNumber[severity] + 1 - if not messageId in categories[severity]: + if messageId not in categories[severity]: categories[severity].append(messageId) mainpage.write(