Disable R0801 messages in pylintrc. R0801 messages indicates that a set of similar lines has been detected among multiple file. This usually means that the code should be refactored to avoid this duplication but in our case it's useless since it shows a lot of imports code or authors.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Tue, 20 Jan 2009 21:00:55 +0000
changeset 848 07fd6a603c24
parent 847 b1077116fe59
child 849 c193ac0ef593
Disable R0801 messages in pylintrc. R0801 messages indicates that a set of similar lines has been detected among multiple file. This usually means that the code should be refactored to avoid this duplication but in our case it's useless since it shows a lot of imports code or authors. Patch by: Pawel Solyga Review by: to-be-reviewed
scripts/pylint/pylintrc
--- a/scripts/pylint/pylintrc	Tue Jan 20 20:52:12 2009 +0000
+++ b/scripts/pylint/pylintrc	Tue Jan 20 21:00:55 2009 +0000
@@ -63,7 +63,10 @@
 #        or a descendant of the class where it's defined.
 # 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
+# R0801: Similar lines in %s files. Indicates that a set of similar lines has been detected 
+#        among multiple file. This usually means that the code should be refactored to avoid this
+#        duplication.
+disable-msg=W0613,W0622,W0232,W0142,W0102,W0212,R0201,R0801
 
 
 [REPORTS]