From a9688b61f817abd154745cccae0ab8d1923ab85b Mon Sep 17 00:00:00 2001 From: Michele Tartara Date: Tue, 24 Sep 2013 14:22:59 +0000 Subject: [PATCH] Prevent static field checking for dynamic classes In order to check for the correctness of the accesses to fields of objects, pylint uses astng, but this is known to fail on some dynamically generated classes. Still, newer pylint versions are stricter at performing this check, and therefore fail while testing our codebase. Disable the checking of a few selected classes that incur in this problem. Signed-off-by: Michele Tartara Reviewed-by: Thomas Thrainer --- pylintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/pylintrc b/pylintrc index daea649..4fdec6e 100644 --- a/pylintrc +++ b/pylintrc @@ -43,6 +43,7 @@ bad-functions = xrange ignore-mixin-members = yes zope = no acquired-members = +ignored-classes = sha1,md5,Popen,ChildProcess [VARIABLES] init-import = no -- 1.7.10.4