From 8d2125f654268fa2b80c86af3b51b63fa02f6a69 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 3 Sep 2019 13:50:47 +0200 Subject: [PATCH] Enable literal-comparison linter again The literal comparison linter checks for "value is 0" or "value is ''". Related: https://pagure.io/freeipa/issue/8057 Signed-off-by: Christian Heimes Reviewed-By: Florence Blanc-Renaud --- pylintrc | 1 - 1 file changed, 1 deletion(-) diff --git a/pylintrc b/pylintrc index 7b2530813..741e52d26 100644 --- a/pylintrc +++ b/pylintrc @@ -92,7 +92,6 @@ disable= singleton-comparison, len-as-condition, # new in pylint 1.7 no-else-return, # new in pylint 1.7 - literal-comparison, # new in pylint 1.7 single-string-used-for-slots, # new in pylint 1.7 useless-super-delegation, # new in pylint 1.7 redefined-argument-from-local, # new in pylint 1.7