E1120 also gives lots and lots of false positives. Let's
suppress them.

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 utils/run_pylint.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/run_pylint.py b/utils/run_pylint.py
index 3c3e225..40ad495 100755
--- a/utils/run_pylint.py
+++ b/utils/run_pylint.py
@@ -58,10 +58,10 @@ blacklist = ['/contrib/*', '/frontend/afe/management.py']
 # * DB model objects (scheduler models are the worst, but Django models also
 #   generate some errors)
 if pylint_version >= 0.21:
-    pylint_base_opts = ['--disable=W,R,C,E1101,E1103']
+    pylint_base_opts = ['--disable=W,R,C,E1101,E1103,E1120']
 else:
     pylint_base_opts = ['--disable-msg-cat=warning,refactor,convention',
-                        '--disable-msg=E1101,E1103']
+                        '--disable-msg=E1101,E1103,E1120']
 pylint_base_opts += ['--reports=no',
                      '--include-ids=y']
 
-- 
1.7.6

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to