From f385d0ca09cf5076d602b6d585c1f06e84b757fe Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Fri, 3 May 2013 22:01:41 +0900 Subject: [PATCH] Disable warnings related to imports in pylint config There are several modules that have imports to support various versions of Python. Pylint reports the following errors when run in a version of Python that does not have the module or the method/class in the module. F0401: Unable to import 'module' E0611: No name 'name' in module 'module' Disable these warnings to reduce the noise on the output. Change-Id: I97e7e2698bccb1e501a45a0869f97f90d54adfb7 --- .pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 9e8882ee..e0b1f116 100644 --- a/.pylintrc +++ b/.pylintrc @@ -53,7 +53,7 @@ load-plugins= enable=RP0004 # Disable the message(s) with the given id(s). -disable=R0903,R0912,R0913,R0914,R0915,W0141,C0111,C0103,W0603,W0703,R0911,C0301,C0302,R0902,R0904,W0142,W0212,E1101,E1103,R0201,W0201,W0122,W0232,RP0001,RP0003,RP0101,RP0002,RP0401,RP0701,RP0801 +disable=R0903,R0912,R0913,R0914,R0915,W0141,C0111,C0103,W0603,W0703,R0911,C0301,C0302,R0902,R0904,W0142,W0212,E1101,E1103,R0201,W0201,W0122,W0232,RP0001,RP0003,RP0101,RP0002,RP0401,RP0701,RP0801,F0401,E0611 [REPORTS]