# HG changeset patch # User Pawel Solyga # Date 1232467435 0 # Node ID 1b9604b95eeb74c1094c79e3081ed41bc872b174 # Parent 1a20acbfbc882fdd6c921fcc339e8bfe427fad25 Disable R0201 message in pylintrc since we allow for that kind of methods. R0201 tells us that method could be a function. Used when a method doesn't use its bound instance, and so could be written as a function. Patch by: Pawel Solyga Review by: to-be-reviewed diff -r 1a20acbfbc88 -r 1b9604b95eeb scripts/pylint/pylintrc --- a/scripts/pylint/pylintrc Tue Jan 20 16:00:19 2009 +0000 +++ b/scripts/pylint/pylintrc Tue Jan 20 16:03:55 2009 +0000 @@ -61,7 +61,9 @@ # W0212: Access to a protected member %s of a client class Used when a protected member # (i.e. class member with a name beginning with an underscore) is access outside the class # or a descendant of the class where it's defined. -disable-msg=W0613,W0622,W0232,W0142,W0102,W0212 +# R0201: Method could be a function. Used when a method doesn't use its bound instance, and so +# could be written as a function. +disable-msg=W0613,W0622,W0232,W0142,W0102,W0212,R0201 [REPORTS]